Skip to content

Commit 3faa3d3

Browse files
authored
docs: update OSP (#3105)
1 parent f1a64ce commit 3faa3d3

7 files changed

Lines changed: 364 additions & 332 deletions

File tree

docs/headings.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ const headings = [
6868
level: 2,
6969
title: 'Open Source Pricing',
7070
url: '/pricing',
71+
pageDesign: {
72+
hideMenuLeft: true,
73+
},
7174
},
7275
{
7376
level: 2,
@@ -1115,6 +1118,11 @@ function warningsAndErrors() {
11151118
function misc() {
11161119
return (
11171120
[
1121+
{
1122+
title: 'Gift',
1123+
url: '/gift',
1124+
category: 'Overview',
1125+
},
11181126
{
11191127
title: 'Consulting',
11201128
url: '/consulting',
@@ -1198,7 +1206,7 @@ function misc() {
11981206
url: '/nextjs',
11991207
},
12001208
] as const
1201-
).map((h) => ({ ...h, category: 'Miscellaneous' as const })) satisfies HeadingDetachedDefinition[]
1209+
).map((h) => ({ category: 'Miscellaneous' as const, ...h })) satisfies HeadingDetachedDefinition[]
12021210
}
12031211

12041212
function guides() {

docs/pages/gift/+Page.mdx

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
import { Link } from '@brillout/docpress'
2+
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs'
3+
import '../../components/tabs.css'
4+
5+
export const TODO_APPLY = ({ why, addendum }) => {
6+
return <p>
7+
<code>TODO_1</code>: Your website URL (if nothing's public: the domain name where your app's client runs).
8+
<br/>
9+
<code>TODO_2</code>: Explain why{why}.
10+
{addendum}
11+
</p>
12+
}
13+
14+
The gift program ensures everyone can use Vike.
15+
16+
There are two programs:
17+
- Free forever
18+
- Extended free trial
19+
20+
21+
## Who's eligible?
22+
23+
Your team is eligible if it has limited resources and purchasing a license key would be too expensive.
24+
25+
> A good rule of thumb is the number of employees. For example, we consider an organization eligible if it has **fewer than 10 paid employees**. The threshold is **higher in countries with lower revenue**.
26+
27+
If you expect more resources in the future, apply for an extended free trial.
28+
29+
> Eligible examples:
30+
> - Startup
31+
> - Open Source (without much revenue)
32+
> - Amateur sports club
33+
34+
You can also apply for an extended free trial for other reasons (e.g. pending clearance from your company's finance department).
35+
36+
We tend to be generous, so don't hesitate to apply — it's easy and quick.
37+
38+
39+
## How to apply?
40+
41+
Contact us to apply.
42+
43+
<Tabs>
44+
<TabList>
45+
<Tab>Free forever</Tab>
46+
<Tab>Extended free trial</Tab>
47+
</TabList>
48+
<TabPanel>
49+
50+
<span>Email (pre-filled subject & body): </span>
51+
<a
52+
href={
53+
"mailto:vike-gift@brillout.com" +
54+
"?subject=" + encodeURIComponent("Free forever") +
55+
"&body=" + encodeURIComponent(
56+
"== Website\n\nTODO_1\n\n== Reason\n\nTODO_2"
57+
)
58+
}
59+
>
60+
{'vike-gift@brillout.com'}
61+
</a>
62+
63+
Subject:
64+
```
65+
Free forever
66+
```
67+
68+
Body:
69+
```
70+
== Website
71+
72+
TODO_1
73+
74+
== Reason
75+
76+
TODO_2
77+
```
78+
79+
{<TODO_APPLY why=" your organization has limited resources" />}
80+
81+
</TabPanel>
82+
<TabPanel>
83+
84+
<span>Email (pre-filled subject & body): </span>
85+
<a
86+
href={
87+
"mailto:vike-gift@brillout.com" +
88+
"?subject=" + encodeURIComponent("Extended free trial") +
89+
"&body=" + encodeURIComponent(
90+
"== Website\n\nTODO_1\n\n== Reason\n\nTODO_2\n\n== Extend period\n\nTwo years"
91+
)
92+
}
93+
>
94+
{'vike-gift@brillout.com'}
95+
</a>
96+
97+
Subject:
98+
```
99+
Extended free trial
100+
```
101+
102+
Body:
103+
```
104+
== Website
105+
106+
TODO_1
107+
108+
== Reason
109+
110+
TODO_2
111+
112+
== Extend period
113+
114+
Two years
115+
```
116+
117+
{<TODO_APPLY addendum={
118+
<>
119+
<br />
120+
<code>Extend period</code>: can be modified. For example, you can set it to the duration after which you expect to easily afford a license key. You can apply again after the extended period ends.
121+
122+
</>
123+
} />}
124+
125+
</TabPanel>
126+
</Tabs>
127+
128+
129+
## See also
130+
131+
- <Link href="/pricing" />

docs/pages/pricing/+Page.mdx

Lines changed: 44 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,91 @@
11
import { Link, Construction } from '@brillout/docpress'
2-
import OpenSourcePricingIllustration from '../../pages/index/sections/reliable/open-source-pricing.svg'
32
import StateOfTheArt from './StateOfTheArt.mdx'
4-
import { QuoteTeam } from '../../components'
5-
import { RecommendedAmountTable } from './RecommendedAmountTable'
3+
import { PricingTable } from './PricingTable'
64

75
<Construction>
8-
The Open Source Pricing isn't implemented yet.
9-
10-
Questions welcome at [#1932](https://github.com/vikejs/vike/discussions/1932).
6+
The Open Source Pricing isn't implemented yet (companies can use it for free in the meantime). Questions welcome at [#1932](https://github.com/vikejs/vike/discussions/1932).
117
</Construction>
128

13-
<div style={{ display: 'flex', justifyContent: 'center', marginTop: 37, marginBottom: 30}}>
14-
<img src={OpenSourcePricingIllustration} style={{ maxWidth: '100%' }} />
15-
</div>
9+
The *Open Source Pricing* is a novel business model with three key principles:
1610

17-
<QuoteTeam style={{marginTop: 60, marginBottom: 45}}>Paying for Open Source isn't a bug, it's a feature — it's the guarantee Vike's interests are aligned with yours.</QuoteTeam>
11+
-**Fully open source**: 100% MIT License
12+
-**Fully accessible**: everyone can use Vike (gratis if limited resources)
13+
-**Fully transparent**: financial incentives aligned with users' interests
1814

19-
Vike will soon introduce what we call an *Open Source Pricing*: a new kind of business model that keeps Vike open source, as well as accessible (so that everyone, regardless of financial resources, can use Vike).
2015

21-
- The entire code **stays 100% open source** (MIT License).
22-
- Everything **stays 100% gratis for engineers**. You don't need any license key and you can use Vike without any restrictions, just like any other open source tool.
23-
- **For companies:**
24-
- **Pay what you can**. Companies choose the amount they want to pay while we trust them to make a fair choice. (If too many pay too little, we may switch to a fixed pricing.)
25-
- **Free for small apps**. For new and small Vike apps, Vike is 100% gratis and you don't need any license key: everything works just like any other open source tool.
26-
- **Apply for a free license key**. For larger apps, you can apply for a free license key if your team cannot afford one or didn't incorporate a company yet. Write two or three sentences explaining your situation and we will give you a free license key.
16+
## Pricing
2717

28-
The Open Source Pricing is a major milestone for Vike's growth. It preserves what makes open source special while aligning Vike's priorities with user interests, fostering a transparent and sustainable relationship.
18+
<PricingTable />
2919

3020

31-
#### Pricing
21+
## FAQ
3222

33-
<Link doNotInferSectionTitle href="#who-pays-and-how-much" /><br/>
23+
<Link doNotInferSectionTitle href="#how-does-it-work" /><br/>
24+
<Link doNotInferSectionTitle href="#is-vike-still-free-software" /><br/>
25+
<Link doNotInferSectionTitle href="#why-not-another-business-model" /><br/>
26+
<Link doNotInferSectionTitle href="#why-zero-investors" /><br/>
3427
<Link doNotInferSectionTitle href="#do-sponsors-have-to-pay" /><br/>
3528
<Link doNotInferSectionTitle href="#how-does-it-apply-to-monorepos" /><br/>
3629

37-
#### Open Source Pricing
3830

39-
<Link doNotInferSectionTitle href="#how-does-it-work" /><br/>
40-
<Link doNotInferSectionTitle href="#why-zero-investors" /><br/>
41-
<Link doNotInferSectionTitle href="#is-vike-still-free-software" /><br/>
42-
<Link doNotInferSectionTitle href="#why-not-another-business-model" /><br/>
31+
## How does it work?
4332

33+
#### The idea
4434

45-
## Who pays and how much?
35+
As a small team, you can use Vike just like any other open-source tool: 100% gratis and without any license key.
4636

47-
<RecommendedAmountTable />
37+
As a large team, you will see a pesky toaster `Get your license key at ...` in development (it's never shown in production). You can remove it by purchasing a license key and adding it to `+config.js` or by setting the `VIKE_KEY` environment variable.
4838

49-
<br/>
39+
#### 100% Open Source
5040

51-
<Link href="#free-tier" /><br/>
52-
<Link href="#recommendation" /><br/>
41+
The npm package `vike` will adopt a proprietary license requiring companies to get a license key when they see the pesky toaster. Vike's Git repository stays 100% MIT-licensed.
5342

54-
<div style={{ marginTop: -15 }} />
43+
In theory, since Vike is 100% open source, you could fork it, remove the pesky toaster, and publish your own npm package. But maintaining a fork requires non-negligible effort &mdash; you might as well just <Link href="/gift">apply for a free license key</Link> instead.
5544

56-
### Free tier
45+
#### 100% offline
5746

58-
Vike's free tier cut-off is determined by what we call the *double-three-threshold*:
47+
The implementation is 100% offline (no server requests):
48+
- Uses asymmetric encryption to validate license keys.
49+
- Reads your Vike configuration (e.g. number of `+Page.js` files) and Git history (e.g. number of Git commits) to distinguish small apps from larger apps.
5950

60-
- **`>=3` regular committers for the past `>=3` months**
51+
**Your privacy is fully preserved**: no telemetry, no server requests. The only information Vike collects about you is when you purchase a license — just like a SaaS.
6152

62-
Consequently, Vike is free for:
6353

64-
- Small projects. (Maintained by `<=2` regular committers.)
65-
- Large projects in their infancy. (With a 3-month free trial from the moment the project starts having `>=3` regular committers.)
66-
- Finished projects. (They can be maintained for free by up to two full-time developers.)
54+
## Is Vike still Free Software?
6755

68-
If you are within the free tier then **you don't need any license key**: you can use Vike just like any other open source tool. See also <Link href="#how-does-it-work" />
56+
Vike is still free as in "free speech" (not as in "free beer"), see explanations [by the Free Software Foundation](https://www.gnu.org/philosophy/free-sw.en.html) and [by Wikipedia](https://en.wikipedia.org/wiki/Free_software).
6957

70-
> Occasional contributors (bots, designers, technical managers, etc.) are ignored: they aren't counted as "regular committers".
58+
We believe in Libre Software: we invented the Open Source Pricing precisely because other business models <Link doNotInferSectionTitle href="#why-not-another-business-model" >contradict the value of Libre Software</Link>.
7159

60+
Code remains not only 100% open source, but also 100% accessible: we believe money (and the lack thereof) should never prevent anyone from using code.
61+
62+
63+
64+
## Why not another business model?
7265

73-
### Recommendation
66+
We believe other business models are flawed in fundamental ways.
7467

75-
The table above is only a recommendation and you can choose any other amount instead &mdash; we trust companies to make a fair choice.
68+
The Open Source Pricing means:
69+
- As an engineer, a much better software while everything stays 100% gratis.
70+
- As a company, a transparent and sustainable relationship with a tool that is foundational to your stack.
7671

77-
> **Don't hesitate to apply for a free license key** if you have `>=3` regular committers but haven't incorporated yet, just want to experiment, or have a use case you believe should be free.
78-
>
79-
>Keeping Vike accessible to everyone is a primary objective of the Open Source Pricing.
72+
Compared to other business models:
8073

81-
Size estimations:
74+
<StateOfTheArt />
8275

83-
- **Small organization**: 0-20 employees.
84-
- **Midsize organization**: 20-70 employees.
85-
- **Large organization**: >70 employees. (Also counting the employees of parent companies.)
8676

87-
<div style={{ marginTop: -15, height: 1 }}/>
77+
## Why zero-investors?
8878

89-
- **Hobby use case**: Vike is used for experimenting.
90-
- **Small use case**: Vike is used for developing a **project that plays only a marginal role** for your company. For example a landing page or a simple internal app.
91-
- **Midsize use case**: Vike is used for developing a **project that plays only a minor role**. For example a one-shot Vike usage for a significant internal app.
92-
- **Large use case**: Vike is used for developing a **project that plays a significant role**. For example an app with many users or building your own internal framework.
79+
If a project accepts investor funding, it will eventually have to take radical decisions to generate massive amounts of revenue — typically aiming for $100 million annually which is the kind of return investors hope for when they invest.
9380

81+
This is often achieved through aggressive techniques, such as hidden vendor lock-in and steep fee increases, which inevitably leave you, the user, paying a hefty bill in one form or another.
9482

83+
In contrast, the Open Source Pricing introduces a business relationship with users that is transparent, sustainable and stable.
9584

9685

9786
## Do sponsors have to pay?
9887

99-
No, Vike stays 100% gratis for companies sponsoring Vike. Reach out and we will give you a free license key.
88+
No, Vike stays gratis for companies sponsoring Vike — reach out to get your free license key.
10089

10190

10291
## How does it apply to monorepos?
@@ -113,60 +102,3 @@ For example, in the following, it applies only to `my-app/` and `my-other-app/`.
113102
```
114103

115104
> See also: <Link href="/build-your-own-framework" />.
116-
117-
118-
## How does it work?
119-
120-
#### The idea
121-
122-
For small (or new) projects, you can use Vike just like any other open-source tool: 100% gratis and without any license key.
123-
124-
For larger projects, Vike shows a pesky toaster `Get your license key at ...` in development (it's never shown in production). You can remove it by purchasing a license key and adding it to `+config.js` or by setting the `VIKE_KEY` environment variable.
125-
126-
#### 100% Open Source
127-
128-
The npm package `vike` will adopt a proprietary license requiring companies to get a license key when they see the pesky toaster (see above). Vike's Git repository stays 100% MIT-licensed.
129-
130-
In theory, since Vike is 100% open source, you could fork it, remove the pesky toaster, and publish your own npm package. But maintaining a fork requires non-negligible effort &mdash; you might as well just apply for a free license key instead.
131-
132-
#### 100% offline
133-
134-
The implementation is 100% offline:
135-
- Uses asymmetric encryption to validate license keys
136-
- Reads your Vike configuration (e.g. number of `+Page.js` files) and Git history (e.g. number of Git committers) to distinguish small apps from larger apps
137-
138-
No telemetry, zero server requests.
139-
140-
Your privacy is fully respected. The only information Vike has about your company is when you purchase a license — just like a SaaS.
141-
142-
143-
## Why zero-investors?
144-
145-
If a project accepts investor funding, it will eventually have to take radical decisions to generate massive amounts of revenue — typically aiming for $100 million annually which is the kind of return investors hope for when they invest.
146-
147-
This is often achieved with aggressive techniques such as vendor lock-in and steep fees. At the end of day, it will inevitably result in users having to pay a hefty bill in one form or another.
148-
149-
In contrast, the Open Source Pricing introduces a business relationship with users that is transparent, sustainable and stable.
150-
151-
152-
## Is Vike still Free Software?
153-
154-
Vike is still free as in "free speech" (not as in free beer), see explanations [by the Free Software Foundation](https://www.gnu.org/philosophy/free-sw.en.html) and [by Wikipedia](https://en.wikipedia.org/wiki/Free_software).
155-
156-
We believe in Libre Software and we invented the Open Source Pricing because <Link doNotInferSectionTitle href="#why-not-another-business-model" >other business models contradict Libre Software values</Link>.
157-
158-
Code remains not only 100% open source but also 100% accessible: we believe money (and the lack thereof) should never prevent anyone from using code.
159-
160-
161-
162-
## Why not another business model?
163-
164-
We believe other business models are flawed in fundamental ways.
165-
166-
The Open Source Pricing means:
167-
- As an engineer, a much better software while everything stays 100% gratis.
168-
- As a company, a transparent and sustainable relationship with a tool that is foundational to your stack.
169-
170-
Compared to other business models:
171-
172-
<StateOfTheArt />
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#pricing-table {
2+
a {
3+
text-decoration: underline;
4+
}
5+
}
6+
@media screen and (max-width: 899px) {
7+
#pricing-table_extra-width {
8+
margin: 0 !important;
9+
}
10+
#pricing-table_filler {
11+
display: none;
12+
}
13+
}

0 commit comments

Comments
 (0)