Skip to content

Commit 682bac0

Browse files
committed
docs: update pricing structure and add production reference
- New pricing tiers: Solo ($79), Pro ($129), Business ($299) - Add "Powering Relaticle CRM in production" to homepage - Update flowforge icon for consistency - Simplify license page structure
1 parent c1fe796 commit 682bac0

File tree

4 files changed

+57
-252
lines changed

4 files changed

+57
-252
lines changed

docs/app.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default defineAppConfig({
4747
target: '_blank'
4848
},
4949
{
50-
icon: 'i-lucide-layout-kanban',
50+
icon: 'i-lucide-columns-3',
5151
label: 'Flowforge',
5252
to: 'https://relaticle.github.io/flowforge/',
5353
target: '_blank'

docs/content/2.essentials/6.data-model.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -108,38 +108,6 @@ Strategic composite indexes optimize the most common query patterns: entity look
108108

109109
**Efficient Querying**: Unlike traditional EAV models, this design supports efficient filtering and sorting on custom field values using native database types and proper indexing strategies.
110110

111-
## Developer Usage Patterns
112-
113-
### Entity Integration
114-
```php
115-
class Product extends Model implements HasCustomFields
116-
{
117-
use UsesCustomFields;
118-
119-
// Custom fields automatically available
120-
// Values properly typed on retrieval
121-
}
122-
```
123-
124-
### Type-Safe Operations
125-
```php
126-
// Automatic type-safe storage
127-
$product->saveCustomFieldValue($field, 24); // Stored in integer_value column
128-
129-
// Type-safe retrieval
130-
$value = $product->getCustomFieldValue($field); // Returns integer, not string
131-
```
132-
133-
### Optimized Queries
134-
```php
135-
// Efficient custom field filtering
136-
$products = Product::withCustomFieldValues()
137-
->whereHas('customFieldValues', function($query) {
138-
$query->where('custom_field_id', $fieldId)
139-
->where('integer_value', '>', 12);
140-
})->get();
141-
```
142-
143111
## Performance Considerations
144112

145113
This schema excels with complex forms, multi-tenant applications, and admin interfaces requiring dynamic field management. The typed storage and strategic indexing make it suitable for production applications with significant data volumes.
Lines changed: 52 additions & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -1,251 +1,84 @@
11
---
22
title: License
3-
description: Dual licensing model - AGPL-3.0 for open source, commercial for private use
3+
description: Commercial licenses for private code, AGPL-3.0 for open source
44
navigation:
55
icon: i-lucide-scale
66
---
77

8-
::alert{type="info"}
9-
**Dual License Model** - Open source under AGPL-3.0 - Commercial licenses for private code - Transparent pricing
10-
::
11-
12-
## Overview
8+
## Pricing
139

14-
Custom Fields uses a dual licensing model designed to support both open source projects and commercial applications. This approach ensures the project remains sustainable while providing flexibility for different use cases.
10+
All tiers include every feature. Dev/staging environments are always free.
1511

16-
::card-group
17-
:::card
12+
::u-pricing-plans{compact class="gap-x-3"}
13+
:::u-pricing-plan
1814
---
19-
title: Open Source (AGPL-3.0)
20-
icon: i-lucide-git-branch
21-
to: "#open-source-license-agpl-30"
15+
title: Solo
16+
price: $79
17+
billing-cycle: /year
18+
description: Personal projects & internal tools
19+
features:
20+
- 1 domain
21+
- 1 year updates
22+
button:
23+
label: Purchase
24+
to: https://relaticle.lemonsqueezy.com/buy/803d5933-4b12-4869-9d93-f96797339603
25+
target: _blank
2226
---
23-
For open source projects and those willing to share code
2427
:::
2528

26-
:::card
29+
:::u-pricing-plan
2730
---
28-
title: Commercial License
29-
icon: i-lucide-building
30-
to: "#commercial-license"
31+
title: Pro
32+
price: $129
33+
billing-cycle: /year
34+
description: Agencies & multiple client sites
35+
features:
36+
- Up to 5 domains
37+
- 1 year updates
38+
button:
39+
label: Purchase
40+
to: https://relaticle.lemonsqueezy.com/buy/803d5933-4b12-4869-9d93-f96797339603
41+
target: _blank
3142
---
32-
For proprietary applications and private codebases
3343
:::
34-
::
35-
36-
## Open Source License (AGPL-3.0)
37-
38-
Custom Fields is licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.en.html), a strong copyleft license designed for network software.
39-
40-
### What is AGPL-3.0?
41-
42-
The AGPL-3.0 is similar to the GPL-3.0 but includes an additional provision: if you run modified versions of the software on a network server, you must provide the source code to users of that server.
43-
44-
::alert{type="warning"}
45-
**Important**: AGPL-3.0 requires your entire application using Custom Fields to be open source, including when used as a network service (SaaS, web applications, APIs).
46-
::
47-
48-
### Key AGPL-3.0 Obligations
49-
50-
When using Custom Fields under AGPL-3.0, you must:
51-
52-
1. **Share Source Code**: Make your entire application's source code available under AGPL-3.0
53-
2. **Include License**: Preserve all copyright and license notices
54-
3. **State Changes**: Document any modifications you make
55-
4. **Network Disclosure**: Provide source code even for network/SaaS usage
56-
5. **No Additional Restrictions**: Cannot add terms that restrict others' AGPL rights
57-
58-
### Who Can Use AGPL-3.0?
59-
60-
The AGPL-3.0 license is suitable for:
61-
- Open source projects (AGPL-3.0 compatible)
62-
- Non-profit organizations willing to share code
63-
- Educational projects with public code
64-
- Personal learning projects with public repositories
65-
66-
::alert{type="info"}
67-
Using Custom Fields under AGPL-3.0 is completely free - no payment required. However, you must comply with all AGPL-3.0 obligations.
68-
::
69-
70-
## Commercial License
71-
72-
For organizations that cannot or choose not to comply with AGPL-3.0 requirements, we offer commercial licenses that allow private use without open source obligations.
7344

74-
### Why Choose Commercial?
75-
76-
A commercial license is required if you:
77-
- Want to keep your application code private
78-
- Cannot comply with AGPL-3.0 obligations
79-
- Need to use Custom Fields in proprietary software
80-
- Operate a commercial SaaS without sharing source code
81-
- Require warranty or liability terms beyond AGPL-3.0
82-
83-
### Commercial License Pricing
84-
85-
Choose from three simple pricing plans. **All tiers include every feature** - no artificial limitations.
86-
87-
::tabs
88-
:::tab{label="Single Project"}
89-
**$99/year**
90-
- Install Custom Fields in one (non SaaS) project
91-
- Includes three activations (local, CI, and production)
92-
- One year of updates
93-
- All features included
94-
:::
95-
96-
:::tab{label="Unlimited Projects"}
97-
**$199/year**
98-
- Install Custom Fields in unlimited projects
99-
- Including SaaS applications
100-
- Unlimited license activations
101-
- One year of updates
102-
- All features included
103-
:::
104-
105-
:::tab{label="Lifetime"}
106-
**$399**
107-
- Install Custom Fields in unlimited projects
108-
- Including SaaS applications
109-
- Unlimited license activations
110-
- Lifetime updates
111-
- All features included
112-
:::
113-
::
114-
115-
::card-group
116-
:::card
117-
---
118-
title: Purchase License
119-
icon: i-lucide-credit-card
120-
to: "https://relaticle.lemonsqueezy.com/buy/803d5933-4b12-4869-9d93-f96797339603"
121-
target: _blank
122-
---
123-
Select your tier at checkout
124-
:::
125-
126-
:::card
45+
:::u-pricing-plan
12746
---
128-
title: View Demo
129-
icon: i-lucide-play
130-
to: "https://relaticle.com/"
131-
target: _blank
47+
title: Business
48+
price: $299
49+
billing-cycle: /year
50+
description: Required for SaaS & multi-tenant
51+
highlight: true
52+
features:
53+
- Unlimited domains
54+
- 1 year updates
55+
button:
56+
label: Purchase
57+
to: https://relaticle.lemonsqueezy.com/buy/803d5933-4b12-4869-9d93-f96797339603
58+
target: _blank
13259
---
133-
Try before you buy
13460
:::
13561
::
13662

137-
## Choosing Your License
138-
139-
::steps
140-
### Evaluate Your Project
141-
Determine if your project can be fully open source under AGPL-3.0
142-
143-
### Consider Obligations
144-
Review AGPL-3.0 requirements, especially the network use provision
145-
146-
### Make Your Choice
147-
- **Choose AGPL-3.0** if you can share all source code
148-
- **Choose Commercial** if you need to keep code private
149-
::
150-
151-
### Common Scenarios
152-
153-
| Scenario | Recommended License | Suggested Tier |
154-
|------------------------------|---------------------|-----------------------|
155-
| Single project or client work | Commercial | Single Project ($99) |
156-
| Agency with multiple clients | Commercial | Unlimited Projects ($199) |
157-
| SaaS application | Commercial | Unlimited Projects ($199) |
158-
| Long-term projects | Commercial | Lifetime ($399) |
159-
| Open source package | AGPL-3.0 | Free |
160-
| Educational project (public) | AGPL-3.0 | Free |
161-
162-
## Existing Customers
163-
164-
::alert{type="info"}
165-
**Your licenses remain valid!** All existing licenses, including lifetime licenses, continue to work exactly as before with no changes needed.
166-
::
167-
168-
## Special Offers
63+
<div class="mt-8">
16964

17065
::alert{type="info"}
171-
Contact **customfieldsnext@gmail.com** with proof of eligibility to receive your discount code.
172-
::
173-
174-
::card-group
175-
:::card
176-
---
177-
title: Education - 50% off
178-
icon: i-lucide-graduation-cap
179-
---
180-
Students and educators with valid .edu email
181-
:::
182-
183-
:::card
184-
---
185-
title: Non-Profit - 40% off
186-
icon: i-lucide-heart
187-
---
188-
Registered 501(c)(3) and equivalents
189-
:::
66+
**Existing customers**: Lifetime and grandfathered licenses remain valid forever.
19067
::
19168

192-
## Frequently Asked Questions
193-
194-
::accordion
195-
:::accordion-item{label="What exactly is the AGPL-3.0 network provision?"}
196-
The AGPL-3.0's key difference from GPL is Section 13: if users interact with your software over a network (web app, API, SaaS), you must provide them with the complete source code. This closes the "ASP loophole" where SaaS providers could use GPL software without sharing modifications.
197-
:::
198-
199-
:::accordion-item{label="Can I use Custom Fields in my agency's client projects?"}
200-
Yes, with a commercial license. For multiple client projects, choose the "Unlimited Projects" plan which covers unlimited projects and SaaS applications.
201-
:::
69+
</div>
20270

203-
:::accordion-item{label="What's the difference between Single Project and Unlimited Projects?"}
204-
Single Project ($99) is for one non-SaaS project with three activations (local, CI, production). Unlimited Projects ($199) allows use in unlimited projects including SaaS applications with unlimited activations.
205-
:::
206-
207-
:::accordion-item{label="What happens when my commercial license expires?"}
208-
Your installations continue working forever. You only lose access to updates and support. Renew anytime to regain update access. No functionality is disabled.
209-
:::
210-
211-
:::accordion-item{label="Can I contribute to Custom Fields?"}
212-
Yes! We welcome contributions. By contributing, you agree that your contributions will be licensed under AGPL-3.0. Significant contributors may receive commercial licenses.
213-
:::
214-
215-
:::accordion-item{label="Is Custom Fields compatible with MIT/BSD licensed projects?"}
216-
Only if your entire project is licensed under AGPL-3.0. The AGPL-3.0 is a copyleft license that requires the entire work to be AGPL-3.0. For MIT/BSD projects, you need a commercial license.
217-
:::
218-
::
219-
220-
## Legal Information
221-
222-
### Copyright Notice
223-
224-
Custom Fields is Copyright 2024 Relaticle. All rights reserved.
225-
226-
### License Texts
71+
---
22772

228-
- [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.en.html)
229-
- Commercial license terms provided upon purchase
73+
## Open Source
23074

231-
### Warranty Disclaimer
75+
Custom Fields is also available under [AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.en.html) — free to use if your entire application is open source.
23276

233-
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.
77+
---
23478

235-
### Contact
79+
## Discounts
23680

237-
For licensing questions: **customfieldsnext@gmail.com**
81+
- **Students/Educators**: 50% off (valid .edu email)
82+
- **Non-Profits**: 40% off (registered 501(c)(3))
23883

239-
---
240-
241-
::card
242-
---
243-
title: Quick Summary
244-
icon: i-lucide-lightbulb
245-
---
246-
**Custom Fields = Your Choice**
247-
- **AGPL-3.0**: Free to use, must share all code (including network use)
248-
- **Commercial**: Keep code private, simple project-based pricing ($99-$399)
249-
- All features included in both licenses
250-
- Choose the plan that fits your project needs
251-
::
84+
Contact **customfieldsnext@gmail.com** for discount codes or licensing questions.

docs/content/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ Perfect for multi-tenant SaaS applications and enterprise admin panels.
4343
</div>
4444
</div>
4545

46+
<div class="text-center mt-6 text-sm text-gray-500 dark:text-gray-400">
47+
Powering <a href="https://relaticle.com" target="_blank" class="underline hover:text-gray-700 dark:hover:text-gray-200">Relaticle CRM</a> in production
48+
</div>
49+
4650
::u-page-section
4751
#title
4852
Why choose Custom Fields?

0 commit comments

Comments
 (0)