Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ Polyxd
Copyright 2026 the Polyxd authors

This product includes software developed at Polyxd, licensed under the Apache
License, Version 2.0 (see LICENSE).
License, Version 2.0 (see LICENSE), except Polyxd Studio (apps/studio), which is
licensed under the Functional Source License, Version 1.1, ALv2 Future License
(see apps/studio/LICENSE).

It also includes material from the projects below. Each is used under its own
licence, and each licence is included in full beside the material it covers.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,6 @@ Before a pull request: `npm run test:all` and `npm run check:licences`.

## Licence

Code is [Apache-2.0](LICENSE); the spec and documentation are [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). [NOTICE](NOTICE) lists every vendored source and its licence.
Code is [Apache-2.0](LICENSE), except Studio (`apps/studio`), which is [FSL-1.1-ALv2](apps/studio/LICENSE): free to run for your own team or company, not as a competing hosted service, and Apache-2.0 two years after each release; the spec and documentation are [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). [NOTICE](NOTICE) lists every vendored source and its licence.

The design-system packs are Polyxd's work, reading each system's published tokens. Polyxd is not affiliated with, endorsed by or sponsored by any of those projects or their owners, and each name is the trademark of its owner.
2 changes: 1 addition & 1 deletion apps/site/content/docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ The runtime points at any generator: Claude, GPT or Gemini through their APIs, o

## Open core

The spec, design-system packs, React renderer, runtime, MCP server, verifier and benchmark are meant to be free and open: code under Apache-2.0, and the spec and docs under CC-BY-4.0. [Studio](/docs/studio) exists for teams (hosted at studio.polyxd.com, free for one workspace, and open source to run yourself): design systems, what generated screens may use, rules, whole Design Directions (edited, versioned and fetched by key), authored screens and delivery, and Insights: how each screen does in a team's product, counted from the semantic events the product sends. Reviewing generated screens there is planned. Whether a paid tier comes later is not decided. The intent is that anything that runs inside someone else's product stays free, with no usage metering.
The spec, design-system packs, React renderer, runtime, MCP server, verifier and benchmark are meant to be free and open: code under Apache-2.0, and the spec and docs under CC-BY-4.0. [Studio](/docs/studio) exists for teams (hosted at studio.polyxd.com, free for one workspace, and source-available under the Functional Source License to run yourself): design systems, what generated screens may use, rules, whole Design Directions (edited, versioned and fetched by key), authored screens and delivery, and Insights: how each screen does in a team's product, counted from the semantic events the product sends. Reviewing generated screens there is planned. Paid plans for bigger teams are planned and will be published before they start; one workspace stays free. The intent is that anything that runs inside someone else's product stays free, with no usage metering.
29 changes: 26 additions & 3 deletions apps/site/content/docs/studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ order: 23

# Studio

