Skip to content

LyEve Core

Source code

Two parts of LyEve are MIT-licensed, and each image carries the MIT LICENSE for the code in it:

  • The engine. First-run setup, sign-in, users and roles, and the PostgreSQL, MySQL and SQL Server support. It answers the Admin API and the Content API. On its own it serves no content, because content types come from a feature.
  • LyEve Console's public source.

These parts are commercial, and their source is not public:

  • License verification. The server in the engine image includes it, under the EULA. It holds no secret, because verification is an offline Ed25519 signature check against a public key.
  • Every feature beyond the engine, including the ones included free. They are commercial software under the EULA. Free means free of charge, not open source. Content types, entries, draft and publish, content history and scheduled publishing come from two free features, schema changes and content lifecycle. Access rules are a feature too.
  • The visual flow and schema editors in the admin image. They are under the EULA, and the admin image ships a summary of it beside the MIT license as LICENSE-COMMERCIAL.md.
  • Any other LyEve code in the images whose source is not public. It is under the EULA too.

Each image says what it contains in its org.opencontainers.image.licenses label:

Shell
docker inspect --format '{{ index .Config.Labels "org.opencontainers.image.licenses" }}' \
ghcr.io/lyeve-labs/lyeve-core:latest
ImageLabelWhy
ghcr.io/lyeve-labs/lyeve-coreLicenseRef-LyEve-CommercialThe server in it also contains license verification and the features.
ghcr.io/lyeve-labs/lyeve-consoleMIT AND LicenseRef-LyEve-CommercialThe console is MIT, and the visual editors are commercial.

The engine image keeps its LICENSE and THIRD_PARTY_NOTICES.md in /usr/share/doc/lyeve/. Copy them out without starting the image:

Shell
id=$(docker create ghcr.io/lyeve-labs/lyeve-core:latest)
docker cp "$id":/usr/share/doc/lyeve/LICENSE ./LICENSE
docker cp "$id":/usr/share/doc/lyeve/THIRD_PARTY_NOTICES.md ./THIRD_PARTY_NOTICES.md
docker rm "$id" >/dev/null

Fourteen repositories are public on github.com/lyeve-labs, all MIT-licensed. The engine, the console and this documentation are three of them:

RepositoryWhat it is
lyeve-coreThe engine
lyeve-consoleThe console, without the visual editors
lyeve-examplesRunnable example applications
benchmarksThe performance benchmarks, to rerun on your own hardware
docsThis documentation. Open an issue or a pull request to fix a page

The other nine are the client libraries and the UI kit, each published on npm:

RepositoryPublished on npm as
client@lyeve-labs/client
client-rest@lyeve-labs/client-rest
client-graphql@lyeve-labs/client-graphql
client-grpc@lyeve-labs/client-grpc
client-realtime@lyeve-labs/client-realtime
client-react@lyeve-labs/client-react
client-svelte@lyeve-labs/client-svelte
client-vue@lyeve-labs/client-vue
ui-kit@lyeve-labs/ui-kit
  • The product you run is the image ghcr.io/lyeve-labs/lyeve-core, which carries the engine, license verification and every feature. A paid feature stays off until a license includes it. Verify Offline shows how to check the binary and that, given a signed token, it never calls home.
  • The MIT license covers the engine and admin code, including the right to modify and redistribute it. Read it, fork it and file bugs in lyeve-core and lyeve-console. Support requests go through lyeve.com/contact.
  • The client libraries are fully open. You can read, fork and build every library your application links against.

MIT on the part that handles your data is what lets you keep running it, and change it, whatever happens to us. The features beyond the engine are where the product's commercial value is, and license verification is what enforces the plan you bought. Keeping both commercial is what makes a self-hosted license mean anything.