# CodePress CMS - Licensing Information

## 📜 Dual License Model

CodePress CMS is available under two licenses:

### 1. 🆓 AGPL v3 (Free for Open Source)

**For non-commercial and open-source projects**, CodePress CMS is licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.html).

**You can:**
- ✅ Use CodePress CMS for free
- ✅ Modify the source code
- ✅ Distribute your modifications
- ✅ Use in personal projects
- ✅ Use in educational projects

**You must:**
- ✅ Share your source code modifications
- ✅ License your modifications under AGPL v3
- ✅ Provide attribution to the original author
- ✅ Include a link to the original repository
- ✅ Notify the author of significant modifications

### 2. 💼 Commercial License

**For commercial use in proprietary software**, you must either:

**Option A: Purchase a Commercial License**
- Use in closed-source commercial products
- No obligation to share source code
- Priority support available
- Custom modifications allowed
- White-label options

**Option B: Make a Donation**
- Minimum suggested donation: €50 for small businesses
- Minimum suggested donation: €250 for medium businesses  
- Minimum suggested donation: €1000+ for enterprise

**Option C: Sponsorship**
- Monthly recurring sponsorship
- Recognition in README and website
- Priority feature requests

---

## 🤝 What Requires a Commercial License?

You need a commercial license if:
- ❌ You sell products/services using CodePress CMS
- ❌ You use CodePress CMS internally in a for-profit company
- ❌ You want to keep your modifications private
- ❌ You integrate CodePress in proprietary software
- ❌ You offer CodePress as a SaaS product

You **DON'T** need a commercial license if:
- ✅ You're using it for personal projects
- ✅ You're using it for educational purposes
- ✅ You release all modifications as open-source (AGPL v3)
- ✅ You're a non-profit organization
- ✅ You're using it for internal testing/development

---

## 📢 Notification Requirement

When you modify CodePress CMS, you must:

1. **Create a CHANGES.md file** documenting your modifications
2. **Keep attribution** to the original author (E.Noorlander)
3. **Link back** to the original repository
4. **Notify the author** via one of:
   - Create an issue on GitLab: https://git.noorlander.info/E.Noorlander/CodePress.git
   - Email: commercial@noorlander.info
   - Pull request with your improvements

**Example CHANGES.md:**
```markdown
# Changes to CodePress CMS

## Modified by: [Your Name/Company]
## Date: [Date]
## Original: https://git.noorlander.info/E.Noorlander/CodePress.git

### Changes:
- Added feature X
- Modified component Y
- Fixed bug Z

### Attribution:
Based on CodePress CMS by E.Noorlander
Licensed under AGPL v3
```

---

## 💰 Commercial Licensing Pricing

### Individual Developer License
**€99 one-time**
- Single developer
- Unlimited projects
- Email support
- 1 year updates

### Business License
**€499 one-time**
- Up to 10 developers
- Unlimited projects
- Priority email support
- Lifetime updates
- Custom modifications assistance

### Enterprise License
**€2499 one-time**
- Unlimited developers
- Unlimited projects
- Priority support (SLA)
- Lifetime updates
- Custom feature development
- White-label options
- Training and consulting

### SaaS License
**€999/year**
- Use in SaaS products
- Unlimited end-users
- Priority support
- Regular updates
- Custom branding

---

## 🎁 Donation Tiers

Support the project without needing a full license:

### Bronze Supporter - €25
- Recognition in README
- Supporter badge
- Early access to updates

### Silver Supporter - €100
- All Bronze benefits
- Listed on sponsors page
- Priority bug reports

### Gold Supporter - €500
- All Silver benefits
- Custom feature requests
- Direct email support
- Commercial license (1 project)

### Platinum Supporter - €1000+
- All Gold benefits
- Business license included
- Custom consulting (4 hours)
- Prominent sponsor recognition

---

## 📞 Contact for Commercial Licensing

**Email:** commercial@noorlander.info  
**Website:** https://git.noorlander.info/E.Noorlander/CodePress.git  
**GitLab:** https://git.noorlander.info/E.Noorlander/CodePress.git

**Response time:** Within 48 hours

---

## ❓ Frequently Asked Questions

### Q: Can I use CodePress CMS for free?
**A:** Yes, if you comply with AGPL v3 (keep modifications open-source).

### Q: What if I modify the code?
**A:** You must share modifications under AGPL v3 and notify the author.

### Q: Can I use it for my client's website?
**A:** Yes, if the modifications are open-source. Otherwise, you need a commercial license.

### Q: What if I want to keep my changes private?
**A:** Purchase a commercial license.

### Q: Is support included?
**A:** Community support is free. Priority support requires a commercial license or donation.

### Q: Can I resell CodePress CMS?
**A:** Only with a commercial license. Reselling under AGPL v3 is not allowed.

### Q: What about contributions?
**A:** Pull requests are welcome! Contributors retain copyright but license under AGPL v3.

---

## 🔒 Copyright & Trademark

**Copyright (C) 2025 E.Noorlander / CodePress Development Team**

"CodePress" is a trademark of E.Noorlander. Unauthorized use of the trademark is prohibited.

---

## ⚖️ Legal Enforcement

Violation of these license terms may result in:
- Legal action for copyright infringement
- Damages and attorney fees
- Injunction against further use
- Public disclosure of violation

We prefer cooperation over litigation. Contact us if you have concerns about compliance.

---

## 📄 Full License Text

See [LICENSE](LICENSE) file for the complete AGPL v3 license text with additional commercial terms.

---

**Last Updated:** 2025-11-24  
**License Version:** 1.0