EN
Back to the archive

The archive · Developer & Business Tools · Product decision · 2024–2026

Onedoc bets PDFs will be built like web apps; YC W24 launch, 2.6k stars

Open-source React components plus a paid HTML-to-PDF API, now Fileforge: Launch HN drew 293 points in 2024 and the repo reached 2.6k stars by 2026.

Onedoc

The betDevelopers will design documents in React and pay for a renderer with real typesetting quality, replacing docx, LaTeX and browser-print hacks for PDFs.Live

What the business is

Onedoc (rebranded Fileforge) makes programmatic PDFs for developers: an open-source React/TypeScript component library, react-print-pdf, for designing invoices, contracts, resumes and reports like web pages, plus a usage-priced API and Node.js SDK that render HTML to PDF with full layout control, document hosting and analytics.

How it started

The founders hit the problem while working at large firms, where they were asked to automate trade confirmations for clients' counterparties: only outdated libraries with poor layout control existed, so they built their own, 'basically bringing web technologies to PDFs.' They went through Y Combinator's Winter 2024 batch and on 2024-03-11 launched react-print-pdf plus a rendering API and Node SDK on Hacker News.

What happened

The launch thread set out the two-phase bet: design with the open-source library, then generate through the API with what-you-designed-is-what-you-get fidelity. The founders explained they used a dedicated HTML-to-PDF engine (initially an API layer on PrinceXML with polyfills) rather than headless-browser print so typography is a first-class citizen, priced usage per document with discounts at volume, and offered free watermarked generation. Commenters pressed on cost, tagged PDFs for accessibility, SOC2 for PII-heavy documents, and competition from DocRaptor, Urlbox and WeasyPrint; early users built CV/resume, NDA and invoice generators.

How it ended up

Still live, now branded Fileforge: the 2026-09-04 crawl of OnedocLabs/react-print-pdf shows 2.6k stars, 100 forks and 531 commits, with the README presenting 'React Print — the new way to build documents' and linking Fileforge's HTML-to-PDF API, cloud hosting and analytics. The material carries no funding, revenue or shutdown figures.

Background

Onedoc, now branded Fileforge, is a developer platform for generating production PDFs: an open-source React/TypeScript component library called react-print-pdf lets developers design invoices, contracts, resumes and reports the way they build websites, and a paid API plus Node.js SDK render those designs to PDF with full layout control, document hosting and analytics.

The bet is that document production should be modernized with the tools developers already use: React components for design and a purpose-built HTML-to-PDF renderer for generation, instead of docx, LaTeX or headless-browser print hacks. The founders built their renderer to match the open-source library, promising that what you design is what you get, and monetized the generation tier with degressive per-document pricing while keeping a free, watermarked path.

The genesis was practical: working at large firms, the founders were asked to automate trade confirmations and found only outdated libraries with poor layout control, so they built their own. After Y Combinator's Winter 2024 batch, the 2024-03-11 Launch HN drew 293 points and 185 comments, where the team defended the dedicated typesetting engine, accessibility and SOC2 roadmaps, and per-document pricing. By the 2026-09-04 crawl the repo stood at 2.6k stars, 100 forks and 531 commits under the Fileforge brand.

What has to be true

  • Verifiable attention: the 2024-03-11 Launch HN drew 293 points and 185 comments, and the repo reached 2.6k stars, 100 forks and 531 commits by the 2026-09-04 crawl.
  • The bet is sharp and testable: design documents with React components, generate with a dedicated typesetting engine, and charge per rendered document rather than for the library.
  • The wedge is clear: give away the visible, familiar layer (components and templates) and sell the expensive layer — rendering, hosting, analytics — with a free watermarked tier on top.
  • The arc has an outcome a reader can verify: the open-source library kept growing for two years after launch and now fronts a rebranded commercial product, Fileforge.

What can be applied

Open-source the design layer so developers build the habit; charge for the renderer that is costly to run — the free library spreads the tool, usage pricing monetizes it.

Aftermath

As of 2026-09-05 Onedoc is still running, commercially branded Fileforge: the 2026-09-04 crawl of OnedocLabs/react-print-pdf shows 2.6k stars, 100 forks and 531 commits, and the README leads with 'React Print — the new way to build documents,' linking Fileforge's website, documentation and app for HTML-to-PDF conversion, cloud hosting and analytics. The material contains no funding, revenue, acquisition or shutdown disclosures, so how far the bet converted into a business is not verifiable from these sources.

Sources

spotted an error? The archive wants to know.

Your turn

You just read one. Describe what you are building, and see who is betting on the same thing.

Free account · 3 free questions · no card

Related cases