An web-based chat application built with Flask, enabling users to exchange text messages anonymously within a "chat room".
Users can create new rooms or join existing ones to communicate with others in the same room.
Check out the project Live : Hosted on Render
https://flask-chathub.onrender.com/
Recommended Python 3.6
or above.
- Set up python virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Installing dependencies:
python3 -m pip install -r requirements.txt
With the virtual environment activated, run the following commands.
- To run locally:
flask run
- To run on the network:
flask run --host "0.0.0.0"
- Completely anonymous
- Real-time messaging
- Auto-Generated Room IDs
- Dynamic room creation and deletion without server restart
- Temporary rooms: Inactive/Vacant rooms are periodically deleted
- Users list broadcast
- Responsive design for easy viewing on all devices
- https://docs.python.org/3/library/hashlib.html
- https://flask-socketio.readthedocs.io/en/latest/
- https://socket.io/docs/v4/client-installation/
- socketio/socket.io-client#1451
Standardize front-endImplement Room Creation/JoiningImplement WebSocket for individual RoomsConnected users list- Session based auth (probably)
- Message history (probably)
Deploy if free