Inspiration

The inspiration comes from LocalSend, a cross-platform file transfer app over HTTP, basically an alternative of Airdrop.

What it does

Instead of file transfer, it allows you to chat with someone in the same local network as you are. It comes with both the web app and TUI, which they both share the same core and server foundation.

How I built it

I decided to use Rust since the very start of the brainstorming and also wanted to make a TUI app because I saw Ratatui on my LinkedIn. The problem I want to solve is trying to have a quick conversation with someone in an inconvenient environment, especially during lectures. Pulling up a messaging app could have people who sit behind me seeing my chat history with other people, and sometimes I don't really want a history of my conversation with others. I bring forward the idea and built LocalChat.

Challenges I ran into

While deploying the public demo onto Render, Codeberg seems to be having a little bit of outage, my documentation's theme is stored in Codeberg and is a submodule of my repository. I needed a little work around to make sure the demo can still be deployed on Render even if the theme can't load.

What I've learned

I've learnt about Rust, its structure, 'crates', server, and rocket.

What's next for LocalChat

Implementing missing features like file transfer, max cap for session creation on the public demo, allowing web sessions to join terminal sessions and the other way around, nearby discovery, etc.

Built With

Share this project:

Updates