License Policy
Source Available License
Docunara is source available software licensed under the Business Source License 1.1 (BUSL-1.1).
- Source code: github.com/certchip/docunara (coming soon)
- Full license text: See the
LICENSEfile in the project root - Copyright & attribution: See the
NOTICEfile in the project root
The Business Source License 1.1 allows you to copy, modify, create derivative works, and redistribute the software for non-commercial purposes. Commercial production use requires a separate commercial license from Certchip.
On the Change Date (2030-02-14), the software will automatically convert to the Apache License 2.0. See the full license text for details.
Editions
Docunara is available in three editions:
| Edition | Use Case | License |
|---|---|---|
| Community | Personal projects, learning, non-commercial use | No cost |
| Professional | Small teams, startups | Commercial license |
| Enterprise | Organizations, enterprise deployments | Commercial license |
The Community edition is available at no cost for personal and non-commercial use. Professional and Enterprise editions may be used for trial and personal evaluation purposes. Commercial and enterprise production use requires a valid license — visit docunara.com for details.
Feature Availability by Mode
| Feature | DB Disabled | DB Enabled | DB Enabled + License |
|---|---|---|---|
| Document Editing | Yes | Yes | Yes |
| Visual Editor (WYSIWYG) | Yes | Yes | Yes |
| Document Search | No | Yes | Yes |
| Build / Publish | Yes | Yes | Yes |
| Admin Login | Via ADMIN_PASSWORD or EDITOR_SECRET | Via ADMIN_ID / ADMIN_EMAIL + ADMIN_PASSWORD | Yes |
| User Management (RBAC) | No | No | Yes |
| Multi-Locale | Yes | Yes | Yes |
| Alternative DB Backends | No | No | Yes |
Core Features
The following features are available without a license file when DB_ENABLED=true:
| Feature | Description |
|---|---|
| SQLite Database | Local SQLite database for search indexing |
| Document Search | Full-text search across all documentation files |
| Multi-Locale | Internationalization support for managing translated content |
When DB_ENABLED=false, search is not available. The database is required for search functionality.
Premium Features (License Required)
The following features require a valid Docunara license:
| Feature | Description |
|---|---|
| User Management | Full RBAC with multiple user accounts and per-account permissions |
| MongoDB Support | Use MongoDB as an alternative database backend |
| PostgreSQL Support | Use PostgreSQL as an alternative database backend |
| Additional backends | Other database and storage backends as they are developed |
Premium features are gated behind a certificate-based licensing system provided by docunara.com.
User Management
Without a license, the system operates with a single admin account defined by ADMIN_ID, ADMIN_EMAIL, and ADMIN_PASSWORD in the .env file. Users can log in with either their ID or email. With a valid license, full user management is unlocked:
- Create multiple user accounts
- Assign roles:
admin,operator,content_operator,content_manager - Set fine-grained permissions per account (locale, document path, actions)
See Roles & Permissions for details.
Authentication Without a Database
When DB_ENABLED=false, authentication is determined by the following priority:
ADMIN_PASSWORDset → JWT-based login is required; users sign in withADMIN_IDorADMIN_EMAILEDITOR_SECRETset (withoutADMIN_PASSWORD) → API access requires a shared bearer token in theAuthorizationheader- Neither set → Editor is open to anyone (no authentication required)
License File
Development Mode (Default)
When no LICENSE_FILE is configured in your .env (or the file does not exist), Docunara runs in development mode:
- Document search is available (if
DB_ENABLED=true) - User management is not available
- Single admin account only
Licensed Mode
You can obtain a license file from docunara.com to unlock premium features:
- Obtain a license certificate from docunara.com
- Place the certificate file in your project
- Set
LICENSE_FILEin your.envto the certificate path:# Path to your Docunara license certificate
LICENSE_FILE=./license.pem
The license file is an X.509 certificate signed by the docunara.com Certificate Authority (CA). The verification process:
- Validates the certificate chain against the docunara.com root CA
- Checks certificate expiration
- Extracts licensed features from certificate extensions
- Verifies domain/organization match
Summary
| Mode | License File | Search | User Management | Premium DB |
|---|---|---|---|---|
| DB Disabled | — | No | No | No |
| DB Enabled | Not configured | Yes | No | No |
| DB Enabled + License | Valid certificate | Yes | Yes | Yes |
SQLite and document search do not require a license file when the database is enabled. User management and alternative database backends are premium features that require a valid license.