frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: TinyDOCX – Word/ODT library (14x smaller than docx)

https://github.com/Lulzx/tinydocx
3•lulzx•2h ago
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 API

What's not included: - Table of contents, footnotes, bookmarks - Track changes, comments - Multi-column layouts, text wrapping - Reading/modifying existing .docx files - Math equations, drawing shapes

DOCX 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

Can Claude teach me to make coffee?

https://www.lesswrong.com/posts/aZYr5MBhxEbPQSt5N/can-claude-teach-me-to-make-coffee
1•paulpauper•1m ago•0 comments

We Put Claude Code in Rollercoaster Tycoon

https://labs.ramp.com/rct
1•ramplabs•1m ago•0 comments

Dervos 2025 Keynote: Solar Pill the World with Jesse Peltan

https://www.dertaskforce.com/p/dervos-2025-keynote-solar-pill-the
1•paulpauper•1m ago•0 comments

Against Against Boomers

https://www.astralcodexten.com/p/against-against-boomers
1•paulpauper•2m ago•0 comments

Christmas Songs That Do Too Much

https://danverbraganza.com/writings/christmas-songs-that-do-too-much
1•nvader•5m ago•0 comments

Hubble Tension Resolution via Temporal Spacetime Compression

https://github.com/Jordan-Townsend/hubble-tension-resolution
1•Subtextofficial•10m ago•1 comments

Emergency Autoland deployed when pilot becomes Incapacitated

https://www.flightradar24.com/blog/aviation-news/aviation-safety/garmin-emergency-autoland-deploy...
1•strangattractor•10m ago•0 comments

Proposal: LLM-Friendly Brand Guidelines via brand.json / brand.txt

https://www.braingrid.ai/brand.json
1•acossta•11m ago•1 comments

Rivian's AI pivot is about more than chasing Tesla

https://www.theverge.com/transportation/846783/rivian-ai-autonomy-day-self-driving-lidar-chip-tesla
1•ianrahman•11m ago•0 comments

Analysing Screenshots from 10k Steam Games [video]

https://www.youtube.com/watch?v=FyhVJUJrvoM
1•chunkles•12m ago•0 comments

What Would It Cost to End Extreme Poverty?

https://www.nber.org/papers/w34583
1•bikenaga•12m ago•1 comments

Incus 6.20 has been released

https://discuss.linuxcontainers.org/t/incus-6-20-has-been-released/25635
1•Tomte•13m ago•0 comments

Why the Book of Esther Never Mentions God

https://www.thecollector.com/why-the-book-of-esther-never-mentions-god/
2•Tomte•13m ago•0 comments

Show HN: BrowserForge – AI browser agents (1000 free credits)

https://www.browserforge.ai/
1•grantsingleton•15m ago•1 comments

Show HN: LLMKit – Compare LLMs side-by-side with real-time streaming

https://www.llmkit.cc/model-comparison/gpt-4-vs-claude-3-5-sonnet
2•chieund•16m ago•0 comments

The Quietus Albums of the Year 2025

https://www.albumoftheyear.org/list/2501-the-quietus-albums-of-the-year-2025/
1•fallinditch•16m ago•1 comments

Ask HN: What's the most open/hacker friendly Android phone for 2026?

2•recvonline•17m ago•0 comments

Why does AI write like that?

https://www.nytimes.com/2025/12/03/magazine/chatbot-writing-style.html
1•saeranv•19m ago•2 comments

Model Convo: Henry Oliver – AI poetry, Pygmalion, and why STEM needs literature

https://www.machineculture.io/p/model-convo-henry-oliver
1•ryanhauser•20m ago•0 comments

NIST was 5 μs off UTC after last week's power cut

https://www.jeffgeerling.com/blog/2025/nist-was-5-%CE%BCs-utc-after-last-weeks-power-cut
2•nfriedly•20m ago•0 comments

Larry Ellison pledges $40B personal guarantee for Paramount's Warner Bros. bid

https://www.latimes.com/entertainment-arts/business/story/2025-12-22/larry-ellison-to-personally-...
2•andsoitis•22m ago•0 comments

US Suspends Offshore Wind Leases, Citing National Security

https://www.bloomberg.com/news/articles/2025-12-22/us-suspends-offshore-wind-leases-citing-radar-...
3•_____k•23m ago•0 comments

Linux Advanced Formats for Hard Disk Drives and NVMe SSDs

https://wiki.archlinux.org/title/Advanced_Format
3•transpute•24m ago•0 comments

Show HN: LiteClient – a local-first bloat-free API client for VS Code

https://marketplace.visualstudio.com/items?itemName=liteclienthq.liteclient
3•liteclient•27m ago•1 comments

Claustrophobic Metaphysics

https://claremontreviewofbooks.com/claustrophobic-metaphysics/
2•danielam•28m ago•0 comments

Confessions of a Recovering Environmentalist (2011)

https://orionmagazine.org/article/confessions-of-a-recovering-environmentalist/
1•doitLP•29m ago•0 comments

Truth in Lending (Regulation Z); Non-Application to Earned Wage Access Products [pdf]

https://public-inspection.federalregister.gov/2025-23735.pdf
1•petethomas•31m ago•0 comments

AI Bathroom Monitors? Welcome to America's New Surveillance High Schools

https://www.forbes.com/sites/thomasbrewster/2025/12/16/ai-bathroom-monitors-welcome-to-americas-n...
38•pseudolus•34m ago•8 comments

High latitude agrivoltaic systems with vertically mounted bifacial panels

https://www.sciencedirect.com/science/article/pii/S0306261925017520?via%3Dihub
1•PaulHoule•34m ago•0 comments

Show HN: Claude Livestreaming NetHack on GitHub Actions

https://github.com/ada-yang-dev/specter/actions/runs/20439161195/job/58727765774
1•ada-yang•35m ago•0 comments