Repository navigation
Maintainer guide
How the repository, the website and releases work. For the contribution process (issue first, 30 days of comment for data-model and MUST changes) see CONTRIBUTING.md.
One repository holds everything.
| Path | What it is |
|---|---|
SPECIFICATION.md, schema/, examples/, appendix/, CHANGES-FROM-DRAFT.md
|
The standard. A normative change touches the text, the schema and the examples in the same pull request. |
manifest/, discover/, cmd/radio2/
|
The Go reference implementation, module github.com/Tend-Stack/radio2. |
testdata/invalid/ |
Files that must fail, each for the reason in its name. |
site/ |
The website at radio2.org, a separate Go module (github.com/Tend-Stack/radio2/site) that reads the specification from the parent folder. |
site/content/ |
The site's own pages; site/content/blog/ holds blog posts. |
.github/ |
CI, the Pages deployment, issue forms, Dependabot. |
go vet ./... && go test ./... # specification, schemas, examples, Go library
cd site && go vet ./... && go test ./... # website: every page, link, fragment, CSP and example
The ci workflow runs both on every push and pull request. CodeQL and Dependabot run on GitHub as well.
- Build locally from
site/:go run ./cmd/build -out public, then openpublic/index.html. - Every push to
mainruns thePublish siteworkflow, which tests, builds and deploys to GitHub Pages. A change to the specification therefore reaches radio2.org within a few minutes. - radio2.org is a custom domain on GitHub Pages, served through Cloudflare. Cloudflare handles HTTPS and redirects
http://tohttps://; GitHub's own "Enforce HTTPS" setting stays off because GitHub cannot issue a certificate for a proxied domain. - The brand kit (marks, badges, banners) is generated by
site/tools/render-brand.shand committed; CI does not render it.
Add site/content/blog/<slug>.md with front matter:
---
title: The post title
date: 2026-11-29
description: One sentence for the index and the feed.
author: Optional name
---
draft: true keeps a post out of the site and the feed. The post appears at https://radio2.org/blog/<slug>/ and in the Atom feed after the next push. A missing title or a malformed date stops the build. Details are in site/README.md.
Tag each specification draft with its version (v0.2.4-draft) and push the tag; the release workflow tests, builds the radio2 binaries, writes SHA256SUMS, attests build provenance and publishes the release with notes taken from CHANGES-FROM-DRAFT.md. Before tagging, add the changes section and update CITATION.cff. Full steps: RELEASING.md. After a release, the Go proxy and pkg.go.dev pick up the new version.
The articles explain the specification; they are not normative, but readers rely on them. When a pull request changes a normative rule or a number (a limit, a length, a member name), update the matching articles in the same week. The pull request template has a checkbox for this.
- radio2.org publishes
sitemap.xml,robots.txtand a canonical URL on every page. -
OpenSSF Scorecard checks the repository's security practices weekly and on every push to
main; its score is the badge in the README. - CodeQL, secret scanning with push protection, Dependabot and private vulnerability reporting are on.
- Software Heritage keeps a permanent copy of the repository and of this wiki.
| Label | Use |
|---|---|
spec |
Changes the specification text, schemas or examples. |
proposal |
A normative change. If it changes the data model or a MUST rule it stays open for 30 days. |
editorial |
Wording or clarity, no change in meaning. |
implementation |
An implementation report or tooling. Add working software to Implementations. |
site |
The website. |
go-library |
The Go library or the radio2 tool. |
deps |
Dependency updates (Dependabot). |
Questions belong in Discussions; convert an issue to a discussion when it is a question rather than a change.
Reports arrive privately through GitHub's private vulnerability reporting (Security tab, "Report a vulnerability"). The policy is in SECURITY.md. Secret scanning with push protection is on.
A ruleset blocks force-pushes to main and its deletion. Pushes and merges to main are otherwise allowed, and every push is tested by CI.
Editing is limited to people with write access. The wiki is a Git repository: git clone https://github.com/Tend-Stack/radio2.wiki.git. Page names come from file names (Maintainer-guide.md is "Maintainer guide"); _Sidebar.md and _Footer.md appear on every page.
Radio 2.0 is an open standard, MIT licensed. Documentation: radio2.org. Questions: Discussions.
Overview
The manifest
Discovery and identity
Live data
Money
Implementations and tools
- Implementations
- Reference implementation
- radio2 command line tool
- Create a manifest
- Conformance
- Stations
- Brand and badges
Project
Documentation
Community