# nicolas-t/Chocolat

Chocolat : the lightbox so cool horses use it  :horse:

Repository: https://github.com/nicolas-t/Chocolat
Canonical: https://ross.abutalabs.com/products/chocolat
Homepage: http://chocolat.insipi.de
Language: JavaScript
License: GPL-3.0
License Family: copyleft
Topics: javascript, lightbox, responsive
Last push: 2024-10-16T13:39:15+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": 5216, "days_push": 686, "days_rel": 686, "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 1682, forks 158 (observed 2026-08-28T04:05:21.678185+00:00)

## What it is
Chocolat is a lightweight, responsive JavaScript lightbox plugin for displaying one or several images on the same page, either fullscreen, fullwindow, or inside a container block. It offers an API, CSS classes, keyboard navigation, and custom breakpoints, weighing only ~10kb minified.

## Use cases
- display image galleries in a lightbox overlay
- open images fullscreen or within a page container
- build responsive thumbnail galleries that open full-size images
- add keyboard-navigable image viewers to a website
- group a series of pictures as links or thumbnails

## When to choose
- you need a small, dependency-light lightbox in vanilla JavaScript
- you want images to open in a container block rather than only fullscreen
- you need responsive behavior with custom breakpoints across desktop, tablet, and mobile

## When to avoid
- you need a full-featured gallery with video or iframe support
- your stack requires a framework-specific component (React/Vue) rather than a DOM plugin
- you need actively developed features; the project is mostly in maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: web-development, frontend, media
- platform: browser
- tags: lightbox, image-gallery, responsive, vanilla-javascript, javascript

## Member repositories
- nicolas-t/Chocolat (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:21.678185+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:41:23.036703+00:00, confidence not recorded.
  - readme: https://github.com/nicolas-t/Chocolat (fetched 2026-08-28T04:05:21.678185+00:00, sha 86ba13964dd0)
  - homepage: http://chocolat.insipi.de (fetched 2026-08-29T11:14:43.057941+00:00, sha f5008e6c6354)
  - registry_npm: https://registry.npmjs.org/chocolat (fetched 2026-08-29T11:14:43.067096+00:00, sha 2ef75cfdf302)
- Data as of 2026-08-30T08:39:29.467469+00:00.
