npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

simple-photo-gallery

v2.2.1

Published

Simple Photo Gallery CLI

Readme

Simple Photo Gallery

Create beautiful photo galleries from collections in just 30 seconds. No configuration required to get started—simply run two commands in your photos folder and create a static gallery website you can self-host.

This is a free, open-source tool that you can use to generate galleries and self-host them. If you don't want to use the command line or bother with self-hostting, please check out simple.photo for a hosted solution.

Example Gallries

More examples

Features

📸 Automatically scan directories with photos and videos
📝 Show descriptions for photos and videos
📂 Divide the gallery into sections to tell a story
🖼️ Create optimized thumbnails for fast loading
🎥 Play videos directly in the gallery
📱 Generate galleries that work on all devices
⚡ Optimized to be fast and lightweight
🔧 Generate a static HTML gallery that you can self-host

Quick Start

To create a gallery you need to install he simple-photo-gallery package globally and then you can use the spg command:

npm install -g simple-photo-gallery@latest
spg init
spg build

Alternatively you can use npx to run the commands directly:

npx simple-photo-gallery@latest init
npx simple-photo-gallery@latest build

This will:

  1. Install the simple-photo-gallery package from NPM (if you don't already have it)
  2. Prompt you for your gallery title, description, and header image
  3. Scan your photos and create a gallery.json file
  4. Generate optimized thumbnails
  5. Build a static HTML gallery that you can open in your browser and self-host

Installation Requirements

Supported Formats

Images: JPEG, PNG, WebP, GIF, TIFF
Videos: MP4, MOV, AVI, WebM, MKV

Detailed Documentation

For advanced usage, customization, and deployment options, see the comprehensive documentation:

Telemetry

Simple Photo Gallery collects optional anonymised usage telemetry to help us understand which features are the most helpful and to prioritise improvements. No personal data or information about your photos is collected. You need to opt-in the first time you use a command for telemetry to be collected. When the CI or DO_NOT_TRACK environment variables are set, telemetry is disabled.

You can manage telemetry at any time:

spg telemetry -s 0   # opt out of telemetry
spg telemetry -s 1   # opt back in

Every command also accepts --telemetry 0 or --telemetry 1 to temporarily override your global preference.

For more information about what data is collected please visit the telemetry page.

Python Version

The old Python version of Simple Photo Gallery V1 is still available here, but is now deprecated.

License

Simple Photo Gallery is licensed under the MIT License - see LICENSE file for details.