Themes
Your text in every theme. Click one to use it: { ...defaultStyle, ...themes.warm }
Examples
Three blog posts, four patterns each: the same title gives a different cover with different options. Seed and salt follow your settings above; nothing is random between renders.
Usage
Cover (any runtime)
import { createCover, coverToSvg } from 'munui';
const cover = await createCover(`${title}\n${body}`);
const svg = coverToSvg(cover);
// Put the title on top yourself:
// color: cover.inkOpen Graph PNG (Node + sharp)
import { createOgImage } from 'munui/og';
const png = await createOgImage({
title, cover,
fontfile: './fonts/NotoSansKR.ttf',
font: 'Noto Sans KR',
fontSize: 96, // optional
});