
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
Releases
Adoption
Sources
- 2026-10-28: links
loki.js.org/ - 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/oblador/loki - 2026-10-28: links, Runtime, Install with
loki.js.org/getting-started.html - 2026-10-28: Maintainer, License model
github.com/oblador/loki/blob/master/LICENSE - 2026-10-28: Categories, Built on
github.com/oblador/loki/blob/master/packages/loki/README.md - 2026-10-28: Runs as
loki.js.org/continuous-integration.html - 2026-10-28: First release
registry.npmjs.org/loki - 2026-10-28: Current major version, Last release
api.github.com/repos/oblador/loki/releases - 2026-10-28: Contributors
api.github.com/repos/oblador/loki/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/loki - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/loki