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.

Show HN: Telnet lunatic.chat – A chat server for the terminal

8 pointsby bkolobaraover 4 years ago
Hi HN,<p>I&#x27;m working on an Erlang inspired WebAssembly runtime for the backend[0]. Recently I added TCP support and was looking for apps I could build with it. I ended up building a telnet line chat app. It was a great dogfooding experience and has a nice retro feel to it.<p>You can access the US server with<p>&gt; telnet lunatic.chat<p>or the EU one with:<p>&gt; telnet eu.lunatic.chat<p>You should pick the one closer to you as all the rendering is done on the backend and lower latency will mean better UX.<p>The server is open source[1] and written in Rust. The Rust code is then compiled to WebAssembly and runs on top of Lunatic. Each connection runs in a separate (lightweight) process, has it&#x27;s own state and sends just a diff of esc-sequences back to the terminal to bring it up to date with the current render buffer. Everything is deployed to an ARM Linux box.<p>[0]: https:&#x2F;&#x2F;github.com&#x2F;lunatic-solutions&#x2F;lunatic<p>[1]: https:&#x2F;&#x2F;github.com&#x2F;lunatic-solutions&#x2F;chat

no comments

no comments