Most LinkedIn, Instagram, and X carousel generators charge $19–$29/month, upload your drafts to third-party servers, and still limit you to repetitive plain-text slides.
So I built CardCraft Studio — a completely self-contained 166 KB offline .html file with zero external dependencies that runs locally in Chrome, Safari, Edge, or Firefox (even on airplane mode).
👉 Try the Free Live Interactive Demo right in your browser (zero signup): https://cardcraft-studio.netlify.app/
Why I Ditched html2canvas and SVG foreignObject
When you build a local-first web utility meant to be double-clicked from disk (file://), the two standard "DOM-to-PNG" tricks break immediately:
-
html2canvasrequires bundling a heavy dependency and frequently mismatches CSS flexbox/font metrics across browsers. - SVG
<foreignObject>throwsSecurityError: Tainted canvases may not be exportedunderfile://origins in several browsers.
Instead, I wrote a pure HTML5 Canvas 2D layout & typography engine so the live interactive preview and the exported 2x Retina PNG share the exact same rendering pass pixel-for-pixel.
Solving Mixed CJK + Latin Line Wrapping & Inline Styling
A clean Markdown card needs **bold**, ==marker highlights==, and `inline code` spans wrapped seamlessly across mixed scripts:
- Latin words split only on word boundaries (unless a single token exceeds
maxWidth). - CJK characters break cleanly per glyph with a punctuation lookahead (
NO_LINE_START) so commas and periods never dangle awkwardly at the start of a new line. - Adjacent highlight or code tokens merge into one smooth rounded pill background per line.
7 Distinct Per-Slide Layout Engines (Not Just Color Swaps)
Generic carousel tools only swap background gradients. In CardCraft Studio, each slide inside a single deck can switch between 7 genuinely different visual skeletons:
- Magazine Hero Cover — Giant translucent issue watermark, tilted double-ring vector stamps (
SAVE THIS,TESTED), and optional full-bleed photo backdrop with frosted glass opacity. - Red vs Green VS Comparison — Write
<<< Old Wayand>>> Pro Wayto render a two-column comparison with a floating centerVSbadge. - Realistic iOS Notes — Crisp iPhone status bar, yellow
< Notesheader, lined texture, and interactive-looking- [x]/- [ ]circular checklists. - Realistic Chat Bubbles — Write
A:andB:turns for high-retention DM / conversation stories. - Step-by-Step Timeline — Vertical glowing connector track with circular step badges (
01,02,03) and elevated cards. - Bento KPI Metrics & Progress Bars — Write
::3.6x | Bookmark Lift | Verified::and[bar:95% Score]for Apple-style metric cards. - Markdown Tables & Editorial Cards — Rounded zebra-striped comparison tables straight from pipe Markdown.
Pure-JS Offline Batch ZIP Export (Zero CDNs!)
PNGs are already compressed, which means a PKZIP Store-mode (uncompressed) archive gives you instant multi-file ZIP downloads with zero compression overhead and ~70 lines of vanilla JavaScript:
- Precompute the 256-entry IEEE
CRC32table once. - Emit a 30-byte Local File Header + raw PNG bytes per slide.
- Append 46-byte Central Directory entries + the 22-byte End-of-Central-Directory record.
- Wrap in a
new Blob(..., { type: 'application/zip' })and trigger download!
Because it needs no external libraries, even the Batch CSV Factory (turn 20 posts separated by === or a .csv spreadsheet into organized post-01/, post-02/ folders in one .zip) runs 100% offline.
Try It Free (Or Own the Offline File Forever)
- Free Live Browser Demo (zero login, 1x PNG export): https://cardcraft-studio.netlify.app/
- Full Standalone Offline Pro v2.0 ($5 one-time — zero watermarks, 2x Print Retina, all 12 themes & Batch CSV Factory): https://hduuio.gumroad.com/l/wrvoom
If you're building local-first single-file HTML tools or wrestling with Canvas 2D typography, drop a comment — happy to share more implementation details!


