Liasse

Pro components

How paid Liasse components work — own-your-code, gated download, no runtime phone-home.

The Liasse core and adapters are MIT and free. Pro components are paid, but follow the same own-your-code model as the free ones: after purchase the source is copied into your repo and you own it. Only the download is gated — the CLI exchanges your license key for the source once, at liasse add time. There is no runtime phone-home and no license check when your code runs.

Installing a Pro component

Pass your license key with --token (or the LIASSE_TOKEN environment variable):

npx liasse add liasse-fiscale --token=liasse_live_xxx
# or
export LIASSE_TOKEN=liasse_live_xxx
npx liasse add liasse-fiscale payslip

The public registry lists Pro components without their source; the CLI fetches it from the gated endpoint authenticated with your key. If the key is missing you get a clear prompt; an invalid key returns 401, and a key that doesn't cover the requested component returns 403.

Lost your key, or testing locally? Outside production the dev server accepts a demo key liasse_demo_dev that unlocks everything.

How gating works

StageWhereWhat
Discovery (public)registry.jsonLists every component; Pro entries carry metadata only.
Download (gated)GET /api/registry/proReturns Pro source for the components your key unlocks.
PurchasePOST /api/stripe/webhookIssues a license key on checkout.session.completed.

Because the source lives in your repo after install, you can read, modify and commit it like any other file you own.

On this page