wechat:简单的聊天室

时间:2021-05-14 16:38:27
【文件属性】:
文件名称:wechat:简单的聊天室
文件大小:1.27MB
文件格式:ZIP
更新时间:2021-05-14 16:38:27
Python Chat Room Robot, TaskQueue, Tornado, Redis, MySQL, Bootstrap, jQuery, Requests and more(). Summary 基于Redis的简单任务队列 ,任务顺序执行,没有优先级......... 如果单独拿出来用千万要看****!!! Tornado提供Web后端服务,前端使用jQuery和Bootstrap(太没新意了...)。 用MySQL来存储注册用户信息、邮箱验证和密码找回的UUID。 用Redis存储在线用户以及聊天信息。 邮箱用来验证注册用户和密码找回。 实时上下线消息、聊天消息的推送使用长轮询(或许考虑使用 WebSocket)结合Redis的 Pub-Sub 功能。如果消息来自当前正在聊天的用户,直接显示,否则显示未读数;图片消息经过 JavaScript base64 编码后传送到服务端。 机器
【文件预览】:
wechat-master
----.gitignore(20B)
----templates()
--------pwchanged.html(149B)
--------signup.html(3KB)
--------error.html(953B)
--------login.html(2KB)
--------verified.html(144B)
--------mail.html(193B)
--------index.html(2KB)
--------changepw.html(2KB)
--------findpw.html(1KB)
--------skipbase.html(1KB)
--------base.html(1KB)
----requirements.txt(101B)
----example1.png(299KB)
----example2.png(304KB)
----models()
--------__init__.py(1B)
--------mysql.py(287B)
--------rds.py(3KB)
----LICENSE(1KB)
----static()
--------fonts()
--------robots.txt(49B)
--------js()
--------css()
--------imgs()
--------favicon.ico(108KB)
----example3.png(191KB)
----libs()
--------mail.py(2KB)
--------__init__.py(0B)
--------utils.py(3KB)
--------handler.py(1KB)
--------robot.py(2KB)
--------message.py(1KB)
----README.md(3KB)
----chat.sql(1KB)
----nginx.conf(2KB)
----makefile(144B)
----chat_share.conf(589B)
----app.py(2KB)
----handlers()
--------user.py(7KB)
--------__init__.py(535B)
--------chat.py(6KB)
----English.md(2KB)
----connection.config(25B)
----taskq()
--------worker.py(4KB)
--------__init__.py(144B)
--------connection.py(1KB)
--------example.py(1KB)
--------utils.py(5KB)
--------README.md(2KB)
--------task.py(4KB)
--------executor.py(1KB)
--------tqueue.py(6KB)
--------connection.config(25B)

网友评论