No description
  • JavaScript 82.7%
  • CSS 16.7%
  • Shell 0.4%
  • HTML 0.2%
Find a file
2026-03-21 21:46:02 +01:00
.storybook upgrade storybook 2017-09-22 14:38:45 +02:00
.vscode Add editor config, fix url to static 2019-02-18 10:47:33 +01:00
components please the linter 2022-03-30 10:52:04 +02:00
lib/redis add redis 2017-03-13 11:03:57 +01:00
pages please the linter 2022-03-30 10:52:04 +02:00
sketch make scoreboard smoother 2017-09-22 13:46:16 +02:00
src Fix Redis connection: use new keyword and lazy connect 2026-03-10 00:32:52 +01:00
static Improved logo for SK Rival - again. (#64) 2023-09-08 11:26:33 +02:00
store Add support for score delay (#44) 2022-01-14 07:28:19 +01:00
stories add prettier 2017-09-22 14:45:04 +02:00
.babelrc add server side rendering for styled components 2017-09-22 15:34:43 +02:00
.buildpacks add nodejs buildpack 2019-06-20 14:18:29 +02:00
.eslintrc.json Add network problems alert when not able to save state to server 2022-03-29 17:16:44 +02:00
.gitignore add torvastad logo 2020-02-06 22:08:24 +01:00
index.js Add network problems alert when not able to save state to server 2022-03-29 17:16:44 +02:00
package.json chore: remove unused deps and update deps that require small effort 2021-08-18 14:27:49 +02:00
Procfile move to yarn 2017-10-25 12:22:59 +02:00
README.md Updated README.md 2021-09-15 18:59:47 +02:00
server.js fix firebase png 2022-08-19 22:33:41 +02:00
yarn.lock Fixed #51 - makes the key case insensitiv 2022-03-21 14:46:35 +01:00

Broadcasting (Beach) Volleyball Scoreboard

Creates/Updates eight files with the information you provide from the website.

To be used together with OBS or another broadcast solution, to provide a (beach) volleyball scoreboard graphical layer from on top of the stream you have from the same host.

This is normally a URL to a webpage that you put on top of the stream. But we also provide the possibilty to have a image, but then you need to periodically update the image.

There also exist a solution to run against a firebase database. so this can work togheter with beachvolleyball-Scoreboard - github | webpage

By default you can find the application on http://localhost:3000.

You need to install and run Redis before running the server.

Scoreboard as a service

You can use the scoreboard (auto-updated from this repo) at https://www.volleytv.no/score-board/

Prerequisites

  • Node.js
  • Redis

Environment variables

  • PORT (optional) : Will default to 3000 if it's not set

install

npm install

Run Example

PORT=3000 node index.js

Update from another device

We recommend to install and try ngrok.

With ngrok you can access your local website from the internet, and update the local computer from a tablet or similar. Without having to start this app on their computer.

Deployment on dokku

First, on your dokku instance, create an app.

Create app

dokku apps:create <APP_NAME>

Then we need to install the dokku redis plugin, and create a redis instance for our app.

sudo dokku plugin:install https://github.com/dokku/dokku-redis.git redis
dokku redis:create <REDIS_NAME>
dokku redis:link <REDIS_NAME> <APP_NAME>

Add dokku git remote

On our own computer, add a dokku git remote that we can push to for deployment:

git remote add dokku dokku@your-domain.com:<APP_NAME>

Then we can deploy our master branch to this dokku remote every time we want to deploy.

git push dokku master