diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..66a6b42 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Gleb (gusik.tech) + +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. diff --git a/NOTICE.md b/NOTICE.md new file mode 100644 index 0000000..73e006f --- /dev/null +++ b/NOTICE.md @@ -0,0 +1,15 @@ +# Third-party components + +## Xray-core + +This project bundles an **unmodified** binary of [Xray-core](https://github.com/XTLS/Xray-core) +(pinned version `v26.3.27`) and runs it as a separate process. Xray-core is licensed under the +**Mozilla Public License 2.0 (MPL-2.0)**. + +- Xray-core source: https://github.com/XTLS/Xray-core +- Its `LICENSE` ships inside the release archive and is extracted to + `%APPDATA%\ClaudeProxy\bin\LICENSE` at runtime. + +Bundling and invoking Xray-core as an independent executable ("mere aggregation") does not place +this project's own code (MIT-licensed, see `LICENSE`) under the MPL. Redistribution of the Xray +binary is permitted by MPL-2.0 provided its license text is included, which it is. diff --git a/README.md b/README.md index 56c0fc7..8fa0deb 100644 --- a/README.md +++ b/README.md @@ -92,3 +92,8 @@ powershell -ExecutionPolicy Bypass -File build-native.ps1 аппы может не работать. - Firewall-правило пинит IP прокси (резолв при включении). Сменился IP — переключи рубильник. - Лок переживает перезагрузку; снимается выключением рубильника. + +## Лицензия + +Код проекта — **MIT** (см. `LICENSE`). Встроенный **Xray-core** — отдельный компонент под +**MPL-2.0** (см. `NOTICE.md`); он запускается как отдельный процесс и не меняет лицензию проекта.