A minimalist lightbox gallery for GitHub repositories that allows full-screen viewing, zooming, and navigation of documentation images.
A high-performance, minimalist Userscript that transforms static documentation images and embedded screenshots on GitHub repository pages into an interactive, sleek Lightbox Gallery Overlay.
Say goodbye to right-clicking "Open image in new tab" or being redirected to generic GitHub attachment pages just to see a screenshot clearly. With this script, clicking any image within the repository's README or markdown body instantly projects it into a gorgeous full-screen viewer.
object-fit: contain) to occupy the maximum available space on your monitor.Take full control of the gallery engine without touching your mouse:
| Key | Action |
|---|---|
| → / Arrow Right | Navigate to the Next image |
| ← / Arrow Left | Navigate to the Previous image |
| F | Toggle Fullscreen projection mode |
| G | Trigger Go To Location and close overlay |
| H | Manual Toggle UI (Hide/Show Menu Bars) |
| ESC | Close gallery (or exit hidden UI state) |
Note: Pressing Spacebar or Enter is strictly intercepted and blocked while the lightbox is active to avoid unintended webpage scrolling leaks.
You can easily modify the script's configuration at the top of the code source to filter out specific assets:
enableFilter: Toggle global exclusion rules (true/false).excludeExtensions: Definitively skips vector files like ['SVG'] from cluster collection.excludeDomains: Filters out non-documentation graphics such as ['avatars.githubusercontent.com'] so user profile avatars don't clutter your gallery.https://github.com/keeweb/keeweb) and click on an image to enjoy the ultimate browsing experience!