a live chat built with python(flask + gevent + apscheduler) + redis
Python JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Latest commit 003d51c Oct 31, 2011 @lzyy remove placehold in room
Permalink
Failed to load latest commit information.
etc new comet works Oct 30, 2011
log/supervisor init Oct 26, 2011
scripts init Oct 26, 2011
src remove placehold in room Oct 31, 2011
tmp init Oct 26, 2011
.gitignore init Oct 26, 2011
README.md update readme Oct 31, 2011
bootstrap.py init Oct 26, 2011
buildout.cfg init Oct 26, 2011
setup.py init Oct 26, 2011

README.md

a live chat room built with python(flask / gevent / apscheduler) + redis

Basic Architecture

architecture

Screenshot

chat

Install

  • cd /path/to/source
  • python bootstrap.py
  • bin/buildout
  • make sure redis-server is started
  • bin/supervisord
  • [optional] bin/supervisorctl
  • goto localhost:9527

Tips

  • open multi browser to test live communication
  • execute bin/python scripts/clear_key.py to clear all data

Changes

0.2

  • adjust comet strategy
  • add admin role
  • fix duplicate name

0.1.1

  • adjust create room UI / UE
  • add rm room func
  • improve add chat message's response speed
  • bugfixes

0.1

  • add home page (all rooms in one page, and live content)
  • custom nickname
  • create room
  • coffee-script
  • bugfixes

home room