Skip to content

aresprotocols/comicchat

 
 

Repository files navigation

<font face="ms comic sans">

comicchat

Quick and dirty. Based off Microsoft Comic Chat. Uses node.js and websockets.

Screenshot

Features

  • Comic chat
  • Rooms
  • Notifications
  • Text-to-speech via Web Speech API
  • Basic relay support for animating your (IRC) chat

Usage

  1. Clone repo.
  2. npm install or yarn install
  3. Change address of server in client/js/client.js, or supply it via a query param http://example.com?server=ws://localhost:8084
  4. Change port of server in server/server.js
  5. node server/server.js or npm start, args --port 8084 (default), --historySize 500 (default)
  6. Visit client/index.html

Deploy

  • Deploy the client to gh-pages with npm run deploy

Protocol

Connect to the WebSocket server and start pushing JSON. Subject to change.

Send

{
    type: 'join',
    room: 'room'
}
  • history, join, part require room
  • message requires room and text, spoof: true optional 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>

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.8%
  • CSS 11.0%
  • HTML 6.2%
  • Dockerfile 1.0%