Skip to content
qino

Documentation

Guides, concepts, and the full API of qino, the type-safe content pipeline for Markdown, MDX, and JSON.

Guide

Install qino, lay out a project, and run the CLI.

Migration

Move an existing content layer to qino, one tool at a time.

Concepts

The mental model behind collections, trees, items, schemas, relations, views, and types.

API Reference

Every public function and type in @qino/cms, with inputs, outputs, and errors.

Examples

Reference apps that use qino with popular frameworks.

What's new

Full changelog

  1. 0.25

    • Removes the raw field from Markdown entries. #367
    • Adds page Markdown to trees and items, as collections have it. #367
    • Adds page Markdown to collections: a standalone Markdown version of each entry page, to serve to AI agents. #367
    • Adds cli.build.llmsTxt, which makes qino build write llms.txt at the root of mediaFolder, from a template you write. #367
    • Adds llms-full.txt to what qino build writes with cli.build.llmsTxt on, at the root of mediaFolder, so an agent can read every entry page in one request. #367
    • Adds page Markdown for index pages. #367
    • Adds markdownComponents to the pages of collections and trees: functions, by component name, whose output replaces an MDX component in page Markdown. #367
    • Adds negotiateMarkdown, which answers agents that ask for Markdown from any route or middleware that works with Web Request and Response objects, such as TanStack Start handlers and Next.js route handlers. #367
    • Fixes reading entries with image fields on serverless hosts, which ship neither mediaFolder nor sharp's native binary: qino build now records each image in .qino/images.json inside the content folder, and a read falls back to it when the file is missing or sharp can't load #381
    • Fixes qino build, qino check and qino lint loading test files in qino/, which made them fail on a test that imports its runner, such as vitest. #376
    • Fixes _stats counting {#id} heading ids as words. #367
    • Fixes qino check and qino build failing with "Could not parse expression with acorn" on an .mdx file with a {#id} heading id, while scanning for missing media. #373
  2. 0.24

    • Adds incrementalEntries to initQino, for long-running dev servers. #345
    • Changes qino build to check qino/_generated/config.json instead of rewriting it when the CI environment variable is set, as on GitHub Actions and Vercel. #353
    • Improves the first listing call under next dev for collections and trees with markdown.stats or markdown.toc. #349
  3. 0.23.1

    • Fixes getEntries and getPaginatedEntries calls that run at the same time sharing entry objects. #342
    • Fixes two relation bugs in getEntries, getPaginatedEntries, and getEntry. #343