frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: React components for generating beautiful PDFs

https://github.com/Yoshyaes/docuforge
1•ftwum•2h ago

Comments

ftwum•2h ago
I built an open-source library of React components for creating PDF documents: invoices, reports, certificates, data tables, etc.

The problem: every time I've needed to generate a PDF in a web app, I've spent 2-3 days fighting with page breaks, orphaned headings, table overflow, and headers/footers. Whether it's Puppeteer, jsPDF, or one of the dozen hosted APIs, the DX always feels like 2014.

So I built @docuforge/react-pdf, a set of composable React components that handle the hard parts:

- Smart page breaks (no more split table rows or orphaned headings) - Auto-paginating tables with repeating headers - Headers/footers with page number interpolation - Full CSS support (Flexbox, Grid, @media print) - TypeScript-first with autocomplete for every prop

Quick example:

    import { Invoice, LineItem, InvoiceTotal } from '@docuforge/react-pdf';

    <Invoice>
      <LineItem description="Consulting" qty={10} rate={150} />
      <InvoiceTotal subtotal={1500} tax={135} total={1635} />
    </Invoice>
GitHub: https://github.com/Yoshyaes/docuforge npm: npm install @docuforge/react-pdf Docs: https://fred-7da601c6.mintlify.app/introduction

I'm also building a hosted PDF generation API on top of this (HTML or React in → PDF out, no Chrome to manage), but the component library is fully open source and works standalone with Playwright/Puppeteer.

Would love feedback on the component API design. What PDF problems have you had that this doesn't solve?

larsmosr•1h ago
I wanted to check it out but I get Application error on "Try for free"
ftwum•1h ago
Sorry, I had the wrong link on there and updated to this: https://fred-7da601c6.mintlify.app/introduction
ramgale•1h ago
Seems like it's broken
ftwum•1h ago
Sorry, I had the wrong link on there and updated to this: https://fred-7da601c6.mintlify.app/introduction

Adding internationalization to a SaaS is easier than it used to be

1•LeanVibe•2m ago•0 comments

Show HN: An Embeddable SQLite Parser

https://github.com/sqliteai/liteparser
1•marcobambini•3m ago•0 comments

Show HN: I made PythonStarter so I could launch faster with no Next.js or React

https://pythonstarter.co/
1•dan_easterman•4m ago•1 comments

Grand jury subpoena for Signal user data in the United States District Court

https://signal.org/bigbrother/district-of-columbia/
2•nobody9999•5m ago•0 comments

The Marginal Hire

https://tomtunguz.com/marginal-hire/
1•vinhnx•7m ago•0 comments

AMD and KDE improve Linux HDR/color, co-developed using Claude Code

https://www.phoronix.com/news/AMD-More-HDR-KWin-Claude-Code
1•speckx•7m ago•0 comments

Show HN: Search 7,500 MCP servers across NPM, PyPI, and the official registry

https://api.rhdxm.com/blog/crawled-7500-mcp-servers
1•c5huracan•7m ago•1 comments

Ask Maps and Immersive Navigation: New AI Features in Google Maps

https://blog.google/products-and-platforms/products/maps/ask-maps-immersive-navigation/
1•emschwartz•7m ago•0 comments

BigQuery Graph Series – Query and Visualize Your Graph

https://medium.com/google-cloud/bigquery-graph-series-2e35bb203aac
1•tanelpoder•7m ago•0 comments

Inside the cutthroat competition for the best baguette in Paris

https://www.washingtonpost.com/travel/2026/02/27/best-baguette-paris-contest/
2•bookofjoe•9m ago•1 comments

A Good Startup Idea Checklist (2016)

https://www.tillett.info/2016/01/27/a-good-idea-checklist/
1•matthieu_bl•9m ago•0 comments

Entangl – Post-quantum secure communication protocol for AI agents

https://github.com/amitb-quantum/entangl
1•xmas123•9m ago•1 comments

MCP server that audits AI agent reasoning before decisions commit

https://espiradev.org/blog/sentinel-ai-reasoning-observatory.html
1•aespira•9m ago•1 comments

OpenClaw agents always freeze. We fixed it by building ClaWatch

https://github.com/GENWAY-AI/clawatch
4•GalDayan•10m ago•3 comments

LLMs generate billing race conditions. Every one catches it when asked

https://forward.deployed.agency/blog/check-call-deduct
1•grandSpecial•10m ago•0 comments

Show HN: Riventa.Dev – AI-native DevOps that acts, not just alerts

https://www.riventa.dev/
2•christopherAs•10m ago•0 comments

Custom programming languages make agents good

https://blog.firetiger.com/custom-programming-languages-make-agents-really-really-smart/
3•matsur•10m ago•0 comments

A Large-Scale Synthetic Dataset Generated from Programming Concept Seeds

https://huggingface.co/blog/nvidia/synthetic-code-concepts
1•ibobev•11m ago•0 comments

Show HN: View WhoisHiring post ranked against your resume using a CLI

https://github.com/jsonresume/jsonresume.org/tree/master/packages/job-search
1•thomasfromcdnjs•11m ago•0 comments

Firefly128/sparccord: Discord client for Solaris 7 SPARC

https://github.com/firefly128/sparccord
1•surprisetalk•12m ago•0 comments

OverTheWire: Wargames

https://overthewire.org/wargames/
1•surprisetalk•12m ago•0 comments

Teleprinter

https://notebook.zoeblade.com/Teleprinter.html
1•surprisetalk•12m ago•0 comments

Did Indigenous People Live in Harmony with the Land?

https://www.jenn.site/did-indigenous-people-really-live-in-harmony-with-the-land/
1•surprisetalk•13m ago•0 comments

Show HN: An embeddable fractional indexing library in C

https://github.com/sqliteai/fractional-indexing
2•marcobambini•14m ago•1 comments

Show HN: President: A Strategy Game

https://storage.googleapis.com/presidents-game/index.html
3•squigs25•14m ago•1 comments

WP Engine Acquires WPackagist

https://wpengine.com/blog/wp-engine-acquires-wpackagist/
1•mesklin•15m ago•1 comments

What is wisdom, and can it be taught?

https://knowablemagazine.org/content/article/mind/2026/what-is-wisdom-can-it-be-taught
1•speckx•15m ago•0 comments

Voices – say something you've never said out loud

https://www.justvoiceit.com
1•bassiebas•15m ago•0 comments

Websites That Look Like Desktops

https://desktops.zip/
1•TigerUniversity•16m ago•0 comments

Middle East energy shock revives interest in nuclear power

https://www.ft.com/content/694d1009-95b6-4cb8-ac3b-3fa639c826d3
2•mpweiher•16m ago•1 comments