Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/watashiwasid/flask-chat-server
Simple web-based chat broadcast server built with flask and flask_socketio.
https://github.com/watashiwasid/flask-chat-server
flask socket-io
Last synced: 21 days ago
JSON representation
Simple web-based chat broadcast server built with flask and flask_socketio.
- Host: GitHub
- URL: https://github.com/watashiwasid/flask-chat-server
- Owner: WatashiwaSid
- Created: 2024-10-28T06:01:06.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-28T14:05:32.000Z (2 months ago)
- Last Synced: 2024-10-28T17:03:22.947Z (2 months ago)
- Topics: flask, socket-io
- Language: HTML
- Homepage: https://flask-chat-server.onrender.com/
- Size: 361 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Chat Server
![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge&logo=flask&logoColor=white)
![Socket.io](https://img.shields.io/badge/Socket.io-black?style=for-the-badge&logo=socket.io&badgeColor=010101)
![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
![Render](https://img.shields.io/badge/Render-%46E3B7.svg?style=for-the-badge&logo=render&logoColor=white)
![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white)## Introduction
A simple and interactive web-based chat server that broadcasts chat messages to all online users. Built with flask and flask_socketio module.
![UI](https://github.com/WatashiwaSid/flask-chat-server/blob/41d4d802bec3c4445403d6011ccd59dc1557c382/media/flaskchatserver.png)## Installation
1. Clone the repository:
```
https://github.com/WatashiwaSid/flask-chat-server
```
2. Navigate to the project directory:
```
cd `flask-chat-server`
```
3. Create and activate a new virtual environment:
```
python -m venv env
source env/bin/activate (Linux)
./env/Scripts/activate (Windows)
```
4. Install the project dependencies:
```
pip install -r requirements.txt
```
5. Run flask app
```
python app.py
```