Coder Social home page Coder Social logo

ricardo-devis-agullo / comicchat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gyng/comicchat

0.0 0.0 0.0 747 KB

Web client and node.js server based off Microsoft Comic Chat.

Home Page: https://gyng.github.io/comicchat/?server=wss://chat.gahmen.tech:8080#general

License: MIT License

CSS 7.28% HTML 4.96% Dockerfile 0.69% TypeScript 58.57% JavaScript 28.49%

comicchat's Introduction

<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>

comicchat's People

Contributors

gyng avatar ricardo-devis-agullo avatar lawliet89 avatar mplscorwin avatar dependabot[bot] avatar daveol avatar nikolas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.