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.1.tar.gz (5.4 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.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_chat_server-1.0.1.tar.gz
  • Upload date:
  • Size: 5.4 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.1.tar.gz
Algorithm Hash digest
SHA256 f4cfdb3ed9f1ccfb97985a28d5a0ee0ab07a783ebf46bed273ff0ceab8e66d1d
MD5 c6d3f19d4223e39bbb29532acf3e88db
BLAKE2b-256 9b0f150f73657a4b6599fa7e2935c4ab90117ad274f8bb8c869757e4c8509d96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_chat_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43f5352220d782dccff77a25334fd73ad31b458da32593b108998ce8d9f9e05c
MD5 89721ef9a8db9a393add3adf18c5740d
BLAKE2b-256 9005e5b03ad4c8d0884cdca2105f02323726945b3982dd8b5a50ab4f30f6c397

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