# biati-digital/glightbox

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes

Repository: https://github.com/biati-digital/glightbox
Canonical: https://ross.abutalabs.com/products/glightbox
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, lightbox, responsive, gallery, image, slide, javascript-lightbox, lightbox-gallery, lightbox-script, lightbox-plugin, lightbox-gallery-plugin
Last push: 2025-12-02T03:24:35+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 3201, "days_push": 274, "days_rel": 590, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2519, forks 247 (observed 2026-08-28T04:06:58.291660+00:00)

## What it is
GLightbox is a pure JavaScript lightbox library for displaying images, videos (YouTube, Vimeo, self-hosted), inline content, and iframes in an overlay. It is lightweight (~11KB gzipped), dependency-free, and supports galleries, keyboard and touch navigation, zoomable images, and theming via CSS.

## Use cases
- display images in a lightbox popup on my website
- create an image gallery with prev/next navigation
- embed YouTube or Vimeo videos in a lightbox with autoplay
- show inline HTML content or iframes in a modal overlay
- add a mobile-friendly touch-swipeable lightbox
- zoom and drag images on desktop and mobile
- open multiple galleries on one page

## When to choose
- you need a small, dependency-free vanilla JavaScript lightbox
- you need mixed content support: images, videos, iframes, and inline HTML
- mobile touch support and responsive behavior are important
- you want keyboard navigation and a themeable CSS skin out of the box

## When to avoid
- you need a full-featured modal/dialog system with forms and focus trapping
- your project already uses a framework component library with a built-in lightbox
- you need advanced features like deep-linking, SSR integration, or React/Vue bindings natively

## Facets
- artifact type: library
- maturity: active
- function: ui-components, image-processing, video-processing
- domain: web-development, frontend, media
- platform: browser
- tags: lightbox, gallery, responsive, touch-support, no-dependencies, javascript

## Member repositories
- biati-digital/glightbox (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.291660+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-30T02:26:06.661883+00:00, confidence not recorded.
  - readme: https://github.com/biati-digital/glightbox (fetched 2026-08-28T04:06:58.291660+00:00, sha f8a18f73f0be)
  - registry_npm: https://registry.npmjs.org/glightbox (fetched 2026-08-29T10:08:25.480334+00:00, sha d586bbc82320)
- Data as of 2026-08-30T08:39:29.467469+00:00.
