TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is it possible to get Blessed to render to the DOM?

1 pointsby elliotbnvlover 5 years ago
I&#x27;d love to be able to take advantage of Blessed&#x27;s (https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;blessed) terminal capabilities in the browser, perhaps with Xterm.js (https:&#x2F;&#x2F;xtermjs.org&#x2F;) or something.<p>Has anybody made this happen yet?<p>Thanks!

1 comment

elliotbnvlover 5 years ago
Context: I&#x27;m building a roguelike (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Roguelike" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Roguelike</a>) and would love to be able to take advantage of Blessed with react-blessed (<a href="https:&#x2F;&#x2F;github.com&#x2F;Yomguithereal&#x2F;react-blessed" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Yomguithereal&#x2F;react-blessed</a>) to render everything.<p>If I can get Blessed to render to the browser, perhaps I can use that as a renderer for react-blessed. That way I can build an entire terminal interface in React. And even if that didn&#x27;t go through, I&#x27;d at least be able to write a custom React renderer to take advantage of Blessed&#x27;s window functionality and stuff.<p>If all that fails I&#x27;ll just have to write a Blessed-lite layer for XTerm and then write a custom React renderer for that.