RickyDevs / stream-pet

Twitch Stream Pet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stream-pet

Twitch Stream Pet

Running the server

Please refrain from using yarn to keep the Git repo a little cleaner. Sorry about my previous transgressions in this regard!

  1. From within the root directory run npm install to install necessary dependencies.
  2. Create a file called .env in server directory.
  3. Copy contents of .env.sample to .env and fill in appropriate variables.
  4. To start the server: npm start

#Running the client

  1. Open http://127.0.0.1:<PORT> in a browser.
  2. To view the current animation state: /api/v1/creature/state/.
  3. Use !talk command to mirror the string in the speech bubble at http://127.0.0.1:<PORT>/. Ex: !talk Hello

Editing the template (for the time being)

  1. Templates use PUG templating engine
  2. They located in the views path.

About

Twitch Stream Pet

License:MIT License


Languages

Language:JavaScript 85.3%Language:CSS 8.0%Language:HTML 6.6%