Skip to content

Licence and credits

Facet (the extension, the facet command, the core library and this site) is released under the MIT licence:

MIT License
Copyright (c) 2026 foreachexists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The same text is in the LICENSE file of the repository. Contributions are accepted under it.

Facet’s file format combines existing conventions instead of inventing new syntax: the date grammar of Markwhen, the task and field syntax of Obsidian Tasks and Dataview, and the requirement ids of OpenFastTrace.

Facet uses these projects as unmodified npm dependencies; their licence notices ship with them:

  • Markwhen parser (MIT, Copyright 2022 Rob Koch): reads dates, durations and recurrences.
  • Markwhen rrule fork (BSD-3-Clause): recurrence rules.
  • ical.js (MPL-2.0, unmodified): a dependency of the Markwhen parser.
  • ignore (MIT, Copyright 2013 Kael Zhang): matches .facetignore.
  • MCP TypeScript SDK (@modelcontextprotocol/server, Apache-2.0 with parts MIT): the facet mcp server.
  • zod (MIT): checks the MCP tools’ input.
  • Preact (MIT): the views.
  • d3-hierarchy (ISC): the mindmap layout.
  • dagre (@dagrejs/dagre, MIT): the trace graph layout.

The core library also reads Markdown with mdast-util-from-markdown and its frontmatter extensions, YAML with yaml and dates with Luxon. This site is built with Astro and Starlight.

Every licence of the code Facet ships is listed with it, built from the modules actually bundled rather than from a hand-kept list:

  • The extension ships THIRD-PARTY-NOTICES.md in its package. The build writes it from the modules in each bundle, with each package’s licence text and copyright, and fails on a licence outside the accepted list (MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0, 0BSD, BlueOak-1.0.0, and MPL-2.0 for unmodified dependencies).
  • The facet command ships its own THIRD-PARTY-NOTICES.md the same way.
  • This site ships the licences of the code bundled into its pages at /third-party-licenses.md. Two parts are added outside that bundle and are listed here: the search, Pagefind (MIT, Copyright (c) Pagefind), and the code block styling, Expressive Code (MIT, Copyright (c) 2023 Tibor Schiemann).