Skip to content

nonscalar/tuichat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TUIChat

I know, yet another chat app made by me...

Welcome to TUIChat! This is a fast (nope), memory safe, efficient (not actually), asynchonous, cross-platform chat program written in under 2000 lines of memory safe Rust and running entirely in your terminal. It has a custom server with a custom protocol (based off of Serde and JSON), and a client made with Ratatui. The async runtime used is the wonderful Tokio.

Running

To run this project, start by cloning the repository or downloading a zip. Then, start the server by running cargo run --bin server [ADDRESS:PORT]. Then, run the client in another window with cargo run --bin client [ADDRESS:PORT]. Here is what it might look like to test it on your local machine.

Server:

cargo run --bin server localhost:6000

And for the client:

cargo run --bin client localhost:6000

Notes

This project has several missing features, known major bugs, and security and performance issues. This was meant to be a fun project where I could learn more about Tokio, and not a fully finished program.

Resources

Below are some resources I found very helpful when designing TUIChat. No code was copied directly, but the closest project to my source is this (also linked directly below).

About

TUI chat program made in Rust with Ratatui and Tokio

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages