Local CLI · 16:9 PNG
Text in.
Card out.
Auto-fitted titles, body copy, and bullets into clean 1920×1080 cards — from your terminal.
Real output · 1920×1080 · bundled Inter fonts
Install
One command. Zero servers.
Fully local. No browser, no backend, no idle process. Sub-second renders on a typical laptop.
# preferred npm i -g txt2card txt2card title "Ship faster" txt2card bullets "One" "Two" "Three" # full name still works text-to-card title "Hello"
Output lands in cards/card_YYYY_MM_DD_HH_mm_ss_Slug.png by default.
Override with -o path.png.
Templates
Four layouts. Auto-fit type.
Title, text, description, and bullets — each scales content to fit safe margins.
Why
Built for agents and humans who ship slides of text.
-
01
Local only
Sharp + bundled fonts. No Chromium. No network call to render a card.
-
02
Same look everywhere
Inter ships in the package so macOS, Linux, and Windows match.
-
03
Predictable names
cards/card_YYYY_MM_DD_HH_mm_ss_Slug.png— easy for scripts and agents. -
04
Agent-ready
Skill included for Codex and similar tools:
skills/text-to-card.
Make a card in under a second.
Open source under MIT. Install from npm or clone the repo.