Code repository OG Image Template

For open-source projects and code libraries. The design is our own neutral card, not any hosting site's look.

https://unfurlkit.com/v1/repo.png?repo=your-org%2Fyour-repo&description=Your%20repository%20description&language=Rust&theme=dark

The values in Your … form are placeholders: replace them with your own. Add stars and forks with your repo's real counts.

Output: 1200×630 PNG. Every text field is trimmed to its limit, then to its number of lines, ending in "…". Letters that hang below the line (g, j, p, y) are never cut off.

Parameters

ParamRequiredWhat it doesAccepted values
repoyesowner/name, like vercel/satori.Like vercel/satori.
descriptionnoWhat the project does, in a sentence.Text. Up to 200 characters, 3 lines on the image; longer text is trimmed with "…", not rejected.
topicnoA topic tag, like image or og. Repeat the param for up to four. Up to 4 times.Text. Up to 24 characters, 1 line on the image; longer text is trimmed with "…", not rejected.
languagenoShown with a coloured dot.Text. Up to 24 characters, 1 line on the image; longer text is trimmed with "…", not rejected.
starsnoShown as 1,284 or 12.3k.A whole number from 0 to 99,999,999, digits only.
forksnoShown as 96 or 1.2k.A whole number from 0 to 99,999,999, digits only.
themenodark (the default) or light.dark or light.
accentnoThe highlight colour, as 6 hex characters (a leading # is fine). Default 7c3aed.6 hex characters, no #.
avatarnoA round picture next to the owner's name. Pro only. Ignored (not an error) on Free and unsigned links.An https URL to a PNG, JPEG or GIF (up to 2 MB, 4096 px a side).
bg_imagenoA photo behind the card, cropped to fill it, with a dark (or, on the light theme, light) scrim so the text stays readable. Pro only. Ignored (not an error) on Free and unsigned links.An https URL to a PNG, JPEG or GIF (up to 2 MB, 4096 px a side).
vnoAny text. Change it to make a fresh image (a cache-buster).Any text.
fontnoOne of the bundled fonts, for all text on the image. Pro only. Ignored (not an error) on Free and unsigned links.One of: inter, roboto, playfair-display, jetbrains-mono.
k, sProYour public key and the URL's signature. See Signing Pro URLs.From your account.

A missing or empty repo returns 400 as an error image (“missing repo”), so it shows where the preview would. Any other problem returns 400 with a plain-text body: the first line names the param, the second says how to fix it. For example:

invalid param: repo
repo must be written owner/name, like vercel/satori, using letters, numbers, - . and _ (owner up to 39 characters).

Good to know

  • repo is required and must be owner/name.
  • stars and forks are plain digits (1284, not 1,284). They show as 1,284 below ten thousand, then 12.3k and 1.2M.
  • The numbers are whatever you put in the URL; Unfurlkit doesn't look them up. Update the link (or v) to refresh them.
  • Right-to-left scripts such as Arabic and Hebrew aren't supported yet at launch.

Plans

Every image URL needs your key. A Free key gets 10 renders in total (no monthly reset), with a small "unfurlkit" watermark in the bottom-right corner, and needs no card. Pro ($9/mo or $90/yr) gets 10,000 renders a month and no watermark. See pricing.

The repo template, rendered

Real images from /v1/repo.png. Unfurlkit doesn't look anything up: the card shows exactly what's in the URL.

Dark project card: vercel / satori, Turns HTML and CSS into SVG. The engine behind @vercel/og., TypeScript.
A real open-source project: Satori, the library @vercel/og uses to draw images. No star count shown, since numbers in the URL aren't looked up.
Image link
https://unfurlkit.com/v1/repo.png?repo=vercel%2Fsatori&description=Turns%20HTML%20and%20CSS%20into%20SVG.%20The%20engine%20behind%20%40vercel%2Fog.&language=TypeScript
Light project card with sample values: your-org / your-repo, TypeScript, 48.2k stars, 1.3k forks.
Sample values (not a real project): big numbers shorten, so 48213 stars shows as 48.2k.
Image link
https://unfurlkit.com/v1/repo.png?repo=your-org%2Fyour-repo&description=Sample%20description%20for%20your%20project&language=TypeScript&stars=48213&forks=1250&theme=light&accent=d97706

Updated 2026-10-22

Try it freePricing