A lightweight, real-time communication platform built with Python, designed for fast and ephemeral collaboration without persistent storage.
PyWebChat allows users to create temporary chat rooms and communicate instantly with others via a simple invite link.
- Real-time messaging powered by WebSockets
- Unlimited number of participants
- File sharing support (any file type)
- No data stored on disk β everything lives in RAM
- Fully ephemeral rooms with automatic cleanup
-
π§βπ€βπ§ Unlimited Participants
No limits on the number of users in a room. -
π Invite Links
Easily share access to a room via a unique link. -
π¬ Real-Time Chat
Low-latency communication using WebSockets. -
π File Sharing
Upload and exchange any type of file directly in the chat. -
π§Ή Room Management
- Creator can clear chat history
- Creator can delete the room at any time
-
πͺͺ Custom Nicknames
Participants can change their display names freely. -
β³ Ephemeral Rooms
If all users leave, the room remains active for 5 minutes, then:- All messages are deleted
- All files are removed
- The room is destroyed
-
π Privacy First
All data is stored in memory (RAM) only and never written to disk. -
π¨ Themes
Switch between light and dark modes.
python pywebchat.py -l 0.0.0.0:5395This starts the server on all interfaces at port 5395.
| Argument | Description |
|---|---|
-l |
Listening address in format host:port |
-s |
Path to Unix socket |
--cert |
Path to SSL/TLS certificate file |
--key |
Path to SSL/TLS private key file |
python pywebchat.py -l 0.0.0.0:443 --cert cert.pem --key key.pemRuns the server with HTTPS/WSS support on port 443.
- Rooms are temporary and automatically cleaned up
- No database is required
- Ideal for quick, private, disposable communication
MIT License