# jsor/lity

Lightweight, accessible and responsive lightbox.

Repository: https://github.com/jsor/lity
Canonical: https://ross.abutalabs.com/products/lity
Homepage: https://sorgalla.com/lity/
Language: HTML
License: MIT
License Family: permissive
Topics: lity, lightbox, modal, lightweight, accessible, accessibility, responsive, javascript
Last push: 2023-07-28T23:01:02+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4208, "days_push": 1132, "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 1160, forks 190 (observed 2026-08-28T04:03:49.086943+00:00)

## What it is
Lity is an ultra-lightweight (~3kB gzipped), accessible and responsive lightbox plugin for jQuery or Zepto. It supports images, iframes (YouTube, Vimeo, Google Maps) and inline content via declarative data attributes or a programmatic API.

## Use cases
- open images in a lightbox
- embed youtube or vimeo videos in a modal overlay
- show inline html content in a popup dialog
- add an accessible responsive lightbox to a jquery site
- open google maps in a modal window

## When to choose
- you need a tiny, dependency-light lightbox on a jQuery or Zepto site
- accessibility and responsiveness are priorities
- you want declarative data-attribute setup with minimal code

## When to avoid
- your project does not use jQuery or Zepto
- you need a modern framework (React/Vue) component-based lightbox
- you need advanced features like galleries or zoom effects

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation, accessibility
- domain: frontend, web-development, accessibility
- platform: browser
- tags: lightbox, modal, jquery-plugin, responsive, 3kb, zepto, javascript

## Member repositories
- jsor/lity (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.086943+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-30T06:31:48.638239+00:00, confidence not recorded.
  - readme: https://github.com/jsor/lity (fetched 2026-08-28T04:03:49.086943+00:00, sha 1891d0c0627a)
  - homepage: https://sorgalla.com/lity/ (fetched 2026-08-29T12:36:18.679774+00:00, sha 03b22939380e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
