A static Python gallery generator that compiles photo and video folders into fast HTML sites with themes, metadata, and zero database dependencies.
Hosting a dynamic photo gallery requires maintaining database containers, runtime daemons, and an ongoing security patch perimeter. Sigal eliminates that operational surface by compiling local directories of photos and videos into flat HTML, CSS, and pre-scaled media files. Developers can publish the resulting static bundles directly to object storage or basic web servers without running backend application code.
Most self-hosted photo tools operate as integrated web applications. Platforms such as Immich and Lychee combine continuous filesystem indexing, databases, and mobile sync clients into multi-container stacks. While those platforms deliver facial tagging and multi-user uploads, they require significant memory, background CPU cycles, and database maintenance. Sigal takes an alternate architectural path: a Python command-line utility that treats photo folders as build sources and compiles standalone web bundles. It matches dynamic platforms on presentation—generating responsive thumbnails, reading EXIF metadata, and packaging media into lightbox viewers like PhotoSwipe—while eliminating runtime server dependencies.
Because it outputs static files with relative paths, Sigal integrates into automated deployment workflows. DevOps engineers can run builds inside GitHub Actions, GitLab CI, or cron scripts, pushing artifacts to Amazon S3 buckets, Cloudflare Pages, or Nginx containers via rsync. A plugin system built on Blinker signals lets developers automate watermark generation, image adjustments, and zip downloads during compilation. The trade-off is the absence of runtime interaction: Sigal provides no user authentication, in-browser tagging, or client uploads, functioning as a publishing pipeline rather than a collaborative asset manager.
Can Sigal deploy galleries directly to static hosting? Yes. Because Sigal generates flat HTML and assets with relative links, the output syncs directly to Amazon S3, Cloudflare Pages, or any standard web server.
How does Sigal differ from dynamic galleries like Lychee? Lychee runs a database and web server to manage uploads, while Sigal is a CLI compiler that produces static files requiring no application server.
Is Sigal free for commercial use? Yes. Distributed under permissive MIT terms, it allows organizations to build and host galleries for commercial and personal projects without licensing fees.
Sigal is an effective publishing tool for developers and operators who prioritize lightweight static hosting over dynamic photo suites. Its permissive MIT terms permit unrestricted modification and embedding into automated pipelines, while ongoing maintenance with commits pushed in September 2026 ensures reliable execution on modern Python environments. For teams that do not require multi-user uploads or database queries, it provides a dependable, low-overhead gallery engine.
Commands from the official package registries. Each package is matched to Sigal through the registry's own link to its source code or website.
sudo pacman -S sigalGo, gRPC and Protobuf done right, LLM agents in production, and the hard parts of shipping a first product.
Show that Sigal is listed as an open-source alternative. Paste into your README: