Simple terminal chat backend and CLI to send messages.
pip install TerminalChat (Hosted on PyPi)
Usage: tchat [OPTIONS] COMMAND [ARGS]
Commands:
tchat readCommand to get unread messages, use-aor--allto get all messages.tchat sendCommand to send a message. CLI walks through the steps.tchat sign-upCommand to sign up for the first time.
TerminalChat backend is hosted on Azure, so no need to run your own server (unless you want to).
- Clone repo with
git clone git@github.com:noah-solomon/terminal-chat.git - Enter backend directory with
cd terminal-chat/backend/src
- Create & run Docker container with
docker-compose up -d
- Make a virtual environment with
python3 -m venv venv - Activate your virtual environment with
source venv/bin/activate(Mac) - Install requirements with
pip install requirements.txt - Run server with
python3 app.py