rusty-chat-app

Crates.iorusty-chat-app
lib.rsrusty-chat-app
version0.1.2
created_at2025-10-05 11:06:17.598706+00
updated_at2025-10-05 11:15:23.643073+00
descriptionA simple chat application using Rust
homepage
repositoryhttps://github.com/arjav0703/chat-app
max_upload_size
id1868913
size42,040
Arjav Jain (arjav0703)

documentation

README

🎀 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

  1. Ensure you have Rust and Cargo installed. You can install it from rustup.rs.
  2. Install using cargo:
    cargo install rusty-chat-app
    
  3. Run the server:
    rusty-chat-server
    
  4. In a new terminal, run the client:
    rusty-chat-client <username>
    

Running the Application locally

  1. Make sure you have Rust and Cargo installed. You can install it from rustup.rs.

  2. Clone the repository:

    git clone https://github.com/arjav0703/chat-app.git
    
  3. Navigate to the project directory:

    cd chat-app
    
  4. Start the server:

     cargo run --bin server
    
  5. In a new terminal, start the client:

    cargo run --bin client <username>
    

Acknowledgements

I used this (https://youtu.be/653rafFNBmA?si=mjYuBcQNu69gOYtM) video as a reference to build this project.

Commit count: 0

cargo fmt