How I built a telnet chat server in 2021 with WebAssembly

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • lunatic

    Lunatic is an Erlang-inspired runtime for WebAssembly

  • I love the aesthetics of terminals and I’m not the only one, there is a whole subreddit dedicated to people sharing their desktops and showcasing different terminal setups. Last year I spent working on an innovative WebAssembly runtime called Lunatic. Recently we landed TCP support and I was super excited to start building real world applications with it, and what would be a better fit than a terminal based chat server with a retro vibe?

  • chat

    A telnet chat server (by lunatic-solutions)

  • It took me around a week to build it with Rust + Lunatic and you can check out the code here. If you would like to try it out you can connect to it with:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • askama

    Type-safe, compiled Jinja-like templates for Rust

  • Askma as a templating engine.

  • tui-rs

    Discontinued Build terminal user interfaces and dashboards using Rust

  • TUI as the rendering engine.

  • chrono

    Date and time library for Rust (by chronotope)

  • Chrono for date formatting.

  • Termion

    Mirror of https://gitlab.redox-os.org/redox-os/termion

  • They all compiled to WebAssembly without issues. I just needed to provide a telnet backend for TUI, but I could reuse most of the code from the termion crate (sadly it has no Windows support for now).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts