farmd MVP scaffold: HTTP server, healthz, dashboard placeholder

Go printer-farm manager (Wave 1, Redmine #855). Cloudron-deployable,
OIDC via platform provider planned; Moonraker/OctoPrint/Bambu adapters
+ Dolibarr connector are the next milestones. Dockerfile: multi-stage,
non-root, no Node anywhere in the chain.
This commit is contained in:
2026-09-07 08:07:25 -05:00
commit 18f54afcac
6 changed files with 108 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# STLP Shop Manager
Go printer-farm manager for Starting Line Productions — Etsy batch printing
with Dolibarr ERP/MRP integration. Cloudron-deployable, OIDC via the platform
provider.
Design + proposal: Redmine [#855](https://projects.knownelement.com/issues/855)
(program: [#836](https://projects.knownelement.com/issues/836), RDStack).
## Status
MVP scaffold: HTTP server + /healthz + dashboard placeholder. Next: printer
adapters (Moonraker/Klipper, OctoPrint, Bambu), job queue + state machine,
Dolibarr connector, OIDC login (Cloudron platform provider).
## Build & run
go build ./cmd/farmd
FARMD_ADDR=:3000 FARMD_DB_PATH=/tmp/farmd.db ./farmd
Docker: `docker build -t farmd .` (serves :3000, data at /app/data).
## Layout
cmd/farmd/ entrypoint
internal/server/ HTTP surface (healthz, dashboard)
web/templates/ embedded dashboard templates