/chat

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

Primary LanguagePython

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