Skip to content

License

Both projects here are open source, so there is no separate agreement to accept and nothing to sign: the licence is the whole story. You can read the source, build it, change it and redistribute it.

The full text is the repository’s LICENSE.

Apache-2.0 lets you use, modify and redistribute mtty, including commercially. In return it asks that you keep the licence and any notices with the software, state the changes you made, and not use the project’s name as an endorsement.

miao is MIT licensed. It is a derivative of opencode and includes a substantial amount of its MIT-licensed code. Its LICENSE carries both copyright lines — the miao authors’ 2026 and opencode’s 2025 — because MIT requires the copyright and permission notices with copies or substantial portions of the software. See project origins and licensing for acknowledgements and the maintenance relationship.

Neither project is a single-author work, and the parts carry their own terms. Four that are easy to miss:

  • The bundled typefaces are not covered by mtty’s Apache-2.0 licence. Each keeps its own file and licence: JetBrains Mono (SIL Open Font License 1.1, modified — Noto Sans symbols merged in for glyph coverage), Symbols Nerd Font (MIT) and a Tabler Icons subset (MIT). The table is in assets/fonts/README.md.
  • Locally patched crates keep their upstream licences: muda (Apache-2.0 OR MIT), egui_commonmark (MIT OR Apache-2.0) and winit (Apache-2.0).
  • Syntax definitions vendored from bat keep an individual licence and source note each; the per-syntax table is docs/third-party/SYNTAXES.md.
  • Everything else is a dependency, listed in the workspace’s Cargo.toml files, under a licence from an allow-list the project records in deny.toml, with its policy explained in ADR 0006. The configuration is authoritative and includes additional permissive expressions such as BSL-1.0, CDLA-Permissive-2.0 and Apache-2.0 WITH LLVM-exception.

The documentation and marketing pages are built with Astro and Starlight, both MIT, and set in Instrument Serif, Instrument Sans and JetBrains Mono, all SIL Open Font License 1.1.

The pages under /docs/ that are synced from a product repository are covered by that project’s licence; each one names the commit it came from at the foot of the page.