This is a NodeCG bundle used for broadcast graphics for the videogame speedrunning marathon event Warwick's Awesome Speedruns & Demos 2021 Summer.
It also uses nodecg-cli to setup the bundles.
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.
Tested with node 16.13.1 and npm 8.1.2
npm install nodecg-cli -g
# Create repo
nodecg setup
# Install bundles
nodecg install speedcontrol/nodecg-speedcontrol
nodecg install daniellockard/nodecg-tiltify
nodecg install EwanLyon/ncg-spotify
# Install this bundle
git clone https://github.com/ericthelemur/wasd2022-frontend
cd nodecg/bundles/wasd2022-frontend
npm ci
npm run build
Copy the JSON config files to /nodecg/cfg
. In wasd2022-frontend
:
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.
In wasd2022-frontend
:
npm run start
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: