TermDOM
HTML, CSS and JavaScript (With a Real DOM) for TUIs and CLIs
Details
- External ID
- 49261987
- Source
- HN
- Company
- —
- Product
- TermDOM
- Website domain
- github.com
- Launched
- Aug. 11, 2026
- Cohort
- —
- Upvotes
- 18
- Upvotes percentile
- 0.7318548387096774
- Tags
- —
- Fetched at
- Sept. 10, 2026, 5:32 a.m.
- Updated at
- Sept. 10, 2026, 5:32 a.m.
Description
TermDOM renders a real DOM styled with real CSS to terminal cells. You build a document with createElement or innerHTML, or any frontend web framework, and it automatically produces colored ANSI output, with browser-style layout, text wrapping and flexbox included. The library can also be used to translate HTML to static ANSI.Full disclaimer: This project was started a year ago and written entirely by Claude. I mainly provided QA and words of encouragement (yelling).
Enrichment
- Theme
- typography and unicode text tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- dom framework for terminal uis
- Manually corrected
- False
Could you build this?
No Implementing a full DOM, CSS parser, flexbox layout engine, text wrapping, and terminal ANSI cell renderer from scratch requires deep browser layout engine expertise and complex systems/computational geometry programming.
What it would actually take: A project like TermDOM requires implementing or embedding a DOM tree, integrating or building a CSS parser (e.g., cssparser/lightningcss), wiring up a custom layout engine (such as Taffy or Yoga for flexbox/grid), handling Unicode bidirectional text and grapheme clustering, and writing a terminal differential rasterizer to output ANSI escape sequences. The core difficulty is building an accurate, performant layout tree evaluator without relying on standard OS GUI pipelines.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one — 54 launches clear the similarity bar, closest 8 shown.
Attention rank: #22 of 55 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 280 days after the earliest competitor.
- Lobster.js · hn · 2026-03-08 · 7 upvotes · similarity 0.40
- Data-anim · hn · 2026-03-14 · 19 upvotes · similarity 0.40
- domscout · ph · 2026-09-25 · 1 upvotes · similarity 0.39
- termdeck · ph · 2026-09-16 · 1 upvotes · similarity 0.39
- DOM-docx · hn · 2026-07-13 · 158 upvotes · similarity 0.38
- Myjs An accidental pure-Python JavaScript interpreter · hn · 2026-09-05 · 7 upvotes · similarity 0.38
- Open-source .docx editor library for building document apps · hn · 2026-05-21 · 107 upvotes · similarity 0.38
- Unicode cursive font generator that checks cross-platform compatibility · hn · 2026-01-01 · 11 upvotes · similarity 0.38
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.