https://github.com/maxdemaio/flack
An online messaging service to send and receive messages in real time.
https://github.com/maxdemaio/flack
flask javascript socket-io
Last synced: about 2 months ago
JSON representation
An online messaging service to send and receive messages in real time.
- Host: GitHub
- URL: https://github.com/maxdemaio/flack
- Owner: maxdemaio
- License: mit
- Created: 2020-05-21T03:23:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T04:06:00.000Z (over 5 years ago)
- Last Synced: 2025-09-01T01:45:32.386Z (10 months ago)
- Topics: flask, javascript, socket-io
- Language: JavaScript
- Homepage:
- Size: 4.59 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flack
An online messaging service where one can send and receive messages in real time.

## Description
Flack allows users to choose a display name, create channels (i.e. chatrooms) to communicate in, as well as see and join existing channels.
### Protocol and Library Usage
Rather than using the HTTP request/reponse model, the WebSockets protocol allows us to broadcast events to all users. After the inital handshake both the client and the server establish a permanent bidirectional connection.
The Flask-SocketIO (an extension of Socket.IO) library will upgrade a connection to the WebSockets protocol if possible and otherwise it will use an HTTP polling method. When a user sends a message within Flack, all users that are connected will receive the message thanks to this library.