# oblador/loki

👁 Visual Regression Testing for Storybook

Repository: https://github.com/oblador/loki
Canonical: https://ross.abutalabs.com/products/oblador-loki
Homepage: https://loki.js.org/
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, react-native, testing, storybook, visual-testing, visual-regression, ios, web, android, react-storybook
Last push: 2024-10-12T05:41:37+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3341, "days_push": 690, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1908, forks 182 (observed 2026-08-28T04:05:52.745516+00:00)

## What it is
Loki is a visual regression testing tool for Storybook projects that captures screenshots of stories and diffs them against reference images. It supports Chrome (local or in Docker), iOS simulator, and Android emulator targets for web and React Native components.

## Use cases
- catch unintended UI changes in Storybook stories
- run visual regression tests in CI with headless Chrome in Docker
- screenshot-test React Native components on iOS simulator and Android emulator
- generate and maintain reference images for UI components
- test components across multiple viewport sizes and platforms

## When to choose
- your project already uses Storybook and you want automated visual testing
- you need cross-platform visual tests covering web and React Native
- you want a headless, reproducible visual regression setup with minimal maintenance

## When to avoid
- you don't use Storybook for component development
- you need pixel-perfect cross-browser testing beyond Chrome
- you want a hosted visual testing service with review dashboards

## Facets
- artifact type: cli-tool
- maturity: active
- function: testing, e2e-testing, developer-tools
- domain: testing, frontend, web-development, mobile-development, developer-tools
- platform: cli, cross-platform
- tags: visual-regression-testing, storybook, screenshot-testing, react-native, ui-testing, nodejs, docker, ios, android

## Member repositories
- oblador/loki (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:52.745516+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:13.734931+00:00, confidence not recorded.
  - readme: https://github.com/oblador/loki (fetched 2026-08-28T04:05:52.745516+00:00, sha 7a42d4dce94c)
  - homepage: https://loki.js.org/ (fetched 2026-08-29T10:50:42.066450+00:00, sha 17e40b3f2125)
  - site_page: https://loki.js.org/getting-started.html (fetched 2026-08-29T10:50:42.075608+00:00, sha 4bdbf29c097a)
  - registry_npm: https://registry.npmjs.org/loki (fetched 2026-08-29T10:50:42.077549+00:00, sha 3daed8e77d34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
