Skip to content
Notifications You must be signed in to change notification settings

arjav0703/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7ac3ead · · Oct 5, 2025

History

21 Commits
Oct 5, 2025
Sep 28, 2025
Oct 5, 2025
Oct 5, 2025
Oct 5, 2025

Repository files navigation

🎀 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.

https://hc-cdn.hel1.your-objectstorage.com/s/v3/f93913ca34e50ba2272f34076d9d5766000b0cc3_2025-09-29_22-36-09.mp4

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>gt;

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>gt;

Acknowledgements

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages