GithubHelp home page GithubHelp logo

amygara / twitch-master Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twitchintheshell/twitch-master

0.0 1.0 0.0 113 KB

Twitch chat; QEMU user interaction backbone.

License: Other

JavaScript 94.25% Shell 5.75%

twitch-master's Introduction

twitch-master

Official site: twitchintheshell Twitter: @twitchshell

The code is currently running on our stream, feel free to drop by and say hi!

About

This is the user interaction backbone of our back-end. It is built to take inputs from a Twitch channel's chat, and send them to a QEMU virtual machine (if they are appropriate, see map.json for that).

Specifically, it is accomplished with a multiprocess system, comprised of 5 functional portions:

  • client_console: Shows the parsed votes from chat.
  • client_status: Shows the results of each voting period.
  • client_vnc: Runs the VNC client that connects to QEMU to act as the VM's display.
  • twitch_master: Connects to twitch chat, and processes messages in chat. The real meat of the code base as it stands.
  • qemu: Starts the QEMU process and restarts it if it dies.

Configuration

Create a file with name config.json in the root directory of the source code and content-structure as the following:

{
    "nick": "my_twitch_username",
    "password": "oauth:6vgm8nZzzZ1337mine"
}

Then you can launch the files qemu.js, client_console.js, client_status.js and twitch_master.js.

If you're running this on a Mac, npm will not be able to install zmq without first running:

brew install pkg-config icu4c

then:

brew link icu4c --force

Contribution

Please open a pull request as/when you see fit. We will review it and then act accordingly. Also, try to stick to the coding style you see.

License

GNU GPL v3 or later. Please check the LICENSE file for more information.

twitch-master's People

Contributors

aborgna avatar anoadragon453 avatar deelowe avatar francois2metz avatar niemal avatar singlerider avatar

Watchers

 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.