Skip to content

robottaway/flask_websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Was looking for something lighter weight than node.js and socket.io, or python and socket.io.

Wanted only gevent and websockets if possible, in this case add Flask which is pretty light weight anyhow.

Blog post inspiration (and code to begin with) for this project:

http://www.socketubs.net/2012/10/28/Websocket_with_flask_and_gevent/

And using the gevent websocket project:

http://www.gelens.org/code/gevent-websocket/

OS X

I installed Gevent via mac ports, the exact port being py27-gevent @0.13.8_0, but you can install the version for the python you are using (from ports).

I am sure homebrew or some other install will also work. Message me and let me know.

Plans

  • Wire up MongoDB and Redis, make a simple light communication chanels.
  • Geo bucketing? How do we push events to users in a given area?
  • Allow person to re-tweet a message they have to people in their area. This allows messages to spread viral?

About

Flask + GeventWebsocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages