# Mainstage Source-Available License (Version 1.0)

Copyright (c) 2026 Colton McGraw (github.com/colton-mcgraw)

## Grant of Rights

Subject to the terms of this License, the Licensor grants you a worldwide,
royalty-free, non-exclusive, non-sublicensable license to:

1. Use, copy, and run the Software for any purpose permitted under this License.
2. Modify the Software for your own use, subject to the Attribution section.
3. Distribute verbatim copies of the Software, provided you include this License
   in full and retain all attribution notices.
4. Distribute modified copies of the Software, provided you (a) include this
   License in full, (b) clearly mark your modifications as distinct from the
   original, and (c) do not misrepresent modified versions as the original Software.

## Commercial Use Threshold

Use of the Software is free provided that the Licensee's total annual gross
revenue **directly derived from products or services that incorporate or depend on
the Software** does not exceed **$100,000 USD** in any rolling twelve-month period.

If the Licensee's qualifying revenue meets or exceeds $100,000 USD, the Licensee
must obtain a commercial license from the Licensor before continuing that use.
Contact the Licensor via the repository to arrange a commercial license.

## Restrictions

You may not:

1. Remove or alter any copyright, license, or attribution notices present in the
   Software.
2. Use the Licensor's name, trademarks, or service marks to endorse or promote
   products derived from the Software without prior written permission.
3. Sell or sublicense the Software itself as a standalone product.

## Attribution

Any distribution of the Software or derivative works must include:

1. A complete copy of this License.
2. A notice identifying the original Software and linking to its source repository.
3. A clear description of any modifications made.

## Disclaimer of Warranty

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.

## Limitation of Liability

IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.

## Termination

Your rights under this License terminate automatically if you fail to comply with
any of its terms. Upon termination, you must cease all use and distribution of the
Software and destroy all copies in your possession. The Disclaimer of Warranty,
Limitation of Liability, and Attribution sections survive termination.

## Governing Law

This License is governed by the laws of the jurisdiction in which the Licensor
resides, without regard to conflict-of-law principles.

## Severability

If any provision of this License is held unenforceable, it shall be modified to
the minimum extent necessary to make it enforceable. The remaining provisions
shall remain in full force and effect.
