···11-# PolyForm Noncommercial License 1.0.0
11+# ATP Keyserver Licenses
22+33+This project uses a dual-licensing model to balance open development with sustainability.
44+55+## License Summary
66+77+### Server Components (PolyForm Noncommercial License 1.0.0)
88+99+The ATP Keyserver server implementation and related server infrastructure (located in `packages/server/` and server documentation) are licensed under the **PolyForm Noncommercial License 1.0.0**.
1010+1111+**What this means:**
1212+- ✅ Free for personal use, research, education, and non-profit organizations
1313+- ✅ You can study, modify, and redistribute the server code for non-commercial purposes
1414+- ❌ Commercial use of the server code requires separate licensing
1515+1616+### Client Library (MIT License)
1717+1818+The client library (`packages/client/`) is licensed under the **MIT License** (see `packages/client/LICENSE`).
1919+2020+**What this means:**
2121+- ✅ Free for any use, including commercial applications
2222+- ✅ You can use the client library in commercial products
2323+- ✅ You can integrate it with any compatible keyserver implementation
2424+- ✅ Minimal restrictions, maximum freedom
2525+2626+## Why Dual Licensing?
2727+2828+This approach encourages ecosystem growth while protecting the core server infrastructure:
2929+3030+1. **Client freedom**: Developers can freely integrate encrypted messaging into any application
3131+2. **Server sustainability**: The hosted keyserver remains non-commercial, ensuring the project's long-term viability
3232+3. **Self-hosting option**: Organizations can run their own keyserver under the noncommercial license
3333+4. **Standard practice**: Similar to many SaaS products (e.g., Stripe, Twilio) that provide MIT-licensed SDKs
3434+3535+## Commercial Licensing
3636+3737+If you need to use the server components commercially, please contact the maintainer for commercial licensing options.
3838+3939+---
4040+4141+# Server License: PolyForm Noncommercial License 1.0.0
242343<https://polyformproject.org/licenses/noncommercial/1.0.0>
444
···11+# Source files
22+src/
33+44+# Configuration files
55+tsdown.config.ts
66+tsconfig.json
77+tsconfig.*.json
88+99+# Examples (users can view these on GitHub/Codeberg)
1010+examples/
1111+1212+# Development files
1313+*.log
1414+*.tsbuildinfo
1515+1616+# IDE
1717+.vscode/
1818+.idea/
1919+2020+# Testing
2121+coverage/
2222+.nyc_output/
2323+2424+# Misc
2525+.DS_Store
2626+*.swp
+21
packages/client/LICENSE
···11+MIT License
22+33+Copyright (c) 2025 Juan D. Jara
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy
66+of this software and associated documentation files (the "Software"), to deal
77+in the Software without restriction, including without limitation the rights
88+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99+copies of the Software, and to permit persons to whom the Software is
1010+furnished to do so, subject to the following conditions:
1111+1212+The above copyright notice and this permission notice shall be included in all
1313+copies or substantial portions of the Software.
1414+1515+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121+SOFTWARE.
+5-1
packages/client/README.md
···605605606606## License
607607608608-See [LICENSE.md](../../LICENSE.md)
608608+This client library is licensed under the **MIT License** - see [LICENSE](./LICENSE).
609609+610610+You are free to use this library in any project, including commercial applications. The ATP Keyserver uses a dual-licensing model where the client library (MIT) and server implementation (PolyForm Noncommercial) have different licenses. See the [project LICENSE](../../LICENSE.md) for details.
611611+612612+**TL;DR:** Use this client library however you want. If you need to run the keyserver commercially, separate licensing applies to the server component only.
609613610614## Resources
611615