8000 GitHub - Vicky-Apo/net-cat
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vicky-Apo/net-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 TCP-Chat

TCP-Chat is a retro-inspired, colorful group chat server written in Go.
Connect with friends in real time, enjoy a modern terminal experience, and relive the classic chatroom vibe!


🌟 Live Features

  • 👥 Multi-Client Support: Up to 10 concurrent connections. Unique username required for each participant
  • 🎨 Colorful Interface: Retro-dark mode with distinct colors for different message types and for server commands
  • 📝 Chat History: New users see previous chat history on join
  • 🔄 Dynamic Usernames: Change names with simple commands
  • 📊 Activity Logging: All events saved to server.log
  • 🖥️ TUI Client: Modern terminal UI client included (optional).

🗂️ Project Structure

.
├── main.go           # Entry point (server & TUI client launcher)
├── tui.go            # Terminal UI client
├── server/           # Server package
│   ├── client.go
│   ├── connections.go
│   ├── handlers.go
│   ├── message.go
│   ├── server.go
│   └── utils.go
├── build.sh          # Build script
├── go.mod
├── go.sum
└── ReadMe.md

⚙️ How to Run

  1. Build the Server

    ./build.sh
  2. Start the Server

    ./TCPChat        # Default port 8989
    # or
    ./TCPChat 2525   # Custom port
  3. Connect as Client

    nc localhost 8989
  4. Connect with the TUI Client

  ./TCPChat -tui

💡 Chat Commands & Features

Change Username

/name NewUsername

Message Format

// Regular chat message
[YYYY-MM-DD HH:MM:SS][Username]: Message

System messages (join/leave/rename) are shown in color.

Username has joined our chat...
Username has left our chat...

👩‍💻 Team

Created with passion by Zone01 students:

Vicky Apostolou, Iana kopylova, Kostas Apostolou


📁 Resources


© License

Made with 💚 at Zone01

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0