Skip to content
cir-ciPublic

Latest commit

 

History

648 Commits

Folders and files

Repository files navigation

CirCI

Review every visual change before it merges.
Self-hosted visual regression testing: CI uploads screenshots, CirCI compares them with the baseline, and your team approves or rejects what changed.

Documentation · Getting started · Self-hosting · Roadmap

License: GPL-3.0 @circi/cli on npm

Note

CirCI is in active development. See the roadmap for what's planned.

Using and running CirCI (installing it, uploading from CI, reviewing, configuration, the API) is documented on circi.dev. This repository's READMEs are about the code.

Development

pnpm 12 and Docker for the local environment. pnpm install also installs the Node it runs on (26, devEngines in package.json).

pnpm install
pnpm exec playwright install chromium   # once, for the browser tests
pnpm dev                                # Postgres, Mailpit, the server and the dashboard, seeded
pnpm gate                               # format check, lint, typecheck, tests and build

CONTRIBUTING.md covers how to contribute, and CLAUDE.md has the layers and code conventions. Local development is on the website.

The code

Folder
apps/server The HTTP server and the admin CLI (circi), bundled into the image
apps/worker The job runner (builds, notifications, webhooks); the server bundle inlines it
apps/web The dashboard (React, Vite)
packages/ core (rules, no I/O), services (use cases), db (Drizzle schema, queries, queue), config, auth, api (wire types), diff, storage, sites, integrations, ui (the design system, with its visual tests), testing
packages/cli, packages/vitest, packages/storybook, packages/cypress The npm packages: @circi/cli, @circi/vitest, @circi/storybook and @circi/cypress
deploy/ The image, the Compose files, Caddy and the Terraform module
dev/ pnpm dev, the local environment and its seed
e2e/ End-to-end tests against the real Docker stack
perf/ The k6 load tests and the diff benchmark

License

CirCI is free software under the GNU General Public License v3.0 (GPL-3.0-only). The packages you add to your own projects, @circi/cli, @circi/vitest, @circi/cypress and @circi/storybook, are under the MIT License instead, so they can go into any project's dependencies. Contributions are licensed like the package they change.

Releases

Packages

Contributors

Languages