ZoZin

v1.0.0
be.zozin/zozin Checked 1 day ago Published 2 days ago

Interactive trainer for Dutch strong verbs: past tense, past participle and hebben/zijn.

Free, non-commercial trainer for Dutch strong (irregular) verbs: past tense singular and plural, past participle and the auxiliary (hebben / zijn). Live at . No accounts, no database: verb data lives in data/verbs.json, progress stays in the browser (localStorage). Requires Node.js 20.9+ and pnpm (the version is pinned in package.json, corepack enable picks it up).

Summary extracted from the README.

ZoZin

Free, non-commercial trainer for Dutch strong (irregular) verbs: past tense singular and plural, past participle and the auxiliary (hebben / zijn). Live at https://zozin.be.

  • /oefenen: trainer (all verbs, B1, your own selection, or your previous mistakes)
  • /lijst: all verbs in three columns with search, a B1 filter and a self-test mode
  • /chat: use the trainer inside ChatGPT and Claude (MCP app)
  • Installable as a PWA and usable offline

No accounts, no database: verb data lives in data/verbs.json, progress stays in the browser (localStorage).

Development

Requires Node.js 20.9+ and pnpm (the version is pinned in package.json, corepack enable picks it up).

pnpm install
pnpm dev           # http://localhost:3000
pnpm check         # typecheck + lint + unit tests (what CI runs)
pnpm build         # production build
pnpm test:watch    # Vitest in watch mode
pnpm build:widget  # rebuild the MCP trainer widget (also runs on dev/build)

No environment variables are needed.

MCP server

/api/mcp is a stateless MCP endpoint (Streamable HTTP, no authentication) with the read-only tools start_practice, check_answer, get_verb and list_verbs, and an interactive trainer widget (widget/, MCP Apps). In development, open http://localhost:3000/widget-preview to try the widget in a normal tab. Details: docs/mcp-server.md.

Structure

app/              Next.js routes (thin): pages, /api/mcp, manifest, icons, /sw.js
features/         UI per use case: trainer/, verb-list/
core/             pure domain logic: verbs, answer checking, session, search
data/             verbs.json (+ validation and integrity tests)
infrastructure/   localStorage progress store, service worker source
mcp/              MCP tools, schemas and server setup
widget/           trainer widget for ChatGPT / Claude (Vite, single HTML file)
components/       shared UI, components/ui is shadcn/ui
lib/              site config and small helpers

Layers and the dependency rule: docs/architecture.md.

Stack: Next.js (App Router) · React · TypeScript · Tailwind CSS v4 · shadcn/ui (Radix) · Vitest · Vercel.

Contributing

Found a wrong form or a missing verb? Open an issue or a pull request against data/verbs.json; the data tests (pnpm test) check every entry. For code changes, run pnpm check before opening a pull request.

Security problems: see SECURITY.md.

Licence

The code is licensed under MIT.

The verb forms in data/verbs.json are common facts of the Dutch language, compiled by hand from several public sources. Use them freely.