Files
CatoandClaude Fable 5.1 e908c485fd chore: rename FleetCrown to Loki (#56)
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
5 files changed, 8 insertions(+), 8 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.


Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 16:30:58 -07:00

1.6 KiB

printcraft

Next.js application, self-hosted on Hetzner (bitbaum, behind Caddy) at https://printcraft.orangecat.ch.

Repository layout

The application lives in app/, not at the repo root.

Path What it is
app/ The deployed Next.js app. Its own package.json, src/, supabase/. This is what CI gates and what the box runs.
printcraft/, projects/, templates/, pyproject.toml The Python image-generation / compositor pipeline (see PIPELINE.md).
root package.json Thin wrapper exposing pnpm run verify from the repo root (prettier format check + forwards to app/). Its only dependency is prettier.

A stale, frozen copy of the Next app (root src/, next.config.ts, tsconfig.json, eslint.config.mjs, postcss.config.mjs, components.json, public/, supabase/) got unioned back into main by the unrelated-history merge e657365 (2026-07-17) and lived here for a month before removal. If you see those paths again, it's drifted back — delete them; app/ is the only real tree.

The deploy registry is the source of truth for which directory ships: loki/scripts/hetzner/apps.conf → printcraft|4015|printcraft.orangecat.ch|/home/g/dev/printcraft|app|- (field 5 = APP_DIR).

Development

cd app
pnpm install
pnpm run dev        # http://localhost:3000
pnpm run verify     # lint + typecheck + test — same command CI runs

Deployment

Self-hosted on the Hetzner box via the Loki deploy tooling (scripts/hetzner/deploy.sh printcraft): build → rsync standalone → restart the systemd service → health-check. No Vercel.