Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 989 Bytes

File metadata and controls

49 lines (32 loc) · 989 Bytes

Rocket Map Component

Usage

Setup

  1. Go
go mod tidy
  1. Datastar + Rocket
task download # runs `go run cmd/web/downloader/main.go`
  • Downloads the datastar-rocket.js bundle into the /web/resources/static/datastar/ directory
  1. Web Dependencies
go run cmd/web/build/main.go

Development Mode

go tool task live

OR

go tool air -build.cmd "go build -tags=dev -o tmp/bin/main ./cmd/web" -build.bin "tmp/bin/main" -misc.clean_on_exit true -build.include_ext "go,templ"

# watch and rebuild web assets + hotreload
go run cmd/web/build/main.go -watch

# watch and rebuild templ components
go tool templ generate -watch

Data Sources

  • land.json
  • all-members.json -> scraped from Discord API on 2026-01-28