Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```