Skip to content

A simple mobile-first golang application for tracking games and seasonal fines for a sports team, can be self-hosted via docker

Notifications You must be signed in to change notification settings

KiwiKid/baileys-hammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baileys-hammer

a simple application for tracking games and season fines for a sports team, it can be self-hosted via docker and includes configuration for a fly.io deployment.

alt text

Features

  • Match, Score & Injury Tracking
  • Fine + Player Multi-Select
  • Mobile-First for quick entry while discussing fines on the go
  • "FineMaster" page for high-level fine/match/season management

Written in go, using templ, a-h/templ and TomSelect (via hx-tomselect)

Development

(using vscode by default)
nix develop .

# pre-commit/deploy
nix develop .#devShells.build

# deploy
nix develop .#devShells.deploy

# or build docker via nix flake:
nix develop .#devShells.dockerBuild



# or via dockerFines<
$ docker build -t baileys-hammer .
$ docker run -p 8080:8080 baileys-hammer

# or build docker via nix flake:
nix develop .#devShells.dockerBuild

fly deploy

TODO:

  • Fix 'ADD' Option sizing (too small)

New Setup

  • (Create Fly Volume for sqlitedb)
  • create fly-XXX.toml file
  • add DATABASE_URL to litestream.yml
  • set fly.io secrets
fly secrets -c fly-XXX.toml
    DB_REPLICA_URL
    R2_ACCESS_KEY_ID
    R2_SECRET_ACCESS_KEY
    R2_BUCKET
  • add

About

A simple mobile-first golang application for tracking games and seasonal fines for a sports team, can be self-hosted via docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •