# Licensing & pricing

Jodit Collaboration is a commercial product by [XDSoft](https://xdsoft.net/),
the makers of the [Jodit editor](https://xdsoft.net/jodit/). Every part of it
is distributed under a single commercial license: **free to evaluate**
(including the built-in anonymous demo mode), with a **paid license required
for production use**.

## The packages

| Package                                | What it is                                                                                                                                   |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `@jodit/collab-protocol`               | The wire protocol and spec as code: message schemas, the OT transform, reference `DocumentSession`/`ClientSync`, the auth/identity contract. |
| `@jodit/collab-plugin` (editor plugin) | The Jodit-side integration: DOM capture → patches, remote cursors, comments panel, tracked-changes panel.                                    |
| `@jodit/collab-server` (server)        | The authoritative sequencer, storage, comments, suggestions, presence, revisions and history API.                                            |

The npm packages are public so you can install and evaluate freely; production
use is licensed. The same terms apply to the Jodit PRO editor plugins; see
<https://xdsoft.net/jodit/pro/>.

## Editions & pricing

|                    | **Cloud**                                              | **On-premise**                                                                                                             |
| ------------------ | ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| **Price**          | **from $100 / month** (or $990 / year)                 | **$2,000 one-time** + setup                                                                                                |
| Where it runs      | Hosted and operated by us                              | A Docker container in **your** infrastructure                                                                              |
| Your data          | Isolated per customer in our cloud                     | **Never leaves your network**: documents, patch logs, comments in your DB                                                  |
| Setup              | Point the plugin at your cloud endpoint with your keys | **We install it on your server**: you give us access, we do the rest                                                       |
| Upgrades & backups | Ours (automatic)                                       | Yours, with our [upgrade](on-premise.md#upgrades)/[backup](on-premise.md#backup) procedures; 12 months of updates included |
| Best for           | Fastest path to production, no servers to run          | Regulated / air-gapped environments, strict data-residency policies                                                        |

- **Cloud: from $100/month** (or $990/year). We host and operate the
  sequencer and database; you point the editor at your endpoint and ship. We
  handle upgrades, backups and availability.
- **On-premise: $2,000 one-time**, including **white-glove installation**:
  give us access to your server and we deploy, configure auth against your
  identity provider, and hand over a running stack. Includes **12 months of
  updates and support**. Your document content never leaves your perimeter.

Documents are yours in every edition: the [history API](history.md), the
[HTML export](history.md#export-the-current-document-as-html) and plain
`pg_dump` (on-premise) mean there is no export lock-in.

## What you get

The full feature set documented on this site:

- **Real-time patch sync**: authoritative server-sequenced OT; every change
  travels as a small id-addressed patch, never HTML.
- **Presence & live cursors**: named, colored carets and a participant bar.
- **Comments**: threads anchored to document text, with replies,
  resolve/reopen, edit, owner-role moderation, orphaned-thread handling.
- **Tracked changes**: suggesting mode with accept/reject, server-authoritative
  ([Tracked changes](track-changes.md)).
- **History & revisions**: replayable append-only log plus named save points
  you can restore live ([History](history.md), [Revisions](revisions.md)).
- **Pluggable authentication**: `checkAuthentication`/`authorize` hooks;
  identity is always server-assigned and unforgeable.
- **Storage adapters**: in-memory for evaluation, Postgres for production, or
  bring your own ([Storage](storage.md)).
- **Content firewall**: an allowlist sanitizer over every incoming patch
  ([Security](security.md)).
- **On-premise Docker**: a single container image; your data never leaves
  your network.

## Trial / demo mode

Evaluate the full system without buying anything or wiring up authentication:
the server's anonymous mode (`ALLOW_ANONYMOUS=true`) gives every visitor a
generated guest identity ("Guest Amber Fox") so a team can open a document and
try live editing, comments and suggestions immediately. Using the public
Docker image:

```bash
docker run -p 8083:8083 -e ALLOW_ANONYMOUS=true xdsoft/jodit-collaboration
# open ws://localhost:8083/collab/ws from your editor
```

Useful evaluation knobs:

- `GUEST_ROLE=commenter`: try the review workflow (guests comment/suggest,
  don't edit);
- `GUEST_ROLE=owner`: try comment moderation (any guest can delete any
  thread).

See [Getting started](getting-started.md) for the 5-minute walkthrough and
[Authentication](authentication.md#anonymous-demo-mode) for how demo mode
works. Anonymous mode is a free evaluation facility, not a license tier.
Production deployments plug in real authentication and require a license.

## Support & versioning

- **Semantic versioning.** Releases follow [SemVer](https://semver.org/):
  breaking changes bump the major version, called out in the release notes.
- **Protocol compatibility.** Client and server negotiate a wire
  `PROTOCOL_VERSION` in the `hello`/`welcome` handshake; a mismatch is rejected
  with `protocol_mismatch` (see [Protocol](protocol.md)), so keep the
  `@jodit/collab-plugin` plugin and the server on compatible versions.
- **Upgrades.** The supported-versions and upgrade policy (including the
  zero-migration, idempotent-schema restart flow) is in
  [On-premise → Upgrades](on-premise.md#upgrades).

## Security & disclosure

- The server's security posture (content firewall, fail-closed auth, rate
  limits, memory bounds, operator responsibilities) is documented in
  [Security](security.md); read it before a security review.
- **Vulnerability disclosure:** report suspected security issues privately to
  <sales@xdsoft.net> rather than in public trackers.

## Purchasing & contact

Buy or ask about volume licensing, source access, or custom terms by email:

- **Email:** <sales@xdsoft.net>
- Existing Jodit PRO customers: Jodit Collaboration is licensed separately from
  the Jodit PRO editor plugins. Mention your PRO license when you write and
  we'll factor it in.
