FindSoftware

Loki

Visual regression testing tool that screenshots Storybook stories and compares them with reference images.

Loki is a visual regression tester for Storybook stories. It captures a screenshot of each story and compares it with reference images that are checked into the project’s git repository. It runs on Node and is added to a project with a package manager.

Loki does not start any servers, so the Storybook it tests has to be available when the tests run. The continuous integration guide describes it as built to run on a CI server. It renders stories with Chrome, either in Docker or as a local application, and the README also lists Chrome in AWS Lambda.

Worth knowing

The Docker target needs Docker, the local Chrome target needs a Chrome installation, and the gm diffing engine needs GraphicsMagick.

Identity

Status
Active
Maintainer
Joel Arvidsson4
Maintained by
Individual
First release
20177

Rendering and deploy

Runs as
Dev only6
Install with
yarn add loki --dev, then yarn loki init3

Releases

Current major version
Pre-1.08
Last release
2024-08-278

Adoption

GitHub stars
1,9152
npm downloads a week
27,33810
Contributors
629
Dependent repositories
31511
Dependent packages
13711

Why these figures do not compare

Sources

  1. 2026-10-28: links
    loki.js.org/
  2. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/oblador/loki
  3. 2026-10-28: links, Runtime, Install with
    loki.js.org/getting-started.html
  4. 2026-10-28: Maintainer, License model
    github.com/oblador/loki/blob/master/LICENSE
  5. 2026-10-28: Categories, Built on
    github.com/oblador/loki/blob/master/packages/loki/README.md
  6. 2026-10-28: Runs as
    loki.js.org/continuous-integration.html
  7. 2026-10-28: First release
    registry.npmjs.org/loki
  8. 2026-10-28: Current major version, Last release
    api.github.com/repos/oblador/loki/releases
  9. 2026-10-28: Contributors
    api.github.com/repos/oblador/loki/contributors
  10. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/loki
  11. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/loki

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON