An open, extensible format for portable learning content, published at braivo.org. Konstantin Tarkus founded Braivo Spec.
content/ the specification, in plain Markdown
schemas/ its JSON Schemas, one directory per version
examples/ example packages
validator/ a TypeScript validator and its command line
conformance/ test packages with expected verdicts, for any implementation
website/ the Astro and Fumadocs site that publishes both
docs/adr/ design decisions
Requires Bun.
bun install
bun run dev # http://localhost:4321
bun run validate <path> # check a package directory or .braivo file
bun run format # format code
bun run lint # lint code
bun run test # unit and conformance tests
bun run check # check formatting, lint, type-check, test, build, and check links
bun run preview # serve the build as Cloudflare wouldA page is a .md file under content/ with a title in its frontmatter. Its path is its URL under /spec: content/index.md is /spec, and content/a/b.md is /spec/a/b. A meta.json beside pages orders them in the sidebar.
Link with relative paths to files, as on GitHub: ./manifest.md#fields, ../schemas/0.1/manifest.json. The build turns them into site URLs, or GitHub URLs for files the site does not publish. Put images in content/.
A file at schemas/<version>/<name>.json is served at /schema/<version>/<name>.json.
See the contribution guidelines and project license terms.
bun run deploy publishes the static build to Cloudflare Workers at braivo.org. It needs wrangler login and access to the braivo.org zone.