CatoandClaude 50576e2e9e fix(i18n): fix every langkit message finding and check messages in verify (#195)
- Arabic: add the missing zero/two/few/many plural forms to 12 messages.
- French: add the `one` form (0 and 1) to reasonStale and reasonOverdueVaccinations.
- speciesGuide.breedsDesc: de, es, fr, ja, ko, tr now take {species} like English
  (German uses a select so the noun keeps its capital and genitive).
- Korean shop search: ASCII quotes around {query} escaped the argument in ICU,
  so the placeholder rendered literally; use ‘ ’ and take {count} through plural.
- verify runs `langkit check messages --source en` (as the fleet template does);
  @bitbaum/langkit added as a devDependency.

Co-authored-by: Claude <noreply@anthropic.com>
2026-12-01 20:40:07 +01:00
2026-08-29 10:05:01 +00:00
2026-08-29 10:05:01 +00:00
2026-08-29 10:05:01 +00:00
2026-09-14 05:18:29 -07:00

Petvity

Global pet care platform — owners manage multi-species pet profiles, track physical and emotional health KPIs, connect with vets and sitters, access a marketplace, and list pets for adoption. Built with Next.js 16 (App Router), TypeScript, Tailwind v4, Drizzle ORM, and self-hosted PostgreSQL 17.

See AGENTS.md for the full architecture, conventions, and runbook.

Getting Started

pnpm install
pnpm dev          # local dev at http://localhost:3000

Copy .env.example to .env.local and fill in the values (DATABASE_URL, AUTH_SECRET, etc.).

Common commands

pnpm build        # production build (standalone output) — must pass before every push
pnpm lint         # eslint
pnpm test         # vitest unit tests
pnpm db:push      # push schema changes to Postgres
pnpm db:studio    # Drizzle Studio (visual DB explorer)

Deployment

Petvity is self-hosted on the Hetzner box bitbaum (service petvity-app, behind Caddy auto-TLS) at https://petvity.orangecat.ch, backed by self-hosted PostgreSQL 17.

Merging to main deploys automatically: .github/workflows/deploy.yml calls loki's reusable selfhost-deploy.yml workflow, which waits for the commit's own CI to go green before anything reaches the box.

# manual fallback, from the loki repo's scripts/hetzner/ — builds standalone,
# rsyncs to the box, restarts the systemd service, and health-checks
scripts/hetzner/deploy.sh petvity
Languages
TypeScript 94.9%
CSS 1.8%
Shell 1.5%
JavaScript 1.3%
PLpgSQL 0.5%