Files
CatoandClaude 839cf107ce feat(template, registry): languages through @bitbaum/langkit (#576)
SHARED.md gains the langkit row, STACK.md's i18n row names it beside
next-intl. The app template takes its language list (i18n/routing.ts, same
exports), English fallback (i18n/request.ts, lib/mail.ts), switcher
(components/LocaleSwitcher.tsx, inside sitekit's masthead) and message check
from langkit: i18n/parity.test.ts, a regex copy found in six apps, is
replaced by `pnpm run check:messages` (langkit check) in verify, which also
catches dropped <tags> and plurals without a needed form.

Template verify green here (lint, types, 55 tests, langkit check, build);
fleet verify green with VERIFY_SKIP_TEMPLATE=1.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 20:10:21 +01:00
..

TITLE

Beta — running, not released.

Run it

pnpm install
cp .env.example .env.local   # fill in DATABASE_URL at least
pnpm run db:migrate          # create the tables
pnpm dev                     # http://localhost:3000

pnpm run verify is the definition of done: format, lint, typecheck, unit tests and a production build. pnpm run test:integration drives sign-up and sign-in against a real Postgres (DATABASE_URL must name a *_test database — the suite recreates its schema).

What is already here

  • Accounts — email and password (with email confirmation when mail is configured), a sign-in link by email, passkeys, two-factor codes, and "Continue with" buttons for the shared bitbaum sign-in and for OrangeCat, each shown only when configured. Roles: customer, helper, professional, staff, admin.
  • Three languages — English, German and French under /en, /de, /fr.
  • Security — a nonce-based Content-Security-Policy, HSTS, no framing, no referrer, camera/microphone/location/payment switched off; rate limits on every sign-in path; provider tokens never stored; secrets sealed at rest.
  • A model — POST /api/ai through @bitbaum/ai-kit, on the shared free chain or the person's own key (Account → Your own model).
  • /api/health — green only when the database answers and accounts work.
  • Roadmap and changelog at /roadmap and /changelog, from ROADMAP.md and CHANGELOG.md via Loki's fleet map.

The environment the app reads is documented in .env.example.

Deploy

Push to main deploys through Loki's shared self-host workflow (.github/workflows/deploy.yml — the only file that knows about our infrastructure). After each deploy, live-check.yml checks the live site from outside.

Made from bitbaum/fleet templates/app. MIT licensed.

Shared building blocks

Review package-plan.json before adding a feature. The root layout composes sitekit chrome, accountkit owns account behavior and screens, and bip-kit renders the journal plus roadmap/changelog. Chat surfaces use chatkit's shared composer and thread through components/chat/SharedChat.tsx. Publish real journal entries as reviewed Markdown in content/blog; drafts stay excluded by bip-kit. Empty records say they are empty. Shared package composition CI checks actual adoption and the release-to-dependency-update-to-deployment path.