cd /home/tej/chat-app
PYTHONPATH=/home/tej/chat-app python server/server.pycd /home/tej/chat-app
PYTHONPATH=/home/tej/chat-app python client/client.pycd /home/tej/chat-app
PYTHONPATH=/home/tej/chat-app python client/client.py> register # Create account
> login # Login to account
Quick message:
> send alice Hello there!
Continuous chat:
> chat alice
@alice > Hey!
@alice > How are you?
@alice > /exit
Setup:
> create mygroup # Create group
> join mygroup # Join existing group
Send messages:
> gsend mygroup Hello everyone!
Continuous group chat:
> gchat mygroup
#mygroup > Hello team!
#mygroup > Any updates?
#mygroup > /exit
Manage:
> groups # List your groups
> members mygroup # See who's in a group
> leave mygroup # Leave a group
✅ Chat history - All messages saved automatically in chat_history/ folder
✅ Timestamps - Every message shows when it was sent
✅ Continuous chat - Chat without typing usernames every time
✅ Group chat - Create groups and chat with multiple people
✅ Colorful UI - Easy to read with color-coded messages
- Use
helpanytime to see all commands - Messages you send appear in green
- Messages you receive appear with timestamps
- In continuous chat mode, just type and press Enter
- Type
/exitto leave continuous chat mode - All conversations are automatically saved