Skip to content

Use case

Licence keys for self-hosted Node.js and Python apps

Copy one file into your Node.js or Python product. It activates keys, checks for updates and downloads them only after checking the SHA-256 and Ed25519 signature.

How it fits

  • Node.js without packages

    deventitle-client.mjs uses only Node’s built-in crypto and fetch (Node 18+).

  • Python 3.8+

    deventitle_client.py uses the standard library for HTTP; signature checks need PyNaCl or cryptography.

  • Four fields, nothing else

    Key, product slug, domain or device ID, and version. No data from inside your app is sent.

  • Your systems too

    Issue keys from your checkout with the Management API and get signed webhooks in your CRM.

The code

From the copy-paste client files. Never switch features off: show the licence message and hold back updates.

Python: deventitle_client.py
client = DevEntitleClient("https://terminal.deventitle.com", "acme-crm", ACME_RELEASE_PUBLIC_KEY)
result = client.activate(key, "crm.buyer.com", "1.4.2")        # {"valid": True, "message": ...}
latest = client.check_for_update(key, "crm.buyer.com", "1.4.2") # None when up to date
if latest and latest.get("download_url"):
    client.download_verified(latest, "/tmp/acme-crm-%s.zip" % latest["version"])

Getting started

  1. 1

    Create a free account and add your product.

  2. 2

    Copy the Node.js or Python client into your app.

  3. 3

    Show the licence message to the buyer; never switch features off.

  4. 4

    Sign releases with the Node Release Kit (no packages needed).

The full integration checklist

Questions

Is there an npm or PyPI package?

No. The clients are single files you copy into your product, not published packages.

Can I sign releases in CI?

Yes. Run the Release Kit with the secret key in the DEVENTITLE_SIGNING_KEY environment variable, then upload with POST /releases on the Management API.

Is there an OpenAPI spec?

Yes, for the Management API: https://terminal.deventitle.com/docs/openapi.json (OpenAPI 3.1).

Other use cases

Add your first product today

Free for software companies. No fees on sales. Your buyers pay you directly.