Contents

Developer guide

Tolk Starter is a website kit for companies that publish in several languages and markets. It is a Payload 3 and Next.js 16 application: the site and its admin run in one Node server, with content in MongoDB or PostgreSQL and uploads on disk.

What you get:

  • A block library. Editors build pages from about fifty blocks, all themed from one set of colour tokens.
  • Languages throughout. Every text has a version per language, every page an address per language, and the site falls back to the default language where a translation is missing.
  • Content modules that can be switched off one by one: news, jobs, dealers, case studies and a product catalog.
  • AI translation, optional. With an Anthropic API key, editors translate, proofread and review in the admin, following a glossary, a style guide and a translation memory.
  • Roles: admin, editor and translator.

Where to start #

  1. Install in ten minutes: the kit running on your machine, with the demo site.
  2. Configuration: environment variables, languages, modules, theme and the optional services.
  3. Deploy: the Docker image and what a server needs.
  4. Extend: add blocks, modules and languages.

Then Roles and access, Testing, Updating Tolk Starter, Upgrading Payload, Troubleshooting, Recording a product walkthrough, Demo pictures and Demo translations.

The repository #

PathWhat it holds
src/collections, src/globalsPayload collections and globals
src/blocksThe layout blocks, the small blocks used inside them, and the block renderer
src/registryEvery collection with public addresses, declared once
src/modules, src/modules.config.tsHow each registered collection renders, and the module switches
src/i18n/locales.tsThe site's languages
src/theme/tokens.tsThe colour tokens
src/accessThe role rules
src/jobsBackground jobs
src/endpoints, src/utilities/translateThe AI translation features
scriptsThe demo seed and the renderer of its pictures, other seeds, the docs tooling and the Docker smoke test
testsUnit, integration and end-to-end tests
CLAUDE.mdThe conventions the code follows, written for people and AI coding agents alike

Read CLAUDE.md before you change the code: it explains the rules the tests enforce.

These guides ship with Tolk Starter 0.6.0: buyers get the same pages in their repository, next to the code they describe.