This is a NodeCG bundle used for broadcast graphics for the videogame speedrunning marathon event Warwick's Awesome Speedruns & Demos 2021.
nodecg-speedcontrol
for run detail management, run timing and Twitch detail integrationnodecg-tiltify
for pulling donation and reward information for a campaign from Tiltify.comncg-spotify
for displaying the currently playing song used as background music being played via Spotify
mithril
for a hyperscript based framework for creating the web graphics and interfaces.gsap
for providing animations for web graphicsfitty
for dynamically resizing text to fit in dimension in web graphics.lodash
for theget
function to fetch deeply nested valuesmoment
for providing time conversion convenience functionsrollup
and it's plugins for bundling the source JS code and it's assets for use with NodeCG.
# install nodecg
$ git clone --depth 1 --branch v1.8.1 git@github.com:nodecg/nodecg.git
$ cd nodecg
$ npm ci
# install bundles
$ cd bundles
# nodecg-speedcontrol
$ git clone --depth 1 --branch v2.3.0 git@github.com:speedcontrol/nodecg-speedcontrol.git
$ cd nodecg-speedcontrol
$ npm ci
$ cd ..
# nodecg-tiltify
$ git clone --depth 1 git@github.com:daniellockard/nodecg-tiltify.git
$ cd nodecg-tiltify
$ npm ci
$ cd ..
# ncg-spotify
$ git clone --depth 1 git@github.com:EwanLyon/ncg-spotify.git
$ cd ncg-spotify
$ npm ci
$ cd ..
# wasd2021
$ git clone --depth 1 git@github.com:jai-x/wasd2021.git
$ cd wasd2021
$ npm ci
$ cd wasd2021/bundles/wasd2021
$ npm run build
Copy the JSON config files to /nodecg/cfg
.
$ cp cfg/* ../../cfg
Edit the JSON files in /nodecg/cfg
to populate them with credentials.
See the README files of the dependent NodeCG bundles for how to obtain these
credentials.
$ npm run start
# build
$ docker build -t wasd2021:dev .
# run
$ docker run -p 9090:9090 wasd2021:dev
All source code in this repository is licensed under the MIT license, aside from exceptions mentioned below. See the license.txt file for full license terms.
-
Obtained from fonts.google.com and is licensed under the Apache License, Version 2.0:
-
Obtained from 1001Fonts and is licensed under the 1001Fonts Free For Commercial Use License:
-
Obtained from the WASD Organisers and is copyright of the WASD Organisers, used with permission:
-
Obtained from Font Awesome and is licensed under the Create Commons Attribution 4.0 International License:
-
Obtained from SpecialEffect and is Copyright of SpecialEffect, used with permission:
-
Obtained from Twitch and is Copyright of Twitch Interactive, Inc: