Make your username color less boring by changing it periodically
Find a file
Manuel eec98d7e5c
Properly exit program and use hex instead of hsl
* Properly exit on Ctrl+C and termination signal
* Define default username color and calculate HSL from this hex value
2021-03-22 07:42:11 +01:00
.editorconfig Initial commit 2021-03-22 07:26:06 +01:00
.gitignore Initial commit 2021-03-22 07:26:06 +01:00
colorbot.config.js Properly exit program and use hex instead of hsl 2021-03-22 07:42:11 +01:00
index.js Properly exit program and use hex instead of hsl 2021-03-22 07:42:11 +01:00
package.json Properly exit program and use hex instead of hsl 2021-03-22 07:42:11 +01:00
README.md Initial commit 2021-03-22 07:26:06 +01:00
yarn.lock Initial commit 2021-03-22 07:26:06 +01:00

Twitch Color Bot

Setup the following environment variables:

  • TWITCH_BOT_KEY (required)
  • TWITCH_BOT_USERNAME (required)
  • TWITCH_BOT_COLOR_MODE
    • Currently supports random and loop
    • Random will select a random color with varying hue, saturation, and lightness.
    • Loop will increment the hue value through the spectrum and loop.
  • TWITCH_BOT_INTERVAL
    • Time between color changes in seconds. Default 10 seconds.

Running locally

Install dependencies with yarn install.

Run app

node index.js