I’m building Meith: forum software with a modern stack
Description and use
Meith is a self‑hosted, open‑source forum platform built on TypeScript, Next.js, React, and PostgreSQL, featuring a clear separation of business logic and infrastructure that enables easy testing, extension, and long‑term community maintenance.
Problem
Community owners need a self‑hosted forum that remains maintainable over years, with clear separation of business logic, permissions, caching, and extensibility.
Outcome
Meith delivers a maintainable forum foundation with clear separation of concerns, robust permission and caching strategies, and extensibility through themes and plugins, all while remaining self‑hosted and free.
Workflow
- 1. User submits a request via a Next.js route or server action.
- 2. Input is validated and the request is authorized.
- 3. A domain service processes the business logic.
- 4. The service persists data through a repository implementation.
- 5. A public view model is prepared.
- 6. Affected caches are invalidated and the response is returned.
Evidence
Meith is an open‑source, self‑hosted forum platform I’m working on.
The stack is TypeScript, Next.js, React and PostgreSQL, with Drizzle handling the database layer.
Features such as accounts, threads, posts and moderation live in separate packages, with explicit boundaries between the forum’s business rules and the infrastructure running them.
The request flow looks roughly like this: Route or server action → validate input and authorise the request → call a domain service → persist through a repository implementation → prepare the public view model → invalidate affected caches and respond
PostgreSQL does a substantial amount of the infrastructure work. Alongside the content, it holds sessions, full‑text search data, queues and scheduled task state.
- Record date: 2026-10-22T13:11:36.655Z