DEV Community

Cover image for A full-featured terminal chat app in just 6 MB — with mobile support
Cody Marsengill
Cody Marsengill

Posted on • Edited on

A full-featured terminal chat app in just 6 MB — with mobile support

Built with Go, deployable anywhere

Just wrapped some real-world testing of marchat, my terminal-native chat app.

A user ran the server in Docker while clients connected 60–70 miles away through an nginx reverse proxy — no hiccups.

Performance at a glance:

  • Server: ~6 MB RAM
  • Android client (Termux): 30–45 MB RAM, ~5% CPU
  • File sharing: smooth, even over the distributed setup
  • Reverse proxy setup guide coming soon

Why it stands out:

  • Self-hosted with SQLite (PostgreSQL/MySQL support planned)
  • Real E2E encryption (X25519 / ChaCha20-Poly1305)
  • Works on mobile via Termux
  • Plugin-friendly for custom features

It’s been running for a week straight without a crash — perfect for dev teams who want to skip Slack’s bloat or run something anywhere, from servers to phones.

File Sharing Theme Switching

marchat running on Android via Termux, demonstrating file transfer through reverse proxy and real-time theme switching


GitHub: https://github.com/Cod-e-Codes/marchat

Docker: https://hub.docker.com/r/codecodesxyz/marchat

Running something similar? Drop your setup in the comments — I’d love to see it.

Top comments (1)

Collapse
 
cod-e-codes profile image
Cody Marsengill

Just adding a quick peek at marchat’s server running on Android (Termux). This lightweight setup means you can host and chat entirely from your phone or tablet. Let me know if you want a guide!