Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
[1]: https://github.com/lunatic-solutions/chat
Hi HN,
I'm working on an Erlang inspired WebAssembly runtime[0]. Recently I added TCP support for it and was looking for a small project I could build with it. I ended up building a telnet chat server.
It's open source[1] so you can host your own, but there is also a hosted version on lunatic.chat that you can access by typing "telnet lunatic.chat" into your terminal if you have telnet installed.
The Rust code is compiled to WebAssembly and runs on top of Lunatic. Everything is rendered on the backend and uses a similar approach to Elixir's Phoenix LiveView[2] to just send a diff of escape sequences back to the user to bring the local buffer up to date.
[0]: https://github.com/lunatic-solutions/lunatic