diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 7034ceb..dada1a2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -106,4 +106,4 @@ The [pull request template](PULL_REQUEST_TEMPLATE.md) has the full checklist. ## License By contributing you agree your contributions are licensed under -[PolyForm Noncommercial 1.0.0](../LICENSE). +[MIT + Commons Clause](../LICENSE). diff --git a/CHANGELOG.md b/CHANGELOG.md index 5981a52..c3761ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **Relicensed from PolyForm Noncommercial 1.0.0 to MIT + Commons Clause.** + PolyForm NC barred all commercial use, including a company running NetGraph on + its own internal network. The new terms allow use (companies included), + modification, and free redistribution, and forbid only selling the software + (per the Commons Clause). Updated `LICENSE`, `package.json`, the README badge + and license note, and CONTRIBUTING. + ## [1.3.0] - 2026-06-25 First public release. NetGraph had been developed privately up to this point; diff --git a/LICENSE b/LICENSE index 0fe9888..bfc7e30 100644 --- a/LICENSE +++ b/LICENSE @@ -1,124 +1,47 @@ -PolyForm Noncommercial License 1.0.0 - - - -Accept - -In order to get any license under these terms, you must agree to -them as both strict obligations and conditions to all your licenses. - -Copyright License - -The licensor grants you a copyright license for the software to do -everything you might do with the software that would otherwise -infringe the licensor's copyright in it for any permitted purpose. -However, you may only distribute the software according to -Distribution License and make changes or new works based on the -software according to Changes and New Works License. - -Distribution License - -The licensor grants you an additional copyright license to distribute -copies of the software. Your license to distribute covers -distributing the software with changes and new works permitted by -Changes and New Works License. - -Notices - -You must ensure that anyone who gets a copy of any part of the -software from you also gets a copy of these terms or the URL for -them above, as well as copies of any plain-text lines beginning -with Required Notice that the licensor provided with the software. -For example: - - Required Notice: Copyright (c) 2026 NetGraph Contributors - -Changes and New Works License - -The licensor grants you an additional copyright license to make -changes and new works based on the software for any permitted -purpose. - -Patent License - -The licensor grants you a patent license for the software that -covers patent claims the licensor can license, or becomes able to -license, that you would infringe by using the software. - -Noncommercial Purposes - -Any noncommercial purpose is a permitted purpose. - -Personal Use - -Personal use for research, experiment, and testing for the benefit -of public knowledge, personal study, private entertainment, -hobby projects, amateur pursuits, or religious observance, without -any anticipated commercial application, is use for a permitted -purpose. - -Noncommercial Organizations - -Use by any charitable organization, educational institution, -public research organization, public safety or health organization, -environmental protection organization, or government institution is -use for a permitted purpose regardless of the source of funding or -obligations resulting from the funding. - -Fair Use - -You may have "fair use" rights for the software under the law. -These terms do not limit them. - -No Other Rights - -These terms do not allow you to sublicense or transfer any of your -licenses to anyone else, or prevent the licensor from granting -licenses to anyone else. These terms do not imply any other -licenses. - -Patent Defense - -If you make any written claim that the software infringes or -contributes to infringement of any patent, your patent license for -the software granted under these terms ends immediately. If your -company makes such a claim, your patent license ends immediately -for work on behalf of your company. - -Violations - -The first time you are notified in writing that you have violated -any of these terms, or done anything with the software not covered -by your licenses, your licenses can nonetheless continue if you come -into full compliance with these terms, and take practical steps to -correct past violations, within 32 days of receiving notice. -Otherwise, all your licenses end immediately. - -No Liability - -As far as the law allows, the software comes as is, without any -warranty or condition, and the licensor will not be liable to you -for any damages arising out of these terms or the use or nature of -the software, under any kind of legal claim. - -Definitions - -The "licensor" is the individual or entity offering these terms, -and the "software" is the software the licensor makes available -under these terms. - -"You" refers to the individual or entity agreeing to these terms. - -"Your company" is any legal entity, sole proprietorship, or other -kind of organization that you work for, plus all organizations that -have control over, are under the control of, or are under common -control with that organization. "Control" means ownership of -substantially all the assets of an entity, or the power to direct -its management and policies by vote, contract, or otherwise. Control -can be direct or indirect. - -"Your licenses" are all the licenses granted to you for the -software under these terms. - -"Use" means anything you do with the software requiring one of -your licenses. +"Commons Clause" License Condition v1.0 + +The Software is provided to you by the Licensor under the License, as +defined below, subject to the following condition. + +Without limiting other conditions in the License, the grant of rights +under the License will not include, and the License does not grant to +you, the right to Sell the Software. + +For purposes of the foregoing, "Sell" means practicing any or all of the +rights granted to you under the License to provide to third parties, for +a fee or other consideration (including without limitation fees for +hosting or consulting/support services related to the Software), a +product or service whose value derives, entirely or substantially, from +the functionality of the Software. Any license notice or attribution +required by the License must also include this Commons Clause License +Condition notice. + +Software: NetGraph +License: MIT +Licensor: BrainInBlack + +--- + +MIT License + +Copyright (c) 2026 BrainInBlack + +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 (including the +Commons Clause License Condition above) 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. diff --git a/README.md b/README.md index 22a6d69..a63ed49 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Map your home or lab network in the browser - add your devices, draw how they're wired, label the bits that matter - and keep it all **local**: no backend, no accounts, no telemetry. -![License: PolyForm NC 1.0.0](https://img.shields.io/badge/license-PolyForm%20NC%201.0.0-blue) ![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6?logo=typescript&logoColor=white) ![Vite](https://img.shields.io/badge/built%20with-Vite-646cff?logo=vite&logoColor=white) ![Local-first](https://img.shields.io/badge/data-100%25%20local-brightgreen) ![Offline](https://img.shields.io/badge/offline-single--file%20copy-informational) [![CI](https://github.com/BrainInBlack/NetGraph/actions/workflows/ci.yml/badge.svg)](https://github.com/BrainInBlack/NetGraph/actions/workflows/ci.yml) +![License: MIT + Commons Clause](https://img.shields.io/badge/license-MIT%20%2B%20Commons%20Clause-blue) ![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6?logo=typescript&logoColor=white) ![Vite](https://img.shields.io/badge/built%20with-Vite-646cff?logo=vite&logoColor=white) ![Local-first](https://img.shields.io/badge/data-100%25%20local-brightgreen) ![Offline](https://img.shields.io/badge/offline-single--file%20copy-informational) [![CI](https://github.com/BrainInBlack/NetGraph/actions/workflows/ci.yml/badge.svg)](https://github.com/BrainInBlack/NetGraph/actions/workflows/ci.yml) ## Why @@ -60,6 +60,8 @@ NetGraph ingests untrusted data in exactly two places - imported JSON bundles an ## License -[PolyForm Noncommercial 1.0.0](LICENSE) (c) BrainInBlack - free for noncommercial use. +[MIT + Commons Clause](LICENSE) (c) 2026 BrainInBlack - free to use (including +inside a company), modify, and share; you just may not sell it. See the +[Commons Clause](https://commonsclause.com/) for what "sell" means. Want to build NetGraph yourself or contribute? See [CONTRIBUTING.md](.github/CONTRIBUTING.md). diff --git a/package.json b/package.json index d9f4612..0bcebab 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.3.0", "description": "Browser-based local network visualizer - map your home or lab network, stored entirely in localStorage with no backend.", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "SEE LICENSE IN LICENSE", "author": "BrainInBlack ", "homepage": "https://github.com/BrainInBlack/NetGraph#readme", "repository": {