# Licensing

`mudab-cli` is **dual-licensed**. You may use it under **either** of the
following, at your choice:

## 1. Open source — AGPL-3.0-or-later (default)

Free to use, modify, and distribute under the
[GNU Affero General Public License v3.0 or later](LICENSE).

The key obligation is the AGPL's **§13 network clause**: if you run a modified
version of this software to provide a service to others over a network, you must
make the complete corresponding source code of your modified version available
to the users of that service. The usual copyleft terms also apply when you
distribute the software or works based on it.

This is the right option for open-source projects, internal and personal use,
evaluation, and anyone able to comply with the AGPL.

## 2. Commercial license

If the AGPL's obligations do not fit your situation — for example, you want to:

- embed `mudab-cli` in a **closed-source / proprietary product**, or
- run a **modified version as a proprietary network service (SaaS)** without
  disclosing your source, or
- keep your modifications private,

then a separate **commercial license** is available. It grants use of the same
code without the AGPL's copyleft and network-disclosure obligations, under
negotiated terms.

**To obtain a commercial license, contact:** sebs@2xs.org

## Why this is possible

The copyright holder owns 100% of the source code in this repository and can
therefore offer it under more than one license simultaneously. This project does
**not** accept external code contributions (see [CONTRIBUTING.md](CONTRIBUTING.md)),
which keeps copyright ownership single and unambiguous — a prerequisite for
offering the commercial option. The only third-party dependency that ships with
the package, [`commander`](https://github.com/tj/commander.js), is MIT-licensed
and compatible with both licensing options.

---

Copyright © 2026 Sebastian Schürmann. All rights reserved.
