A simple CLI chat application built with Rust, featuring WebSocket communication and optional TUI interface.
- WebSocket-based real-time chat
- Command-line interface with readline support
- Optional TUI (Terminal User Interface) for server
- Cross-platform support
cargo build --release# Basic server
cargo run server
# Custom address and port
cargo run server -a 0.0.0.0 -p 8080
# Enable TUI interface
cargo run server --tui# Connect with default settings
cargo run client your_name
# Connect to custom server
cargo run client your_name -a 192.168.1.100 -p 8080tokio- Async runtimeaxum- Web framework with WebSocket supportclap- Command line argument parsingrustyline- Readline functionalityterm- Terminal output formattingratatui- TUI framework (server)crossterm- Terminal handling
# Build
cargo build
# Run tests
cargo test
# Lint
cargo clippy
# Format code
cargo fmt