Loki
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What Loki is
Loki is a visual regression testing tool for Storybook. It targets Chrome in Docker, Chrome in AWS Lambda, a local Chrome application, the iOS simulator and the Android emulator. The project aims for tests that run on CI and give the same results on any operating system. The CLI stores reference files with loki update, compares against them with loki test and accepts changes with loki approve. Differences are written to a diff folder for review. Loki does not start servers, so Storybook and any simulator must already be running. It requires Node 16 or later.
Written from the project's README, read .
- Category
- Visual regression
- License
- MIT
- Language
- JavaScript
- Changelog
- Releases on GitHub
Repository metrics
Status
inactiveNo commit in the 365 days before the fetch date. The repository is not archived.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed visual regression tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Loki's, with its source.
BackstopJS: Browsers: Chrome Headless via Puppeteer; Chromium, Firefox, WebKit via Playwright. source: README
pixelmatch: Test authoring format: Code (JavaScript function on raw image data); CLI binary for PNG images. source: README
jest-image-snapshot: Framework integrations: Jest (matcher; stored images update with jest --updateSnapshot). source: README
Lost Pixel: Browsers: Chromium, Firefox, WebKit (browser config option). source: Docs: lost-pixel.config.js|ts
reg-suit: Test authoring format: Image files in a configured directory (actualDir); settings in regconfig.json. source: README
Testplane: Browsers: Chrome, Firefox, Edge, Safari; local, Docker grid (Selenoid) or remote cloud (BrowserStack, Sauce Labs). source: Docs: Browsers
Visual Regression Tracker: Browsers: Any platform that produces a screenshot: web, mobile, desktop. source: README
Comparisons
How to install
yarn add loki --dev
yarn loki initQuestions
Is Loki open source?
Yes. Loki is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is Loki maintained?
On 2026-09-22, the last commit to the default branch was on 2024-10-12, so the listed status is inactive. Rule: No commit in the 365 days before the fetch date. The repository is not archived.
How many GitHub stars does Loki have?
1,909 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is Loki written in?
The repository's primary language, as reported by the GitHub API, is JavaScript.
How do I install Loki?
The README gives a 2-line install block, shown in the install section of this page.
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- README, read