CatoandClaude Opus 5.5 5bcb27cd00 chore(ci): one check per change — remove the merge sweep, check on PRs only (#110)
Removes the fleet auto-merge sweep caller (and wake chain where present);
checks run on pull requests only, not again after merging; a deploy that
waited for CI on main now deploys on push. The forge merge check
(forge/verify) verifies each PR on its merge result and merges it.

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:14:20 +01:00
2026-08-29 10:18:53 +00:00

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.

Languages
TypeScript 73.3%
Python 17.4%
JavaScript 3.5%
CSS 3.4%
PLpgSQL 2.4%