dannote

dannote / folio

Public

Print-quality PDF/SVG/PNG from Markdown + Elixir, powered by Typst

23
2
100% credibility
Found Apr 26, 2026 at 23 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Elixir
AI Summary

Folio is an Elixir package for creating high-quality PDFs, SVGs, and PNGs from Markdown descriptions combined with dynamic data from your application.

How It Works

1
🔍 Discover Folio

You need beautiful PDFs for reports or invoices from your app's data and find Folio, a tool that makes it simple.

2
📦 Add to your project

You easily include Folio in your Elixir app so it's ready to use right away.

3
✍️ Describe your document

You write a simple description using everyday words mixed with your live data like order details or numbers.

4
🎨 Create the PDF

With one easy call, Folio turns your description into a professional PDF, complete with tables, math, and perfect layout.

5
⚙️ Customize the look

You adjust things like page size, fonts, or colors to match your style perfectly.

6
📤 Export other formats

You get SVGs or high-res images too, all from the same description.

Share your documents

Your reports and invoices look print-ready and professional, saving you time and hassle.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 23 to 23 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 folio?

Folio is an Elixir library for generating print-quality PDFs, SVGs, or PNGs from Markdown blended with live Elixir data, powered by Typst's layout engine. It solves the pain of stitching runtime data—like Ecto queries or API responses—into polished documents without temp files, external processes, or template strings. Drop it into Phoenix apps via `Folio.to_pdf(~MD"# Invoice #{order.id}"p)` for instant, typography-rich output with math, tables, and shapes.

Why is it gaining traction?

It bypasses Typst's full parser for a pure Elixir DSL of composable structs, dodging syntax errors and injection risks while enabling reusable components like KPI cards from functions. Batch 10k invoices? Shared fonts and dirty schedulers make it fly, unlike Chrome-spawning rivals. Precompiled NIFs for major platforms mean no Rust toolchain—pure `mix deps.get` bliss for elixir folio library github fans.

Who should use this?

Phoenix backend devs cranking invoices, reports, or certificates from database snapshots. Elixir teams ditching ChromicPDF's process overhead for Typst-grade kerning and math in dynamic PDFs. Developer folio github hunters building data-driven print without HTML/CSS hacks.

Verdict

Grab it for runtime PDF gen in Elixir—killer docs, intuitive API, zero deps—but 23 stars and 1.0% credibility scream early alpha: prod-test rigorously. Beats manual libs for pro layout; skip if you need battle-tested scale.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.