Skip to content

致力于模仿QQ,强化了与匿名用户的通信。(基于Gevent+Websocket)

License

Notifications You must be signed in to change notification settings

alioSHA512/python-chat

 
 

Repository files navigation

Demo

http://ahorn.me:8888

Features

  • 消息通过WebSocket发送和接收
  • 浏览器多个Tab页共享Session
  • 使用AngularJS渲染数据

TODOs

  • 学习 ws4py + gevent, 并使用它改写webapp.py
  • 添加用户注册/登录, OpenID登录: [Google, GitHub, 豆瓣, 微博]
  • 检测WebSocket是否断线并尝试重连
  • 时间的国际化问题

如何运行本项目?

git clone [email protected]:TheWaWaR/python-websocket-demos.git
cd python-websocket-demos
pip install -r deps.txt
python webapp.py 8888

About

致力于模仿QQ,强化了与匿名用户的通信。(基于Gevent+Websocket)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.3%
  • CoffeeScript 15.8%
  • HTML 14.4%
  • CSS 8.4%
  • JavaScript 5.8%
  • Nginx 5.3%