Skip to main content

A terminal-based chat server with room access codes

Project description

Terminal Chat Server

A lightweight, terminal-based chat server with room access codes. Perfect for secure team communications over TCP.

Features

  • 🚀 Terminal-based interface
  • 🔐 Room access codes and passwords
  • 👥 Multiple concurrent rooms
  • 🌐 Real-time messaging
  • 🔧 Zero dependencies

Installation

pip install terminal-chat-server
Quick Start
Start the server:
bash
terminal-chat-server
Connect clients:
bash
# Using telnet
telnet localhost 9999

# Using netcat
nc localhost 9999
Usage
Default Rooms:
1234 - General Chat (no password)

5678 - Tech Talk (no password)

9999 - Secret Room (password: "secret")

Client Commands:
/help - Show help

/users - List online users

/quit - Exit chat

Advanced Usage
Custom Configuration:
python
from terminal_chat_server import TerminalChatServer

server = TerminalChatServer(
    host='0.0.0.0',
    port=8888,
    rooms={
        "1111": {"name": "Custom Room", "password": None},
        "2222": {"name": "Private", "password": "mypass"}
    }
)
server.start_server()
License
MIT License - See LICENSE file for details.

Author
Peter Gatitu (gatitu@evidflow.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminal_chat_server-1.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminal_chat_server-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file terminal_chat_server-1.0.0.tar.gz.

File metadata

  • Download URL: terminal_chat_server-1.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for terminal_chat_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cacf4863f6514c678718e7bbbc2fddf256ef7cb75bf5916be4e25ffce6d32fae
MD5 71b7ed4e609c487661c71671ad5ecaf9
BLAKE2b-256 0d6fa16e9ce5e9aa9c8e4df50017655d5da123521e09151a3c2de1c3f79e925b

See more details on using hashes here.

File details

Details for the file terminal_chat_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_chat_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e59d60a75b42aaf6df0eeda2471ec2c61e31e5648a7b7130858cfc18a8f46e6d
MD5 5995fa386c9226145fd19092ed9bd72b
BLAKE2b-256 e29ecd27686c041aec4fd2ea0ea1b9e354501806bbf0f737dd64394872a050b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page