Live Group Chat:开源的微信群网页直播项目
d3fw
10年前
Live Group Chat是一个能够将微信群聊记录在Web页面中直播。Live Group Chat 包含一个 Android app和 web 网站。前者挂钩到Android的通知系统,并通过WebSocket的发送聊天记录到网站上;后者接收该聊天记录,并将其显示在网页中。
Android app
- Install Live Group Chat app.
- Enable Notification service (Settings->Acessibility->Live Group Chat).
- Input correct websocket url, username and password.
- Click Start button.
Web site
Build meteor application bundle
$ cd live-group-chat/server $ meteor build dest_dir # the output directory will contain just a tarball that includes everything necessary to run the application server. (server.tar.gz)
Deploy application on the internet
- External dependency:Node.js 0.10.36, MongoDB.
- To run the application:
$ (cd programs/server && npm install) $ export PORT="3000" $ export MONGO_URL='mongodb://user:password@host:port/databasename' $ export ROOT_URL='http://example.com' $ export MAIL_URL='smtp://user:password@mailhost:port/' $ node main.js # PORT="80", need root privileges