Show HN: TermDOM – HTML, CSS and JavaScript (With a Real DOM) for TUIs and CLIs

Build terminal apps with HTML, CSS and the DOM. Contribute to bikeshaving/termdom development by creating an account on GitHub.
17 points by bikeshaving 71 days ago github.com 0 comments
Summary not yet generated for this article.

Original Text

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).

Comments (0 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open