Click here to expend the English version of readme.
- This is a chat room application.
- No registration required.
- Completely anonymous.
- Each different URL is an independent chat room.
- The first person get into the chat room will be the administrator of this chat room.
- Support send text message.
- Support send image.
- Support share file.
- Android client.
- Support multi chat room.
- Allow admin kick out people.
- Save the username and allow change it.
- Message frequency limit.
这是一个在线聊天室应用。
特点如下:
- 支持发送图片消息,音频消息,视频消息以及文件消息。
- 有配套的安卓客户端。
- 支持多房间,每个链接都是一个独立的聊天室,例如: https://chat-room-gxnu.onrender.com/独立聊天室
- 支持管理员踢人,输入
kick username
即可。 - 第一个进入房间的自动成为管理员。
- 页面为移动端做了专门优化。
演示站:https://chat-room-gxnu.onrender.com
首次访问需要稍等几秒,这是由于应用冻结了,之后就会好很多。
执行:docker run --restart=always -d -p 3000:3000 justsong/chat-room
开放的端口号为 3000,之后用 Nginx 配置域名,反代以及 SSL 证书即可。
更新版本的命令:docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower -cR
git clone https://github.com/songquanpeng/chat-room.git
cd chat-room
# 安装依赖
npm install
# 启动服务
npm start
# 推荐使用 pm2 进行启动
# 1. 安装 pm2
npm i -g pm2
# 2. 使用 pm2 启动服务
pm2 start ./app.js --name chat-room
部分样式代码来自:https://github.com/koishijs/koishi , MIT 协议。