Commit Graph

4 Commits

Author SHA1 Message Date
explewd
be712befe9 Add MIT license
All checks were successful
Docker / build-and-push (push) Successful in 37s
2026-07-09 19:55:19 +02:00
Fredrik Johansson
6c1f672b76 Split UI render into full rebuild and passive refresh
All checks were successful
Docker / build-and-push (push) Successful in 37s
The old renderLoop rebuilt the whole DOM every tick and had to bail
out entirely while a <select> was focused to avoid closing it.
refresh() now patches only values that drift on their own
(points/rate, crashes, log lines) in place, leaving the deploy form
and buttons untouched, while render() still handles the structural
rebuilds triggered by user actions.
2026-07-08 22:59:34 +02:00
Fredrik Johansson
85c87e674e Containerize for independent deployment
All checks were successful
Docker / build-and-push (push) Successful in 46s
Adds a Dockerfile, nginx config, docker-compose.yml, and a Gitea Actions
workflow (mirroring goonk's), so rack builds and ships as its own image
rather than being embedded in goonk-cv's build - deploys stay fully
decoupled. Targets a subdomain, not a goonk.se subpath, to avoid needing
path-prefix rewriting kept in sync across the build, edge proxy, and
container.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 22:23:26 +02:00
Fredrik Johansson
f0314e7492 Initial commit: rack, a homelab idle game
Core loop (hardware tiers, deployable services, upgrades, random events,
prestige), quirks, host nicknames, an ASCII rack view, in-app help/
changelog, and a Vitest suite covering engine logic and data balance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 21:55:54 +02:00