Skip to content

About

Open core of Nibify: component catalog, A2UI envelope spec, TypeScript SDK, and the n8n community node. Backend, apps and dashboard are closed source.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

nibify-sdk

The open half of Nibify: the component catalog, the A2UI envelope spec, the TypeScript SDK, and the n8n community node — everything a builder reads before deciding to trust the thing. MIT.

The other half — backend, Flutter app, dashboard, marketing site — is closed and not self-hostable. That is a product decision, not an oversight: the backend is the only thing that can ever be charged for, and self-hosting it would cost Docker, configuration, documented migrations and support before there is a single user.

Early. All three packages are on npm. @nibify/sdk covers every operation of the public API. n8n-nodes-nibify is waiting for n8n's verification, so for now it installs only on self-hosted n8n.

The package READMEs are what npm shows, so they stay short and point at the documentation, https://nibify.app/docs. This README is for whoever works on the code.

The workspace

pnpm workspaces, Node LTS (24). No Turborepo: there is no build graph to schedule — the packages are independent by construction, and pnpm -r is the whole story.

catalog/                     `@nibify/catalog`
packages/sdk-ts/             `@nibify/sdk`
packages/n8n-nodes-nibify/   `n8n-nodes-nibify` — unscoped, as n8n requires

The n8n node does not depend on @nibify/sdk. n8n's verification guidelines forbid external dependencies, so the two are independent clients of the same REST API, kept in step by an OpenAPI document generated from the backend's Zod schemas and a contract test. The layout says so out loud: two sibling packages, neither above the other, and n8n-nodes-nibify keeps an empty dependencies field. There is no lint rule underneath — the empty field is the mechanism, and the first convenient import is the moment verification is lost.

Types are generated, the clients are written by hand. Each package generates its types from openapi/openapi.json, keeping only the operations of the API's agent tag: pnpm --filter @nibify/sdk generate, which also regenerates the SDK's component constructors from catalog/catalog.json, and pnpm --filter n8n-nodes-nibify generate. Never edit the generated files. Each package's contract test fails when its types fall behind the spec, or when an agent operation is neither called nor listed as not yet covered; the SDK's also fails when the constructors fall behind the catalog.

The catalog is written here. From v2 its only source is catalog/, published as @nibify/catalog, and the private repo consumes it from npm. Its tests run with the rest under pnpm -r test.

pnpm install
pnpm typecheck
pnpm lint
pnpm format:check
pnpm test

The configs are copies, and that is deliberate

tsconfig.base.json, eslint.config.mjs, eslint.adherence.mjs and .prettierrc.json are byte-for-byte copies of the files at the root of the private repo. A published @nibify/eslint-config would drop drift to zero, but it would put the closed repo behind a release of the open one for every tweak to a rule; with two consumers the trade does not pay.

The copy has a visible cost and it is not hidden: eslint.config.mjs carries blocks that match nothing here — the design-system adherence selectors, the NestJS import boundaries — and tsconfig.base.json carries decorator options no package here uses. They stay, because a file that differs is a file whose drift nobody can see.

eslint.adherence.mjs is the newest of the four and the one to be careful with: eslint.config.mjs imports it, so it is not optional here — without it the lint fails to load at all. On the other side it is generated from the .d.ts of the private design-system components and regenerating it has to produce an empty diff; here there is no generator and nothing to generate from, so it is copied like the rest and edited on neither side. diff against the private repo is the check, and CI running the same four commands on both sides is what makes it worth having.

Publishing

Packages are published by a GitHub Action with a provenance statement, never from a laptop: from 1 May 2026 n8n's verification guidelines require it for verified nodes. Auth is npm trusted publishing (OIDC), so there is no token anywhere. The workflow file's comments hold the three things that are easy to get wrong.

Issues

Issues about the catalog, the SDK, or the n8n node belong here — external contributors cannot open issues on a private repo. Everything else (backend, app, dashboard, site) lives in the private repo and is tracked there.

About

Open core of Nibify: component catalog, A2UI envelope spec, TypeScript SDK, and the n8n community node. Backend, apps and dashboard are closed source.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages