add tree.txt fileslist, more utility scripts
don't hardcode port
don't hardcode part; improve logging
<font face="ms comic sans">
Quick and dirty. Based off Microsoft Comic Chat. Uses node.js and websockets.
npm install
or yarn install
client/js/client.js
, or supply it via a query param http://example.com?server=ws://localhost:8084
server/server.js
node server/server.js
or npm start
, args --port 8084
(default), --historySize 500
(default)client/index.html
gh-pages
with npm run deploy
Connect to the WebSocket server and start pushing JSON. Subject to change.
{
type: 'join',
room: 'room'
}
history
, join
, part
require room
message
requires room
and text
, spoof: true
optional for relayshistory
--- type
, history
(an array of messages for the requested room)message
--- type
, room
, time
, text
, author
If you want to watch your Best Internet IRC Friends in a voiced comic you can configure relay/relay.js
and then run it with node relay/relay.js
.
</font>