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.
28 lines
890 B
Markdown
28 lines
890 B
Markdown
# 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
|