Skip to content

Introduction

Self-hosted Percy alternative

Moving from Percy to CirCI, an open source tool you host yourself: how the two differ, when each fits, and how to port Playwright, Cypress and Storybook setups.

Percy and CirCI both take the screenshots of your UI from CI, compare them with approved ones and ask your team to review what changed. Percy is a hosted service, part of BrowserStack. CirCI is open source software (GPL-3.0-only) that you run on your own servers, and there's no hosted version of it.

This page is for teams weighing a move from Percy to CirCI: what's different, when Percy is still the better fit, and how each kind of Percy setup maps to CirCI. Facts about Percy come from its public documentation, read on November 23, 2026, and Percy can change after that. Prices and plan limits are left out because they change: check BrowserStack's pricing page. For Chromatic and Argos too, see Compared with Chromatic, Percy and Argos.

CirCI Percy
Where it runs On your own servers: one Docker image, Postgres and file storage (Requirements) Percy's hosted service, a BrowserStack product
Self-hosting The only way to run it Not mentioned on the pages read
License GPL-3.0-only The service's license isn't stated on the pages read; the SDKs are public repositories on GitHub
What gets compared The PNG files your tests write. CirCI doesn't render pages The SDK captures the page's DOM in your test browser, and Percy renders it into screenshots in its own browsers and at the widths you choose
Browsers Whatever your tests run. Upload one build per browser to keep them apart Chrome, Firefox, Edge and Safari, plus Safari on iPhone and Chrome on Android, rendered by Percy
How a run uploads circi upload after the tests, or a plugin for Cypress, Storybook or Vitest Tests run inside percy exec --, with a PERCY_TOKEN
Review and merge gate Approve or reject in the dashboard or on the pull request; checks on GitHub, GitLab and Bitbucket (Integrations) Review in Percy's dashboard; Percy updates the commit status on the pull request (source control integrations)
  • Screenshots can't leave your network. Every image, build and review stays in your own Postgres and storage (Security, Storage).
  • You want free software with nothing to buy. All of CirCI is GPL-3.0-only.
  • Your tests already take the screenshots. Playwright, Cypress, Storybook or any tool that writes PNG files works, and what your tests render is exactly what gets compared.
  • You want to review from your git host. A check per build on the pull request with Approve and Reject buttons, review rules, and flaky screenshot triage.
  • You don't want to run a server. With CirCI, updates, backups and uptime are yours (Upgrades and migrations, Backups).
  • You want one test run rendered in many browsers. Percy renders a captured DOM in several browsers and widths on its own infrastructure. With CirCI you run each browser in your own CI and upload a build per browser.
  • You need a mature product today. CirCI is pre-1.0, and parts of it are verified only against fakes.

There's no import of Percy builds and no Percy-compatible API. The move is to let your tests write PNG files and send them to CirCI. Your test code mostly stays as it is: the Percy snapshot calls become screenshot calls.

  1. Run a CirCI server (Run it locally to try it, then Docker Compose, Kubernetes or Terraform for real use).

  2. Create a project and copy its CI token (Create a project).

  3. In your CI's secret store, replace PERCY_TOKEN with CIRCI_TOKEN (the project's token) and add CIRCI_API_URL (your CirCI address).

  4. Drop the percy exec -- wrapper from your test command. CirCI uploads after the tests, as below.

Percy's percySnapshot(page, 'name') from @percy/playwright becomes Playwright's own screenshot, written to a folder:

e2e/home.spec.ts
import { expect, test } from '@playwright/test'
test('home page', async ({ page }) => {
await page.goto('/')
// Was: await percySnapshot(page, 'Home page')
await expect(page).toHaveScreenshot('home.png', { fullPage: true })
})

Set snapshotPathTemplate and updateSnapshots: 'all' in playwright.config.ts so the screenshots land in ./screenshots on every run, then upload the folder:

Terminal window
npx playwright test && npx @circi/cli upload ./screenshots --wait

The full configuration, naming rules and tips for stable screenshots are in Playwright. Percy rendered each snapshot at several widths; in Playwright, use one project per viewport or device, and each one writes its own folder.

cy.percySnapshot('name') from @percy/cypress becomes Cypress's own cy.screenshot('name'), and @circi/cypress uploads what Cypress writes when cypress run ends:

Terminal window
npm uninstall @percy/cli @percy/cypress
npm install --save-dev @circi/cypress

In your Cypress support file (cypress/support/e2e.ts in current Cypress; Percy's README still names the older cypress/support/index.js), replace import '@percy/cypress' with import '@circi/cypress/support', and add setupNodeEvents: circi({ name: 'cypress' }) to the Cypress config. Then rename the calls:

cypress/e2e/home.cy.ts
it('looks right', () => {
cy.visit('/')
cy.screenshot('home') // was: cy.percySnapshot('Home')
})

Run npx cypress run with CIRCI_TOKEN and CIRCI_API_URL set. Unlike Percy, where the name defaults to the test's title, CirCI uploads only screenshots that have a name. Details are in Cypress.

percy storybook ./storybook-static from @percy/storybook becomes @circi/storybook, which screenshots every story with Playwright in your CI and uploads them:

Terminal window
npm uninstall @percy/cli @percy/storybook
npm install --save-dev @circi/storybook playwright
npx playwright install chromium

Add circi({ name: 'storybook', viewports: ['1280x720'] }) to addons in .storybook/main.ts, then in CI:

Terminal window
npx storybook build
npx circi-storybook upload --wait

Percy's per-story percy parameter has a CirCI counterpart, parameters.circi: skip, viewports, selector, padding and delay. See Storybook.

Old Percy builds aren't imported. The first build of each name has nothing to compare with, so every screenshot is new: approve it once on your default branch and it becomes the baseline for later builds (First review, Baselines and ignore regions).

Link the project to its repository and every build shows on the pull request as a check, with Approve and Reject buttons and a summary comment: GitHub, GitLab, Bitbucket. Make the check required in branch protection to block merging until the changes are reviewed. Without a linked git host, --wait makes the CI job itself the gate: it exits 1 while changes need review (How a build flows). A complete workflow is in the GitHub Actions guide.

New to CirCI? Start with What is CirCI? or the FAQ.