Open Source Native License (OSNL)
Version 0.2 - March 24, 2026

Copyright (c) 2025-2026 Peter O'Malley

TL;DR (not legally binding — see full text below)

- Free for anyone to use internally, including commercial companies. Use it
  on personal projects, in research, or as a tool inside your business —
  no fee, no registration.
- Free to ship inside a product you sell IF your company is itself open
  source (primary business assets under an OSI-approved license or OSNL).
- Paid tiers only apply if you redistribute the Program in a product/service
  AND your company is not open source — see Section 2(c) for the tiers.

Preamble

The Open Source Native License (OSNL) allows anyone — individuals and
organizations alike — to use this software for their own internal purposes.
Commercialization (distributing it as part of a product or service, or offering
it to third parties) is unrestricted for entities who open source their primary
business assets. Non-open source entities require a separate commercial license
to commercialize it.

This approach balances the benefits of open-source development with the
realities of commercial enterprise — keeping software a shared, community-driven
resource while enabling businesses to thrive in an open-source ecosystem.

1. Definitions

- "This License" refers to Version 0.2 of the Open Source Native License.
- "The Program" refers to the software distributed under this License.
- "You" refers to the individual or entity utilizing or contributing to the
  Program.
- "Primary Business Assets" are the core resources, capabilities, and
  technology that constitute the main value proposition and operational basis
  of a business.
- "The Licensor" refers to Peter O'Malley.

2. Grant of License

Subject to the terms and conditions of this License, you are hereby granted a
free, perpetual, worldwide, non-exclusive, no-charge, royalty-free license to
use, reproduce, modify, distribute, and sublicense the Program, subject to
the termination provisions in Section 6 and provided that any sublicense is
granted under the terms of this License.

a) Using the Program — Always Free (Anyone, Including Companies)

   Any person or organization may use, modify, and contribute to the Program
   for their own internal purposes without restriction. This includes personal
   projects, education, research, internal tooling, and using the Program to
   improve your own codebase — regardless of whether you are an individual, a
   nonprofit, or a commercial entity. No additional license is required for
   internal use.

b) Shipping the Program in Your Product — Free for Open Source Companies

   If you distribute the Program or a derivative as part of a product or
   service, or otherwise offer it to third parties, you may do so freely and
   at no cost provided that your primary business assets — including core
   technologies, software, and platforms — are available under an OSI-approved
   open source license or under this License (OSNL). This condition applies
   only to primary business assets, not to ancillary or peripheral services.

c) Shipping the Program in Your Product — Paid Tiers for Non-Open Source Companies

   If you wish to distribute the Program or a derivative as part of a product
   or service, or otherwise offer it to third parties, and you do not meet the
   open source condition in section (b), the following terms apply:

   - If your organization has raised less than $1,000,000 USD in total funding
     and has less than $1,000,000 USD in annual revenue, no license fee or
     registration is required. You may commercialize the Program freely.

   - If your organization has raised $1,000,000 USD or more in total funding,
     or has $1,000,000 USD or more in annual revenue, the license fee is
     $1,000 USD per month.

   - If your organization has $10,000,000 USD or more in annual revenue, the
     license fee is $5,000 USD per month.

   - If your organization has $100,000,000 USD or more in annual revenue, the
     license fee is $10,000 USD per month.

   Your tier is determined by your organization's current status. If your
   revenue or funding crosses a tier threshold, the new fee applies from the
   following calendar month.

   "Total funding raised" includes equity, debt, and convertible instruments
   but excludes revenue. For paid tiers, contact the Licensor at
   peter@omalley.io to arrange payment.

3. Redistribution

You may reproduce and distribute copies of the Program or derivative works
thereof in any medium, with or without modifications, provided that you meet
the following conditions:

- You must give any recipients of the Program a copy of this License.
- You must ensure that any modified files carry prominent notices stating that
  you changed the files.
- Any distribution of the Program or derivative works must comply with the
  applicable use category in Section 2.

4. Patent Grant

Each contributor to the Program hereby grants you a perpetual, worldwide,
non-exclusive, no-charge, royalty-free patent license to make, have made, use,
offer to sell, sell, import, and otherwise transfer the Program, where such
license applies only to those patent claims licensable by the contributor that
are necessarily infringed by their contribution(s) alone or in combination with
the Program.

If you institute patent litigation against any entity (including a cross-claim
or counterclaim in a lawsuit) alleging that the Program constitutes patent
infringement, then any patent licenses granted to you under this License for
the Program shall terminate as of the date such litigation is filed.

5. Disclaimer of Warranty

THE PROGRAM 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 USE OF THE PROGRAM OR OTHER DEALINGS IN THE
PROGRAM.

6. Termination

Your rights under this License will terminate automatically if you fail to
comply with any of its terms. However, if you become compliant, then your
rights under this License are reinstated:

- Provisionally, unless and until the Licensor explicitly and finally
  terminates your rights, and
- Permanently, if the Licensor does not notify you of the non-compliance
  within 60 days after you have become compliant.

Moreover, your rights under this License are reinstated permanently if the
Licensor notifies you of the non-compliance and it is the first time you have
received notice of non-compliance with this License, and you cure the
non-compliance within 30 days after receipt of the notice.

Termination of your rights under this section does not terminate the licenses
of parties who have received copies or rights from you under this License,
provided those parties remain in full compliance.

7. Version Upgrade

You may choose to follow the terms of this version of the OSNL or any later
version as published by the Licensor. No one other than the Licensor has the
right to modify or publish new versions of this License. Each version will be
given a distinguishing version number.

8. General

This License does not grant permission to use the trade names, trademarks,
service marks, or product names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Program.

For commercial licensing inquiries: peter@omalley.io
