Skip to content

ScryDeploy Storybook to the cloud

One command. Automatic PR previews. Zero configuration.

Get Started in 5 Minutes ​

bash
npx @scry/storybook-deployer init \
  --projectId YOUR_PROJECT_ID \
  --apiKey YOUR_API_KEY
bash
pnpm dlx @scry/storybook-deployer init \
  --projectId YOUR_PROJECT_ID \
  --apiKey YOUR_API_KEY
bash
yarn dlx @scry/storybook-deployer init \
  --projectId YOUR_PROJECT_ID \
  --apiKey YOUR_API_KEY

That's it! Your Storybook now deploys automatically on every push.

Learn more β†’

How It Works ​

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Your Codebase  │────▢│  GitHub Actions  │────▢│   Scry Cloud    β”‚
β”‚                 β”‚     β”‚                  β”‚     β”‚                 β”‚
β”‚  β€’ Storybook    β”‚     β”‚  β€’ Build         β”‚     β”‚  β€’ R2 Storage   β”‚
β”‚  β€’ Components   β”‚     β”‚  β€’ Deploy        β”‚     β”‚  β€’ CDN Delivery β”‚
β”‚  β€’ Stories      β”‚     β”‚  β€’ Notify        β”‚     β”‚  β€’ PR Previews  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

What happens when you push? ​

  1. Push to main β†’ Deploys to production (/latest)
  2. Open a PR β†’ Deploys preview (/pr-123)
  3. Update PR β†’ Updates preview automatically
  4. Merge PR β†’ Preview cleaned up, main updated

Why Scry? ​

FeatureScryChromaticVercel
Storybook Hostingβœ…βœ…βŒ
PR Previewsβœ…βœ…βœ…
One-Command Setupβœ…βŒβŒ
Self-Hostableβœ…βŒβŒ
GitHub Actionsβœ…βœ…βœ…
Free Tierβœ…LimitedLimited

Architecture ​

Scry consists of three main components:

  • CLI (@scry/storybook-deployer) - The command-line tool you run in CI
  • Upload Service - Cloudflare Worker that handles file uploads
  • CDN Service - Cloudflare Worker that serves your Storybook

Learn more about the architecture β†’

Released under the MIT License.