Nicheloom visits: 58,069 all-time · 7,637 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

TinyDOCX

Word/ODT library (14x smaller than docx)

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

After posting tinypdf here, someone opened an issue asking for Word/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/italic/underline/strikethrough, colors, custom fonts) - Headings (H1-H6) - Tables with borders and column widths - Bullet and numbered lists (with nesting) - Images (PNG, JPEG, GIF, WebP) - Hyperlinks - Headers/footers with page numbers - Blockquotes and code blocks - Markdown to DOCX conversion - ODT (OpenDocument) support with the same APIWhat's not included: - Table of contents, footnotes, bookmarks - Track changes, comments - Multi-column layouts, text wrapping - Reading/modifying existing .docx files - Math equations, drawing shapesDOCX files are just ZIP archives containing XML. Once you understand the structure, generating simple documents is straightforward. The hard part is knowing which XML elements Word actually requires vs. what's optional cruft.Works great for invoices, reports, form letters - anything where you want the recipient to edit the document. Pairs nicely with tinypdf when you need both formats.GitHub: https://github.com/Lulzx/tinydocx npm: npm install tinydocx

HN · launched Dec 22, 2025 · 6 upvotes (top 73%) · 0 views

Niche: document processing and ocr software · 202 launches, 16 in the last 7 days ▼ -27% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

Partial Generating OpenXML (.docx) and OpenDocument (.odt) formats from scratch with zero dependencies in under 1,000 lines requires meticulous reverse engineering of complex, deeply nested XML specifications and ZIP packaging.

What it would actually take: Requires an in-depth understanding of the ISO/IEC 29500 (OpenXML) and OASIS OpenDocument specifications. The system constructs valid raw XML trees for document relationships, content types, styles, and body paragraphs, and pipes them directly through a lightweight compression/deflate algorithm to produce spec-compliant `.docx` and `.odt` archive binaries in pure TypeScript.

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one : 400 launches clear the similarity bar, closest 8 shown.

Attention rank: #383 of 401 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 40 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.