|
| 1 | +# TypesXML Dual Licensing |
| 2 | + |
| 3 | +TypesXML is available under two licensing options to serve both open source and commercial users: |
| 4 | + |
| 5 | +## 🆓 Open Source License (AGPL-3.0) |
| 6 | + |
| 7 | +TypesXML is licensed under the **GNU Affero General Public License v3.0** for open source use. |
| 8 | + |
| 9 | +### Permitted Uses Under AGPL-3.0 |
| 10 | + |
| 11 | +- ✅ **Open source projects** (must be AGPL-compatible) |
| 12 | +- ✅ **Personal and educational use** |
| 13 | +- ✅ **Internal business tools** (with source sharing requirements) |
| 14 | +- ✅ **Research and development** |
| 15 | +- ✅ **SaaS applications** (if you share your application's source code) |
| 16 | + |
| 17 | +### AGPL-3.0 Requirements |
| 18 | + |
| 19 | +When using TypesXML under AGPL-3.0, you must: |
| 20 | + |
| 21 | +- 📝 **Share source code** of any modifications to TypesXML |
| 22 | +- 📝 **Share source code** of your entire application |
| 23 | +- 📝 **Use AGPL-compatible license** for your project |
| 24 | +- 📝 **Provide source access** to all users (including SaaS users) |
| 25 | +- 📝 **Include copyright and license notices** |
| 26 | + |
| 27 | +## 💼 Commercial License |
| 28 | + |
| 29 | +For organizations that cannot comply with AGPL-3.0 requirements, we offer commercial licensing. |
| 30 | + |
| 31 | +### When You Need a Commercial License |
| 32 | + |
| 33 | +- ❌ **Proprietary software** distribution |
| 34 | +- ❌ **SaaS applications** without source sharing |
| 35 | +- ❌ **Commercial products** embedding TypesXML |
| 36 | +- ❌ **Closed-source applications** |
| 37 | +- ❌ **Cannot meet AGPL copyleft requirements** |
| 38 | + |
| 39 | +### Commercial License Benefits |
| 40 | + |
| 41 | +- ✅ **No source sharing requirements** |
| 42 | +- ✅ **Proprietary use rights** |
| 43 | +- ✅ **Commercial redistribution allowed** |
| 44 | +- ✅ **Professional technical support** |
| 45 | +- ✅ **Service level agreements (SLA)** |
| 46 | +- ✅ **Legal protection and indemnification** |
| 47 | +- ✅ **Priority access to new features** |
| 48 | + |
| 49 | +## License Selection Guide |
| 50 | + |
| 51 | +| Use Case | Recommended License | Cost | |
| 52 | +|----------|-------------------|------| |
| 53 | +| Open source project (AGPL-compatible) | AGPL-3.0 | Free | |
| 54 | +| Personal/educational use | AGPL-3.0 | Free | |
| 55 | +| Internal business tool (can share source) | AGPL-3.0 | Free | |
| 56 | +| Open source SaaS (can share source) | AGPL-3.0 | Free | |
| 57 | +| Proprietary software | Commercial | Paid | |
| 58 | +| Closed-source SaaS | Commercial | Paid | |
| 59 | +| Commercial redistribution | Commercial | Paid | |
| 60 | +| Cannot comply with AGPL | Commercial | Paid | |
| 61 | + |
| 62 | +## Getting Started |
| 63 | + |
| 64 | +### Using Under AGPL-3.0 |
| 65 | + |
| 66 | +1. Install TypesXML: `npm install typesxml` |
| 67 | +2. Review [AGPL-3.0 requirements](./LICENSE) |
| 68 | +3. Ensure your project is AGPL-compatible |
| 69 | +4. Include proper attribution and license notices |
| 70 | + |
| 71 | +### Commercial Licensing |
| 72 | + |
| 73 | +1. **Evaluate** TypesXML in your application |
| 74 | +2. **Contact us** for licensing discussion |
| 75 | +3. **Receive** commercial license agreement |
| 76 | +4. **Deploy** with full legal protection |
| 77 | + |
| 78 | +**📞 Commercial Licensing Contact:** |
| 79 | +**Email:** [sales@maxprograms.com](mailto:sales@maxprograms.com) |
| 80 | +**Website:** [https://maxprograms.com](https://maxprograms.com) |
| 81 | + |
| 82 | +## Frequently Asked Questions |
| 83 | + |
| 84 | +### Q: Can I try TypesXML before purchasing a commercial license? |
| 85 | + |
| 86 | +**A:** Yes! The AGPL-3.0 version includes all features. You can evaluate it fully before deciding on commercial licensing. |
| 87 | + |
| 88 | +### Q: What's the difference between AGPL and commercial versions? |
| 89 | + |
| 90 | +**A:** The code is identical. The difference is in usage rights and obligations. |
| 91 | + |
| 92 | +### Q: Can I use TypesXML in my MIT-licensed project? |
| 93 | + |
| 94 | +**A:** No, AGPL-3.0 is not compatible with MIT. You would need a commercial license. |
| 95 | + |
| 96 | +### Q: What if I'm building an open source SaaS application? |
| 97 | + |
| 98 | +**A:** You can use AGPL-3.0 if you're willing to share your application's source code with your users. |
| 99 | + |
| 100 | +### Q: Do I need a license for each developer? |
| 101 | + |
| 102 | +**A:** Commercial licensing terms vary by deployment and usage. Contact us to discuss your specific needs. |
| 103 | + |
| 104 | +## Legal Information |
| 105 | + |
| 106 | +- **Copyright:** © 2023-2025 Maxprograms |
| 107 | +- **Open Source License:** [GNU AGPL-3.0](./LICENSE) |
| 108 | +- **Commercial License:** [Commercial Terms](./LICENSE-COMMERCIAL) |
| 109 | +- **Trademark:** TypesXML is a trademark of Maxprograms |
0 commit comments