bikeshaving/termdom
TermDOM
Build terminal apps with HTML, CSS and the DOM.
46stars
bikeshaving/termdom
TermDOM
Build terminal apps with HTML, CSS and the DOM
Visit project- First shared
- Aug 11, 2026
- HN activity
- 170
Show HN@bikeshavingAug 11, 2026
Show HN: TermDOM – HTML, CSS and JavaScript (With a Real DOM) for TUIs and CLIs
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).
Community