# ogkit.js

Client-side library for rendering HTML templates that get captured as Open Graph images by [ogkit](https://ogkit.dev).

## Usage

Include this script in your HTML pages with OG image templates. It renders the template when `?ogkit-render` is present, then ogkit captures it as an image.

```html
<template data-og-template>
  <!-- Your OG image HTML/CSS here -->
</template>
<script src="ogkit.js"></script>
```

Learn more at [ogkit.dev](https://ogkit.dev).

---

A project by [Peter Suhm](https://x.com/petersuhm).
