Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a live chat built with python(flask + gevent + apscheduler) + redis
Branch: master
Pull request Compare This branch is even with lzyy:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
etc
log/supervisor
scripts
src
tmp
.gitignore
README.md
bootstrap.py
buildout.cfg
setup.py

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

Something went wrong with that request. Please try again.