[Studio](https://studio.polyxd.com) is the team's side of Polyxd: open source (Apache-2.0, in `apps/studio`), running on Cloudflare Workers with D1 and R2, and the same code whether you use the hosted one or your own. The hosted Studio is free for one workspace; a small fee may later cover its storage.
[Studio](https://studio.polyxd.com) is the team's side of Polyxd: source-available (the [Functional Source License](https://fsl.software), in `apps/studio`: free to run for your own team or company, not as a competing hosted service, and each version becomes Apache-2.0 after two years), running on Cloudflare Workers with D1 and R2, and the same code whether you use the hosted one or your own. The hosted Studio has a Free plan and paid ones ([Plans](#plans)); a Studio you run yourself has no plans and no limits.

## Your design system

Expand Down Expand Up @@ -97,7 +97,28 @@ An ingest key is publishable, like the key a web analytics tool puts in a page.

## Team

Workspaces, invites with roles (design-system, designer, product, engineer, viewer), sign-in through [better-auth](https://www.better-auth.com) (email and password with verification, Google when configured), API keys, and ingest keys for Insights.
Workspaces, invites with roles (design-system, designer, product, engineer, viewer), sign-in through [better-auth](https://www.better-auth.com) (email and password with verification, Google when configured), API keys, and ingest keys for Insights. Owners can take someone out of a workspace, and an invite can be withdrawn before it is used.

## Plans

Plans apply to the hosted Studio only. You pay per editor: a viewer is always free, and every other role (owner, design-system, designer, product, engineer) is an editor.

| | Free | Pro | Team | Enterprise |
|---|---|---|---|---|
| Price | $0 | $8 a month, or $80 a year | $12 per editor a month, or $120 a year | talk to us |
| Workspaces you own | 1 | 3 | unlimited | unlimited |
| Editors | 2 | 1 | unlimited | unlimited |
| Design systems | 1 | unlimited | unlimited | unlimited |
| Directions | 1 | unlimited | unlimited | unlimited |
| Published screens | 10 | unlimited | unlimited | unlimited |
| Fetches by key a month (screens, Directions, tokens) | 10,000 | 250,000 | 1,000,000 | 10 million or more |
| Version history | last 10 | all | all | all |

- **Reaching a limit** stops only the new thing: another design system, another published screen, another editor. Studio says which plan has room. Everything you already have keeps working.
- **Going over your fetches never breaks your product.** Studio warns you at 80% and 100% on the Billing page. If a workspace stays over for 7 days, editing pauses until it upgrades or the month turns; products still get their screens, Directions and tokens.
- **Billing** is under Workspace → Billing: your plan, your seats, what you've used this month, and the buttons to upgrade or manage your subscription (owners only; payment is through Stripe). On Team, adding or removing an editor changes your seats, prorated.
- **The founding offer**: the first 100 paying workspaces pay half, for as long as they stay subscribed.
- **You can always leave**: every design system, screen and Direction exports as JSON on every plan.

## Run it yourself

Expand All @@ -107,4 +128,6 @@ npm run db:migrate -w @polyxd/studio # local D1
npm run dev -w @polyxd/studio # http://localhost:8789
```

For production: a D1 database, an R2 bucket, `SECRETS_KEY` and `AUTH_SECRET` secrets, `RESEND_API_KEY` for email, and `npm run deploy -w @polyxd/studio`. The README in `apps/studio` has the exact steps.
For production: a D1 database, an R2 bucket, `SECRETS_KEY` and `AUTH_SECRET` secrets, `RESEND_API_KEY` for email, and `npm run deploy -w @polyxd/studio`. The README in `apps/studio` has the exact steps. Your own Studio has no plans and no limits: as many editors, design systems, Directions, screens and fetches as you like, and no Billing page.

The [licence](https://github.com/visualfart/polyxd/blob/main/apps/studio/LICENSE) lets you run Studio for your own team or company, change it, and share your changes. It does not let you offer Studio, or something substantially like it, as a service to others. Each version becomes Apache-2.0 two years after its release.
2 changes: 1 addition & 1 deletion apps/site/content/legal/terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Our [privacy policy](/privacy/) explains what we do with personal data.

## Open-source software

Polyxd's code is open source under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). The specification and the documentation are licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/). Those licences, not these terms, govern your use of the code, the specification and the docs, wherever you get them. You can run all of it yourself.
Polyxd's code is open source under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), except Polyxd Studio, whose source is available under the [Functional Source License 1.1](https://fsl.software) (you may run it for your own team or company, but not offer it as a competing service; each version becomes Apache 2.0 two years after its release). The specification and the documentation are licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/). Those licences, not these terms, govern your use of the code, the specification and the docs, wherever you get them. You can run all of it yourself.

These terms apply to the services we host for you.

Expand Down
2 changes: 1 addition & 1 deletion apps/site/src/studio.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h2 class="display scene-title" id="sb-title">What you get.</h2>
<li><!--ICON:check--><b>0 failing</b><span>Nothing publishes while contrast fails.</span></li>
<li><!--ICON:export--><b>6 formats</b><span>CSS, DTCG, Tailwind, Style Dictionary, Swift, Compose.</span></li>
<li><!--ICON:key--><b>By key</b><span>Products fetch published screens.</span></li>
<li><!--ICON:free--><b>Free</b><span>For one workspace. Open source to <a href="/docs/studio/#run-it-yourself">run yourself</a>.</span></li>
<li><!--ICON:free--><b>Free</b><span>For one workspace. Source-available to <a href="/docs/studio/#run-it-yourself">run yourself</a>.</span></li>
</ul>
</div>
</section>
Expand Down
105 changes: 105 additions & 0 deletions apps/studio/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Functional Source License, Version 1.1, ALv2 Future License

## Abbreviation

FSL-1.1-ALv2

## Notice

Copyright 2026 Neelank Sachan

## Terms and Conditions

### Licensor ("We")

The party offering the Software under these Terms and Conditions.

### The Software

The "Software" is each version of the software that we make available under
these Terms and Conditions, as indicated by our inclusion of these Terms and
Conditions with the Software.

### License Grant

Subject to your compliance with this License Grant and the Patents,
Redistribution and Trademark clauses below, we hereby grant you the right to
use, copy, modify, create derivative works, publicly perform, publicly display
and redistribute the Software for any Permitted Purpose identified below.

### Permitted Purpose

A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
means making the Software available to others in a commercial product or
service that:

1. substitutes for the Software;

2. substitutes for any other product or service we offer using the Software
that exists as of the date we make the Software available; or

3. offers the same or substantially similar functionality as the Software.

Permitted Purposes specifically include using the Software:

1. for your internal use and access;

2. for non-commercial education;

3. for non-commercial research; and

4. in connection with professional services that you provide to a licensee
using the Software in accordance with these Terms and Conditions.

### Patents

To the extent your use for a Permitted Purpose would necessarily infringe our
patents, the license grant above includes a license under our patents. If you
make a claim against any party that the Software infringes or contributes to
the infringement of any patent, then your patent license to the Software ends
immediately.

### Redistribution

The Terms and Conditions apply to all copies, modifications and derivatives of
the Software.

If you redistribute any copies, modifications or derivatives of the Software,
you must include a copy of or a link to these Terms and Conditions and not
remove any copyright notices provided in or with the Software.

### Disclaimer

THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.

IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.

### Trademarks

Except for displaying the License Details and identifying us as the origin of
the Software, you have no right under these Terms and Conditions to use our
trademarks, trade names, service marks or product names.

## Grant of Future License

We hereby irrevocably grant you an additional license to use the Software under
the Apache License, Version 2.0 that is effective on the second anniversary of
the date we make the Software available. On or after that date, you may use the
Software under the Apache License, Version 2.0, in which case the following
will apply:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
Loading
Loading