Skip to main content
Welcome to OlonJS — a Next.js framework for building content-rich websites from structured JSON data and Zod schemas. Instead of wiring up a CMS or writing bespoke data-fetching logic, you define your pages and collections as typed schemas, author content as plain JSON files, and let OlonJS handle routing, rendering, and data baking. The built-in Studio visual editor lets you edit any section on any page without ever touching code.

Get started

Introduction

Learn what OlonJS is, how it works, and why the schema-driven approach makes your content easier to manage and extend.

Quickstart

Clone the next-inkwell template, run it locally, and make your first content edit in under ten minutes.

Core Concepts

Understand pages, collections, relations, and sections — the four building blocks of every OlonJS project.

Reference

Browse the full reference for built-in sections, collection schemas, configuration options, and API routes.

Key features

Schema-driven pages

Every page is a JSON file validated against a Zod schema. Add a new section by adding a typed object — no database migrations required.

First-class collections

Model posts, tags, authors, or any entity as a collection. Collections are typed, relatable, and statically served from public/collections/.

Visual Studio editor

The built-in /admin Studio surfaces a live editing UI for every section and collection item, driven entirely by your Zod schemas.

Cross-collection relations

Reference tags from posts, authors from articles, or any collection from any other. Relations are resolved at build time and type-safe at runtime.

Static-first architecture

The prebuild step bakes all data into public/ for zero-latency static serving. Pages, collections, schemas, and MCP manifests are all flat files.

Next.js 15 App Router

OlonJS runs on Next.js 15 with the App Router. Catch-all routes, server components, and streaming are all supported out of the box.
Every OlonJS project automatically generates an mcp-manifest.json at build time. AI agents and tools that support the Model Context Protocol can read this manifest to discover and interact with your site’s content schema — no extra configuration needed.