nowfound

Dev tools · December 18, 2025

TinyPDF – 3kb pdf library (70x smaller than jsPDF)

I needed to generate invoices in a Node.js app. jsPDF is 229KB. I only needed text, rectangles, lines, and JPEG images. So I wrote tinypdf: <400 lines of TypeScript, zero dependencies, 3.3KB minified+gzipped. What it does: - Text (Helvetica, colors, alignment) - Rectangles and lines - JPEG images - Multiple pages, custom sizes What it doesn't do: - Custom fonts, PNG&#x2F;SVG, forms, encryption, HTML-to-PDF That's it. The 95% use case for invoices, receipts, reports, tickets, and labels. GitHub: https:&#x2F;&#x2F;github.com&#x2F;Lulzx&#x2F;tinypdf npm: npm install tinypdf

TinyPDF – 3kb pdf library (70x smaller than jsPDF) launched on December 18, 2025 with 253 votes, #97 of 11,628 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 1% of December 2025

In plain words

TinyPDF is a minimal PDF generation library for Node.js that creates documents with text, rectangles, lines, and JPEG images. Built with TypeScript and zero dependencies, it measures just 3.3KB minified and gzipped—roughly 70 times smaller than jsPDF. It supports multiple pages and custom sizes, making it suited for generating invoices, receipts, reports, tickets, and labels. The library intentionally omits features like custom fonts, PNG/SVG support, forms, and encryption, focusing instead on common document-generation needs.

written from the facts on this page · September 2026

From the sources

Minimal PDF creation library. <400 LOC, zero dependencies, makes real PDFs. - Lulzx/tinypdf

Does a similar job

all alternatives →
  • Smallpdf2014 · smallpdf.com · ▲123

    Sydney's Trusted Painting Professionals.

  • I built a free alternative to Adobe Acrobat PDF viewer2025 · github.com · ▲357

    I built EmbedPDF: an MIT-licensed, open-source PDF viewer that aims to match all of Adobe Acrobat’s paid features… for free. Already working: - Annotations (highlight, sticky notes, free text, ink) - True redaction (content actually removed) - Search, text selection, zoom, rotation - Runs fully in the browser, no server needed - Drop-in SDK for React, Vue, Preact, vanilla JS Why? Acrobat is heavy, closed, and pricey. I wanted something lightweight, hackable, and embeddable anywhere. Demo: https:&#x2F;&#x2F;app.embedpdf.com&#x2F; Website: https:&#x2F;&#x2F;www.embedpdf.com&#x2F; GitHub:…

  • CraftMyPDF2022 · craftmypdf.com · ▲135

    Design and generate pixel-perfect PDF documents in minutes

  • TinyDOCX – Word/ODT library (14x smaller than docx)Dec 2025 · github.com · ▲6

    After posting tinypdf here, someone opened an issue asking for Word&#x2F;OpenOffice support. I understand - sometimes you need an editable document, not a PDF. I didn't want to extend the library itself, so I built tinydocx: <1K lines of TypeScript, zero dependencies, 7.7KB minified+gzipped. The popular docx package is 108KB with 5 dependencies. What's included: - Text formatting (bold&#x2F;italic&#x2F;underline&#x2F;strikethrough, colors, custom fonts) - Headings (H1-H6) - Tables with borders and column widths - Bullet and numbered lists (with nesting) - Images (PNG, JPEG, GIF, WebP) -…

  • Mdpdf a 2k line C CLI to convert Markdown to tiny PDFsApr 2026 · github.com · ▲15

    I have always searched for a simple tool which can convert a MD document to a well styled small PDF, just like a GitHub Readme. This was inspired by TinyPDF https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=46316968 I also used this project to get familiar with agentic coding, which I had dreaded before. mdpdf supports: - using the included PDF fonts to generate tiny valid PDFs - outputs as A4 or Letter depending on your locale - plenty of common MD syntax: code blocks, inline code, lists, tables, and jpg and png images That's it. It covers probably most of the use cases and can help to…

  • PrivatePDF – minimal PDF editor that runs in the browser2023 · github.com · ▲14

    I created this tool to make it quick and easy to sign PDF contracts, without having to deal with installing additional software and without worrying that my PDFs will get uploaded to a third party. It supports the bare minimum for my most common usecases. It is not intended to be a full-featured PDF editor. Features include filling PDF forms, inserting images and text, and rotating PDFs. Check it out by either picking a PDF of your own - https:&#x2F;&#x2F;photown.github.io&#x2F;private-pdf&#x2F;, or with a preloaded sample PDF -…

More dev tools this month

the category →
  • /dev/null▲489

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, December 2025

the whole month →
  • GP

    Life & fun · Dec 2025 · dosaygo-studio.github.io

  • Hi everyone! My name's Luke and I made the original Jmail here alongside Riley Walz. We had a ton of friends collaborate on building out more of the app suite last night in lieue of DOJ's "Epstein files" release. Please AMA!

    Life & fun · Dec 2025 · jmail.world

  • Design and ship studio-grade landing pages with AI

    AI · Dec 2025 · loki.build

  • AI turns your health goals into a 7-day menu & grocery list

    AI · Dec 2025 · planeatai.com

  • Community, All the HN belong to you. This is an archive of hacker news that fits in your browser. When I made HN Made of Primes I realized I could probably do this offline sqlite&#x2F;wasm thing with the whole GBs of archive. The whole dataset. So I tried it, and this is it. Have Hacker News on your device. Go to this repo (https:&#x2F;&#x2F;github.com&#x2F;DOSAYGO-STUDIO&#x2F;HackerBook): you can download it. Big Query -> ETL -> npx serve docs - that's it. 20 years of HN arguments and beauty, can be yours forever. So they'll never die. Ever. It's the unkillable static archive of HN and it's…

    Dev tools · Dec 2025 · hackerbook.dosaygo.com

  • AI video studio for viral social clips

    AI · Dec 2025 · cybercut.ai