comicchat
comicchat copied to clipboard
Web client and node.js server based off Microsoft Comic Chat.
<font face="ms comic sans">
comicchat
Quick and dirty. Based off Microsoft Comic Chat. Uses node.js and websockets.

Features
- Comic chat
- Rooms
- Notifications
- Text-to-speech via Web Speech API
- Basic relay support for animating your (IRC) chat
Usage
- Clone repo.
npm installoryarn install- Change address of server in
client/js/client.js, or supply it via a query paramhttp://example.com?server=ws://localhost:8084 - Change port of server in
server/server.js node server/server.jsornpm start, args--port 8084(default),--historySize 500(default)- Visit
client/index.html
Deploy
- Deploy the client to
gh-pageswithnpm run deploy
Protocol
Connect to the WebSocket server and start pushing JSON. Subject to change.
Send
{
type: 'join',
room: 'room'
}
history,join,partrequireroommessagerequiresroomandtext,spoof: trueoptional for relays
Receive
history---type,history(an array of messages for the requested room)message---type,room,time,text,author
Relay
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.
TODO
- Tests
</font>