cosmiciron

cosmiciron / vmprint

Public

A pure-JS, zero-dependency typesetting engine that yields bit-perfect PDF output across any runtime—from Cloudflare Workers to the browser. Stop using Headless Chrome to print text.

95
2
100% credibility
Found Mar 02, 2026 at 95 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

VMPrint is a lightweight tool that generates identical, high-quality PDFs from plain text documents like Markdown or structured notes, ensuring consistent typesetting across any device or service.

How It Works

1
💡 Discover VMPrint

You hear about a tool that creates perfect, beautiful PDFs from your writing, always looking the same no matter where you use it.

2
📝 Write your document

Type your story, screenplay, or notes in simple everyday text, just like writing an email.

3
🎨 Choose your style

Pick a ready-made look, like screenplay format or polished book layout, to match what you need.

4
Create your PDF

Press a button to turn your words into a stunning, professional document that prints perfectly every time.

5
📤 Review and tweak

Open the PDF, admire the precise layout, and make tiny changes if needed.

🎉 Share perfection

Send your flawless document to friends, producers, or readers, knowing it looks amazing everywhere.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 95 to 95 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is vmprint?

vmprint is a pure-JS, zero-dependency TypeScript typesetting engine that generates bit-perfect PDF output across any runtime—from Cloudflare Workers to the browser. It takes structured JSON documents or Markdown input and handles precise layout, pagination, multilingual text shaping, and tables, producing identical results every time. Stop using headless Chrome or heavy libraries to print text; this core-js pure GitHub tool delivers deterministic PDFs without Node.js or DOM assumptions.

Why is it gaining traction?

Unlike Puppeteer or PDFKit, which force manual pagination or drift across environments, vmprint separates layout into a diffable JSON stream you can snapshot for tests, then renders to PDF (or future SVG/canvas). Its 88 KiB core crushes complex docs in milliseconds on edge runtimes, with CLI flags like `--emit-layout` for inspection and `--render-from-layout` for caching. Multilingual support—from CJK justification to partial RTL—ensures pro-grade output without compromises.

Who should use this?

Backend devs building serverless PDF APIs on Cloudflare or Lambda, who hate Chrome's cold starts and memory hogs. Docs teams generating open-source readmes, academic papers, or screenplays from Markdown via the draft2final CLI. Anyone needing reproducible typesetting for reports, invoices, or books without LaTeX hassle.

Verdict

Grab it for edge PDF gen now—CLI and API are solid for prototypes—but at 95 stars and 1.0% credibility, treat as pre-1.0 alpha with good regression tests. Watch for full bidi and more formats.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.