inkfarer / ipl-overlay-controls

Dashboard elements for Inkling Performance Labs broadcast graphics.
MIT License
2 stars 3 forks source link
nodecg splatoon splatoon-2 splatoon2 splatoon3

ipl-overlay-controls

CI

A NodeCG bundle. Provides dashboard panels for Inkling Performance Labs tournaments.

Visit the documentation to read how to use and develop overlays for ipl-overlay-controls.

Install

  1. Install Node.js - Using the LTS version (16.x as of writing) is recommended.

  2. Install Git

  3. Install nodecg-cli: npm i -g nodecg-cli

  4. Create a directory for NodeCG: mkdir nodecg && cd nodecg

  5. Install NodeCG: nodecg setup

  6. Install ipl-overlay-controls: nodecg install inkfarer/ipl-overlay-controls.

  1. Configure the bundle at <nodecg>/cfg/ipl-overlay-controls.json. It should contain the following info:
{
  "lastfm": {
    "apiKey": "Your last.fm API key",
    "secret": "Your last.fm API secret"
  },
  "smashgg": {
    "apiKey": "Your smash.gg API key"
  },
  "radia": {
    "url": "https://radia-production",
    "socketUrl": "wss://radia-websocket",
    "authentication": "Your Authentication Key"
  },
  "sendouInk": {
    "apiKey": "Your sendou.ink API key"
  }
}

The "lastfm", "smashgg", "radia", "sendouInk" sections may be omitted, though functionality will be missing if that is done.

  1. In the NodeCG root, start NodeCG: nodecg start

  2. Access the dashboard at http://localhost:9090/ in your browser.

Development

For development, a number of npm scripts are provided:

This repository uses GitHub actions to automatically verify with ESLint and create builds from the master branch. New releases should be created off the build branch, which contains the built files.

Debugging extensions in JetBrains IDEs

To help debug this bundle in JetBrains IDEs, create a Node.js build configuration with the following options:

To create a debuggable development build, run npm run watch or npm run devbuild in the project root.