Storyblok schemas and content operations from code.
sb-mig is a CLI for syncing components, roles, datasources, plugins, stories, assets, and presets across Storyblok spaces, with dry-run evidence when production content is involved.
$ sb-mig sync components --all --presets \ --dry-run ✓ discovered 42 component schemas ✓ compared remote Management API state ✓ planned component and preset updates ✓ no Storyblok writes were made $ sb-mig sync datasources --all --dry-run ✓ checked datasource definitions ✓ ready for CI review
Built for Storyblok changes that matter
The Storyblok Management API covers content and configuration, while the Delivery API serves content through the CDN. sb-mig focuses on the operational surface teams need to review, repeat, and run safely.
Component schemas from code
Sync Storyblok components and presets from version-controlled schema files instead of hand-copying Visual Editor changes.
Space-to-space operations
Move stories and assets between Storyblok spaces or local files with explicit direction, backup, and confirmation behavior.
Configuration sync
Keep datasources, roles, and field plugins aligned across environments through repeatable CLI commands.
Dry-run evidence
Preview supported Storyblok writes before they happen, especially for schema syncs and production content changes.
Auditable migrations
Run content and preset migrations with JSON summaries, before/after payloads, publication plans, and JSONL logs.
Publication-state checks
Inspect published layers and translated publish state before deciding what should be saved, published, or preserved.
Start with the command surface
Use the CLI reference to choose the right sync, inspection, backup, or migration workflow before touching a Storyblok space.
Schema sync, space operations, and safe migrations