# Licence

> A plain-language reading of the LICENSE file in the starter — what you may build, who may use it, client work, updates and the demo content.

You are reading one page of the ZeroDirs documentation. ZeroDirs is an Astro + Cloudflare Workers starter for directory sites: every page is rendered to static HTML at build time, the site ships no client JavaScript outside `/search/`, and one file — `site.config.ts` — carries roughly 80% of the customisation.

Two things to hold on to before you act on anything below:

- `site.config.ts` is validated by a zod schema with ten cross-field rules. After any edit to it, run `pnpm check:config`; every problem is reported as `site.config.ts › <path>: <message>` and the whole file is checked at once.
- The repository ships its own `AGENTS.md` with eighteen hard rules, and a machine-checked test suite behind them. If you are working inside a ZeroDirs project, read that file first — it overrides anything general you infer from this page.

Source: https://zerodirs.com/docs/about/licence/

---

The `LICENSE` file at the root of the starter is the binding text; this page summarises it in
plain words, and where the two differ the file wins. The agreement is between ZeroDirs and the
buyer (the `Licensee`) and covers the starter's source and everything that ships with it (the
`Software`).

> **When the licence is silent**
>
> If `LICENSE` does not answer a question, the licence does not address it: email
> `hi@zerodirs.com` rather than assume.

## What you may build

Section 1 grants a `perpetual, worldwide, non-exclusive, non-transferable, non-sublicensable`
licence to use, copy and modify the Software to build and operate an unlimited number of
`end product`s, for yourself or for others, free or paid. An `end product` is what you build with
the Software and your own content, configuration and design: something a visitor experiences as
your product, not as a copy of the Software.

| Is an end product | Is not |
| --- | --- |
| a directory site built with the Software | a tool that lets other people build directory sites |
| a paid or subscription directory | a starter kit, template, theme or generator derived from it |

## Who may use it

One purchase covers one person or one company. The Licensee's employees and contractors may use
the Software while they work on the Licensee's end products; a contractor whose engagement ends
must delete their copies. Each further company, and each independent developer, needs a licence
of its own.

The licence is `non-transferable`, and it says nothing about a change in the Licensee itself,
such as a sole trader who incorporates or a company that is acquired. Email support first.

## What you may not do

Section 3 lists six things:

1. Resell, redistribute, sublicense, rent, lease or give away the Software itself, other than
   as an integral part of an end product.
2. Publish the Software, or any substantial part of it, in any public channel, or release it
   under an open-source licence.
3. Build or sell a competing product: a starter kit, template, theme, code generator or hosted
   "build your own directory" service derived from or substantially based on the Software.
   Building a directory is permitted; selling the means for someone else to build one is not.
4. Share access (repository access, download links or credentials) with anyone outside the
   Licensee.
5. Use the Software to train a machine-learning model, AI system or code-generation tool. Using
   AI coding assistants to work on your end products is expressly permitted.
6. Remove or alter any copyright, trademark or licence notice in the Software.

Section 4 adds that the Software is licensed, not sold: ZeroDirs keeps the rights in it, and
you own the content, configuration, design and code that you add.

## Client work

Allowed (Section 2). You may build end products for clients and deliver each one to its
client, including the portions of the Software it contains, and the client may run and modify
it. The client may not use the Software to build further, separate end products without a
licence of their own. End products delivered before a termination stay unaffected (Section 9).

## Updates and support

Section 1 includes updates for the lifetime of the product, meaning every version ZeroDirs
publishes to the repository you were given access to, and email support on a best-effort basis;
ZeroDirs does not commit to a release schedule. [Updates](https://zerodirs.com/docs/about/updates/) covers what a release
touches and how to pull one, and [Changelog](https://zerodirs.com/docs/about/changelog/) lists what each release changed.

## The demo content

Section 5 covers two kinds of demo material:

| Material | Where | Status |
| --- | --- | --- |
| The initial-letter logo tiles | `seed/datasets/*/logos/` | drawn for the starter, no third-party artwork; part of the Software, licensed to you like any other file in it |
| The demo listings, blog posts and datasets | `seed/datasets/` and `src/content/blog/`; the demo listings are loaded into your local database on the first run | describe real third-party products; the descriptions are ZeroDirs' own text, for evaluation only, not licensed to you for publication |

Replace the second kind before you launch; [Make it yours](https://zerodirs.com/docs/start/make-it-yours/) walks through
it. `pnpm content:reset --yes` removes the demo listings and their logos from a database and the
demo blog posts; the datasets stay in `seed/datasets/`, so `pnpm content:use ai-tools --yes` can
load the demo again.

The open-source components inside the Software keep their own licences, which this agreement
does not limit.

## The Built with link

`site.builtWith` (default `true`) renders a "Built with ZeroDirs" link in the footer. It is not a
licence condition (the licence does not mention it): set the field to `false` and it is gone. See [`site`](https://zerodirs.com/docs/configure/reference/#site).

## Refunds and purchase terms

Section 6: a full refund, no questions asked, within the window the terms page states, requested
by email to the address on your receipt. Repository access is revoked at the same time and the
licence ends. The price, what is delivered and when, and how payment is handled are on the
[terms page](https://zerodirs.com/legal/terms/) and in the
[pricing section](https://zerodirs.com/#pricing).

## The rest of the agreement

| Section | In plain words |
| --- | --- |
| 7, Warranty | the Software is provided "as is", without warranty of any kind |
| 8, Liability | as far as the law allows, ZeroDirs is not liable for claims arising from the Software; its liability is capped at what you paid. Hosting costs, the content you publish and the terms of any service you connect are your responsibility |
| 9, Termination | the agreement ends if you materially breach Section 3 and do not cure it within the notice period the licence states, or when you are refunded. You delete your copies; end products already delivered to clients are unaffected |
| 10, Governing law | the laws of the Hong Kong Special Administrative Region, whose courts have exclusive jurisdiction |

## Related

- [FAQ](https://zerodirs.com/docs/about/faq/) — Short answers for evaluators and first-week buyers.
- [Updates](https://zerodirs.com/docs/about/updates/) — What a release touches, and how to pull one.
- [Changelog](https://zerodirs.com/docs/about/changelog/) — Every release of the starter and what it changed.
- [What you are buying](https://zerodirs.com/docs/) — What ships, and what it deliberately does not do.
