miguelgrinberg/Flask-SocketIO
miguelgrinberg/Flask-SocketIO has 5,504 GitHub stars and 903 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 15:23 UTC. Last push 2026-11-01.
Socket.IO integration for Flask applications.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalFlask-SocketIO
Socket.IO integration for Flask applications.
Installation
You can install this package as usual with pip:
pip install flask-socketio
Example
from flask import Flask, render_template
from flask_socketio import SocketIO, emit
app = Flask(__name__)
app.config['SECRET_KEY'] = 'secret!'
socketio = SocketIO(app)
@app.route('/')
def index():
return render_template('index.html')
@socketio.event
def my_event(message):
emit('my response', {'data': 'got it!'})
if __name__ == '__main__':
socketio.run(app)
Resources
Sponsor this project
This project relies on contributions from its users. If you benefit from it please consider making a single or ongoing monetary contribution in one of the following platforms:
Thank you!
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,505 starspublic-apis/public-apis
A collective list of free APIs
496,799 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
438,651 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,087 stars