SnabbSajt · Docs
Site Kit SDK

Site Kit SDK

Convert Next.js, HTML, or WordPress evidence into a safe, editable SnabbSajt site package.

Site Kit is the open-source toolkit for developers and coding agents that need to bring an externally built website into SnabbSajt.

It does not execute Next.js, React, HTML, CSS, or JavaScript inside SnabbSajt. You map the finished site's content and structure to SnabbSajt's typed sections, validate the result locally, and pack it into the same self-contained bundle used by the product's backup importer.

What you get

  • A typed defineSite() authoring helper for TypeScript.
  • HTML URL/file/zip and WordPress URL+WXR conversion commands.
  • init, validate, inspect, review, approval, and pack commands.
  • The production package validator and import caps.
  • The public section registry, variants, theme types, and package types.
  • Checksum-protected image and font bundles.
  • Versioned agent skills for Codex and Claude Code.

What stays safe

The import creates a new unpublished draft. It never overwrites or publishes a site. The SnabbSajt server validates the package and asset bytes again before storing anything. Raw HTML, scripts, iframes, custom CSS, and foreign database ids are not accepted.

Authentication

Site Kit is local and keyless. You do not need an API key to author, validate, inspect, or pack a site. A signed-in SnabbSajt user imports the resulting zip through Settings > Backup & move.

Start with the quickstart, then choose the Next.js, HTML, or WordPress workflow.

Site Kit 0.2 is prepared for its first npm beta release. Until the registry verification is complete, use the GitHub main release candidate. Automatic pixel-perfect code conversion is not part of the SDK.

On this page