chat-master

所属分类:ICQ/即时通讯
开发工具:Python
文件大小:20KB
下载次数:6
上传日期:2013-12-05 19:16:45
上 传 者adasd
说明:  pyhon写的聊天室 安装: cd /path/to/source python bootstrap.py bin/buildout make sure redis-server is started bin/supervisord [optional] bin/supervisorctl goto localhost:9527
(a live chat room built with python Install: cd /path/to/source python bootstrap.py bin/buildout make sure redis-server is started bin/supervisord [optional] bin/supervisorctl goto localhost:9527)

文件列表:
bootstrap.py (10107, 2011-10-31)
buildout.cfg (318, 2011-10-31)
etc (0, 2011-10-31)
etc\supervisord.conf.in (1073, 2011-10-31)
log (0, 2011-10-31)
log\supervisor (0, 2011-10-31)
log\supervisor\.empty (0, 2011-10-31)
scripts (0, 2011-10-31)
scripts\clear_key.py (168, 2011-10-31)
setup.py (404, 2011-10-31)
src (0, 2011-10-31)
src\app.py (9517, 2011-10-31)
src\config.py (643, 2011-10-31)
src\gc.py (702, 2011-10-31)
src\static (0, 2011-10-31)
src\static\css (0, 2011-10-31)
src\static\css\main.css (5623, 2011-10-31)
src\static\script (0, 2011-10-31)
src\static\script\main.coffee (4184, 2011-10-31)
src\static\script\main.js (4934, 2011-10-31)
src\templates (0, 2011-10-31)
src\templates\chat.html (1431, 2011-10-31)
src\templates\index.html (736, 2011-10-31)
src\templates\layout.html (672, 2011-10-31)
src\templates\room.html (1287, 2011-10-31)
src\utils (0, 2011-10-31)
src\utils\__init__.py (0, 2011-10-31)
src\utils\text.py (5136, 2011-10-31)
tmp (0, 2011-10-31)
tmp\.empty (0, 2011-10-31)

a live chat room built with python(flask / gevent / apscheduler) + redis Basic Architecture ================== ![architecture](http://blog.leezhong.com/image/comet_arch.png) Screenshot ========== ![chat](http://blog.leezhong.com/image/comet_chat.png) 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](http://blog.leezhong.com/image/comet_home_0.1.png) ![room](http://blog.leezhong.com/image/comet_room_0.1.gif)

近期下载者

相关文件


收藏者