ric-chat-app
A small, TLS-encrypted terminal chat app — a threaded socket server and a curses client, plus a demo time bot. All traffic is encrypted and pinned to a self-signed certificate (encryption + MITM protection).
For chatters (install & run)
pip install ric-chat-app
join-chat
That's it — join-chat connects to the hosted server out of the box, over TLS.
Pick a name when prompted and start chatting. Type !exit to leave.
Want the current time in chat? If the time bot is running, send !time.
Running your own server
The package ships only the join-chat client command. To host your own server,
clone the repo and run the server module directly:
pip install ric-chat-app
# generate the server's key pair (see DEPLOYMENT.md for the exact command)
python -m ric_chat.server
Point clients at your server with an environment variable or a .env file in the
directory you run from:
CHAT_MODE=remote SERVER_HOST=<your.server.ip> join-chat
# or CHAT_MODE=local for a server on 127.0.0.1
Commands
| Command | What it does |
|---|---|
join-chat |
Launches the curses chat UI (the only installed command) |
Self-hosters run the server and demo bot as modules:
python -m ric_chat.server and python -m ric_chat.bots.time_bot.
Developing
git clone https://github.com/rickycarrillo3/ric_chat_app
cd ric_chat_app
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest
See DEPLOYMENT.md for the full picture: how TLS pinning works, the package layout, the CI/CD pipeline, and how to deploy/update the VPS.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ric_chat_app-0.1.5.tar.gz.
File metadata
- Download URL: ric_chat_app-0.1.5.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98c1b2c195704a02979bfb871f660ae852e326ff47e302e9c54c406ca8138370
|
|
| MD5 |
c5bbe77270a2d3a151e98a8d9ec07a17
|
|
| BLAKE2b-256 |
4ea6783b18b40ad426389bc374d3b0b49d954d755643696e1bf5e318c7644a46
|
File details
Details for the file ric_chat_app-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ric_chat_app-0.1.5-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f9c287186800466f6d820745b03168508795fecd000c6c84c38b984099ee89
|
|
| MD5 |
8ecfc5408467d005b159c8f94e48a8cb
|
|
| BLAKE2b-256 |
81a05033006e469d3e3c81a09a06f68d99298ea60ed3e907276bff1da2c152ca
|