Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Latest commit

 

History

History
55 lines (37 loc) · 1.37 KB

File metadata and controls

55 lines (37 loc) · 1.37 KB

Go Subs

Manage subs for your sports game.

Run the app locally on a laptop or home server and then access from your mobile phone at the game via Tailscale VPN or similar.

Getting Started

Create your team:

cp ./config_example.json config.json
vim ./config.json

Start server:

go run .

View app

Actions:

  1. Start a game to begin the game timer and the first 'period'.
  2. Sub On/Off players as need. Players play count and duration will increase.
  3. Pause the game to sub off all players, for example at the end of a period/half. Then start the next period by clicking the Resume button.
  4. End a game to stop the game timer and sub off all players.
  5. Reset the game to start a new game, resetting player statistics.

Contributing

Currently this project is feature complete for my use case.

However there are many directions this project could take. Please feel free to fork or create an issue.

When developing open a separate terminal and run air. This will regenerate CSS, render <file>.templ to <file>.go and restart the app whenever a change is made in your IDE.

$ air

Thanks

Creators: