🎀 Rusty Chat
Rusty Chat is a simple, TUI-based chat application built with Rust using the cursive crate for the user interface and tokio for asynchronous networking. It allows users to connect to a chat server and exchange messages in real-time.
Project Structure
src/bin/server,rs: The server-side implementation that handles incoming connections and broadcasts messages to all connected clients.src/bin/client.rs: The client-side implementation that connects to the server, sends messages, and displays incoming messages in a TUI.
Supported Platforms:
- Linux
- macOS
- Windows (untested)
Installation
- Ensure you have Rust and Cargo installed. You can install it from rustup.rs.
- Install using cargo:
cargo install rusty-chat-app - Run the server:
rusty-chat-server - In a new terminal, run the client:
rusty-chat-cliente>
Running the Application locally
-
Make sure you have Rust and Cargo installed. You can install it from rustup.rs.
-
Clone the repository:
git clone https://github.com/arjav0703/chat-app.git -
Navigate to the project directory:
cd chat-app -
Start the server:
cargo run --bin server -
In a new terminal, start the client:
cargo run --bin cliente>
Acknowledgements
I used this (https://youtu.be/653rafFNBmA?si=mjYuBcQNu69gOYtM) video as a reference to build this project.