{"id":13510177,"url":"https://github.com/storyblok/storyblok-cli","last_synced_at":"2025-07-21T20:37:59.706Z","repository":{"id":64858183,"uuid":"578945315","full_name":"storyblok/storyblok-cli","owner":"storyblok","description":"Storyblok CLI","archived":false,"fork":false,"pushed_at":"2025-06-19T12:26:10.000Z","size":2616,"stargazers_count":51,"open_issues_count":62,"forks_count":38,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-07-03T09:53:15.921Z","etag":null,"topics":["api","cli","command-line","enterprise","storyblok"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/storyblok","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/storyblok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-16T09:13:58.000Z","updated_at":"2025-06-29T14:31:31.000Z","dependencies_parsed_at":"2023-02-16T21:31:39.216Z","dependency_job_id":"48f2fb4a-fca1-444c-baa1-ff918c3e8aa1","html_url":"https://github.com/storyblok/storyblok-cli","commit_stats":{"total_commits":333,"total_committers":22,"mean_commits":"15.136363636363637","dds":0.6876876876876876,"last_synced_commit":"ffb6493e6e760e27d4ea7ab262177078c8de8abe"},"previous_names":[],"tags_count":99,"template":false,"template_full_name":null,"purl":"pkg:github/storyblok/storyblok-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/storyblok%2Fstoryblok-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/storyblok%2Fstoryblok-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/storyblok%2Fstoryblok-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/storyblok%2Fstoryblok-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/storyblok","download_url":"https://codeload.github.com/storyblok/storyblok-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/storyblok%2Fstoryblok-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265586569,"owners_count":23792940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cli","command-line","enterprise","storyblok"],"created_at":"2024-08-01T02:01:27.151Z","updated_at":"2025-07-21T20:37:59.695Z","avatar_url":"https://github.com/storyblok.png","language":"TypeScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n![Storyblok ImagoType](https://raw.githubusercontent.com/storyblok/.github/refs/heads/main/profile/public/github-banner.png)\n\n\u003ch1\u003eStoryblok CLI\u003c/h1\u003e\n  \u003cp\u003eA powerful CLI tool to improve the DX of your \u003ca href=\"https://www.storyblok.com?utm_source=github.com\u0026utm_medium=readme\u0026utm_campaign=storyblok\" target=\"_blank\"\u003eStoryblok\u003c/a\u003e projects.\u003c/p\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.com/package/storyblok\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/storyblok/latest.svg?style=flat-square\u0026color=8d60ff\" alt=\"Storyblok JS Client\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.com/package/storyblok\" rel=\"nofollow\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/storyblok.svg?style=appveyor\u0026color=8d60ff\" alt=\"npm\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://storyblok.com/join-discord\"\u003e\n   \u003cimg src=\"https://img.shields.io/discord/700316478792138842?label=Join%20Our%20Discord%20Community\u0026style=appveyor\u0026logo=discord\u0026color=8d60ff\"\u003e\n   \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=storyblok\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Follow-%40storyblok-8d60ff?style=appveyor\u0026logo=twitter\" alt=\"Follow @Storyblok\" /\u003e\n  \u003c/a\u003e\u003cbr/\u003e\n  \u003ca href=\"https://app.storyblok.com/#!/signup?utm_source=github.com\u0026utm_medium=readme\u0026utm_campaign=storyblok-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Try%20Storyblok-Free-8d60ff?style=appveyor\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADpiRU/AAACRElEQVRIDWNgGGmAEd3D3Js3LPrP8D8WXZwSPiMjw6qvPoHhyGYwIXNAbGpbCjbzP0MYuj0YFqMroBV/wCxmIeSju64eDNzMBJUxvP/9i2Hnq5cM1devMnz984eQsQwETeRhYWHgIcJiXqC6VHlFBjUeXgav40cIWkz1oLYXFmGwFBImaDFBHyObcOzdW4aSq5eRhRiE2dgYlpuYoYSKJi8vw3GgWnyAJIs/AuPu4scPGObd/fqVQZ+PHy7+6udPOBsXgySLDfn5GRYYmaKYJcXBgWLpsx8/GPa8foWiBhuHJIsl2DkYQqWksZkDFgP5PObcKYYff//iVAOTIDlx/QPqRMb/YSYBaWlOToZIaVkGZmAZSQiQ5OPtwHwacuo4iplMQEu6tXUZMhSUGDiYmBjylFQYvv/7x9B04xqKOnQOyT5GN+Df//8M59ASXKyMHLoyDD5JPtbj42OYrm+EYgg70JfuYuIoYmLs7AwMjIzA+uY/zjAnyWJpDk6GOFnCvrn86SOwmsNtKciVFAc1ileBHFDC67lzG10Yg0+SjzF0ownsf/OaofvOLYaDQJoQIGix94ljv1gIZI8Pv38zPvj2lQWYf3HGKbpDCFp85v07NnRN1OBTPY6JdRSGxcCw2k6sZuLVMZ5AV4s1TozPnGGFKbz+/PE7IJsHmC//MDMyhXBw8e6FyRFLv3Z0/IKuFqvFyIqAzd1PwBzJw8jAGPfVx38JshwlbIygxmYY43/GQmpais0ODDHuzevLMARHBcgIAQAbOJHZW0/EyQAAAABJRU5ErkJggg==\" alt=\"Follow @Storyblok\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n- 🛡️ **Type Safety** - Generate TypeScript type definitions for your Storyblok components, ensuring type safety in your frontend applications\n- 🔐 **Authentication** - Secure login system with support for different regions and CI environments\n- 🧩 **Component Management** - Pull and push component schemas, groups, presets, and internal tags between spaces\n- 🔄 **Migration System** - Generate and run migrations to transform or update field values across your Storyblok content\n- 🌐 **Language Management** - Pull and manage languages for your Storyblok space\n- 📁 **File Organization** - Organized file structure with the `.storyblok` directory as default\n- 🛠️ **Customizable Paths** - Flexible path configuration for all generated files\n- 📝 **Naming Conventions** - Consistent file naming with customizable suffixes and prefixes\n- 📂 **Separate Files Support** - Option to work with individual component files or consolidated files\n- 👀 **Dry Run Mode** - Preview migrations changes before applying them to your Storyblok space\n- 🔍 **Filtering Capabilities** - Filter components and stories using glob patterns and Storyblok query syntax\n- 📊 **Verbose Logging** - Improved error handling and detailed logging options for debugging and monitoring\n\n## Pre-requisites\n\n- [Node.js \u003e= 18.0.0](https://nodejs.org/en/download/)\n- Storyblok account (sign up [here](https://app.storyblok.com/#!/signup?utm_source=github.com\u0026utm_medium=readme\u0026utm_campaign=storyblok-cli))\n- Personal access token from Storyblok (get it [here](https://app.storyblok.com/#/me/account?tab=token))\n\n## Documentation\n\n\u003e [!WARNING]\n\u003e Official documentation for this package v4 is still in development. In the meantime, please refer to the internal documentation for the [v4 beta](src/README.md).\n\n## Setup\n\nThis package relies on [pnpm](https://pnpm.io/) to manage dependencies. For instructions on how to install pnpm, please visit [pnpm.io](https://pnpm.io/installation).\n\n```bash\npnpm install\n```\n\n## Build\n\n```bash\npnpm build\n```\n\n### Testing\n\nTo run the tests you can use the following command:\n\n```bash\npnpm run test\n```\n\nIf you prefer a more visual experience while writing tests you can use this command powered by [vitest/ui](https://vitest.dev/guide/ui):\n\n```bash\npnpm run test:ui\n```\n\nYou can also check the coverage with:\n\n```bash\npnpm run coverage\n```\n\n### Debugging\n\nTo debug the CLI you can use the `launch.json` configuration in the `.vscode` folder. You can run any command with the debugger attached.\n\n![A screenshot of the Visual Studio Code debugger](/.github/assets/debug-vscode.png)\n\nThen you can set breakpoints directly to the typescript files and the debugger will handle the rest with sourcempaps.\n\n![A screenshot of a breakpoint set in the Visual Studio Code debugger](/.github/assets/breakpoints.png)\n\n## Community\n\nFor help, discussion about best practices, or any other conversation that would benefit from being searchable:\n\n- [Discuss Storyblok on Github Discussions](https://github.com/storyblok/storyblok/discussions)\n\nFor community support, chatting with other users, please visit:\n\n- [Discuss Storyblok on Discord](https://storyblok.com/join-discord)\n\n## Support\n\nFor bugs or feature requests, please [submit an issue](https://github.com/storyblok/storyblok-cli/issues/new/choose).\n\n\u003e [!IMPORTANT]\n\u003e Please search existing issues before submitting a new one. Issues without a minimal reproducible example will be closed. [Why reproductions are Required](https://antfu.me/posts/why-reproductions-are-required).\n\n### I can't share my company project code\n\nWe understand that you might not be able to share your company's project code. Please provide a minimal reproducible example that demonstrates the issue by using tools like [Stackblitz](https://stackblitz.com) or a link to a Github Repo lease make sure you include a README file with the instructions to build and run the project, important not to include any access token, password or personal information of any kind.\n\n### I only have a question\n\nIf you have a question, please ask in the [Discuss Storyblok on Discord](https://storyblok.com/join-discord) channel.\n\n## Contributing\n\nIf you're interested in contributing to Storyblok CLI, please read our [contributing docs](https://github.com/storyblok/.github/blob/main/contributing.md) before submitting a pull request.\n\n## License\n\n[License](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoryblok%2Fstoryblok-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoryblok%2Fstoryblok-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoryblok%2Fstoryblok-cli/lists"}