SchemaFlux

A compiler for structured data

$ go install github.com/greynewell/schemaflux/cmd/schemaflux@latest

1,997 entities → 2,328 pages in ~500ms · Zero dependencies. Single binary.

Compiler Pipeline

12 ordered passes transform your data from markdown to output. Each pass enriches the intermediate representation with computed metadata.

Pluggable Backends

Built-in HTML backend with taxonomy pages, JSON-LD, sitemaps, RSS, pagination, A-Z indices, and search.

Zero Dependencies

Go standard library only. Compiles to a single static binary. No runtime, no node_modules, no Docker needed.

Structured Data

JSON-LD schemas, Open Graph tags, XML sitemaps, RSS feeds, robots.txt, and llms.txt generated automatically.

In Production

mcpbr.org

Benchmark runner for MCP servers. 25+ benchmark pages with JSON-LD, breadcrumbs, and sitemaps.

evaldriven.org

Eval-driven development manifesto. Article and FAQ structured data generated by SchemaFlux patterns.

Documentation

Getting Started

Overview

SchemaFlux is a compiler for structured data. It reads entities with metadata, enriches them through an ordered pass pipeline, and emits output through pluggable backends.

Quick Start

Install SchemaFlux and build your first site in under five minutes.

Configuration

Complete reference for the schemaflux.yaml configuration file.

Getting Started

Install SchemaFlux and build your first static site in minutes. Requires Go 1.25 or later.

Core Concepts

Architecture

How SchemaFlux works internally: frontend, compiler passes, IR, and backends.

Entities

Understanding entities: the core data unit in SchemaFlux.

Compiler Passes

The 12 ordered compiler passes that transform entities from raw data to enriched output.

Reference

Template Engine

SchemaFlux uses Go's html/template with 60+ custom functions for rendering entity pages, homepages, taxonomy hubs, and more.

Templates

Go template syntax, available functions, and template types in SchemaFlux.

Taxonomies

Grouping entities with taxonomies: categories, tags, and custom classification systems.

CLI Usage

Reference for the schemaflux command-line interface. Build static sites from structured data with a single command.

Structured Data

JSON-LD schemas, Open Graph, sitemaps, RSS feeds, and SEO features.

Backends

Output backends: the HTML backend, output structure, and building custom backends.