Design on a real canvas. Move, resize and snap layers, type straight onto the card, undo anything. What you see is the exact pixels the API returns.
Try it, no account needed
Change the fields. The preview redraws as you type, and the API renders the same card from its URL.
Design once.
Render forever.
A card is a template with a few fields. Each page fills them in through its URL, and the image is ready before anyone shares the link.
- 01
Design it once
Lay out text, shapes, gradients and images on a canvas, or start from a template.
- 02
Mark what changes
Turn on “Changes per card” for the title, author or image that differs from page to page.
- 03
Render from a URL
Every page gets its own signed link. Social sites fetch the PNG straight from it.
One renderer, in the browser and on the server.
Nobody else writes on your card. Every link carries an HMAC signature made with your own key. Change one character and it stops working.
Milliseconds, not seconds. Each image is drawn once, then served from memory or object storage. Saving a template refreshes every link.
import { buildCardUrl } from 'cardboard-url';
const image = buildCardUrl({
baseUrl: process.env.CARDBOARD_API_URL,
templateId: 'blog-post',
secret: process.env.CARDBOARD_SIGNING_KEY,
fields: { title: post.title },
});You shouldn't need a design tool for every blog post.
Opening a file, duplicating last week's card, retyping the title, exporting a PNG and uploading it: every single time you publish.
Social images are part of the page. They should be generated like the rest of it.
So design the card once. Mark the parts that change. Let each page fill them in from its own URL, and let the server draw the exact card you designed.
That's Cardboard.
Read it. Run it. Render with it.
The editor, the render API and the URL package are all in one repository, with a learning log for every milestone.