Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Telnet lunatic.chat – A chat server for the terminal
8 points by bkolobara on Feb 5, 2021 | hide | past | favorite
Hi HN,

I'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.

You can access the US server with

> telnet lunatic.chat

or the EU one with:

> telnet eu.lunatic.chat

You should pick the one closer to you as all the rendering is done on the backend and lower latency will mean better UX.

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

[0]: https://github.com/lunatic-solutions/lunatic

[1]: https://github.com/lunatic-solutions/chat



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: