Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rustcc/irccc
An irc service for rustcc by rust.
https://github.com/rustcc/irccc
Last synced: about 1 month ago
JSON representation
An irc service for rustcc by rust.
- Host: GitHub
- URL: https://github.com/rustcc/irccc
- Owner: rustcc
- Created: 2014-12-27T05:37:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-28T01:16:47.000Z (almost 10 years ago)
- Last Synced: 2024-04-23T14:09:23.268Z (8 months ago)
- Language: Rust
- Size: 145 KB
- Stars: 2
- Watchers: 14
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
irccc
=====An irc service for rustcc by rust.
初步设计:
1. 第一次登录,需要输入用户名(昵称);
2. 一旦输入,不可更改。下次进来时,默认直接就进入聊天室了(放cookie或localstorage中吧);
3. 进入聊天室界面,开始时,只有一个公共的开放的聊天室,一切从简吧,也看不到当前在线的用户列表;
4. 不能实现单聊;
5. 需要显示当前有多少用户在线;
6. 用户关闭后,需要及时地进行状态的变化和通知;
7. 前端兼容性不考虑ie,也不要用原生写,还是用jquery吧,其它更高级的mvc框架不考虑了;
8. 通信协议可以考虑websocket,如果比较难实现,可以使用ajax long poll;
9. 开始的时候,不用数据库,不保存聊天记录,登上去自己看(可以考虑存储在前端,存储一段时间内的);参考项目:
- https://github.com/cyderize/rust-websocket
- https://github.com/hyperium/hyper
- https://github.com/iron/iron