muvon/ui-fonts

Tool

ui-fonts - Inter and JetBrains Mono variable fonts for rendered cards, previews, and UI mockups

check: test -s "${OCTOMIND_FONTS_DIR:-$HOME/.local/share/octomind/fonts}/Inter.ttf" https://github.com/google/fonts

Interface fonts for rendered cards and previews: Inter (sans, variable weight 100–900) and JetBrains Mono (mono, variable weight 100–800), both SIL Open Font License. The installer downloads them from a pinned google/fonts commit, checks each file's SHA-256, and puts them in ~/.local/share/octomind/fonts as Inter.ttf and JetBrainsMono.ttf (override the directory with OCTOMIND_FONTS_DIR). The social-preview renderer always searches that directory and ignores system fonts, so a card renders the same on every machine.

Key Commands

CommandDescription
typst fonts --ignore-system-fonts --font-path ~/.local/share/octomind/fontsList the families a renderer will see
social-preview ... --font "Inter" --mono "JetBrains Mono"The defaults the card renderer uses

Common Usage

bash
social-preview -o card.png --name acme --tagline "Two-way sync for Postgres and spreadsheets" --accent "#0969da"