Sigal

Sigal

Python-based static gallery generator

934stars
170forks
Last commit: 1mo ago
Repo age: 15y old

Sigal is a simple static gallery generator written in Python. It processes image directories, creates resized images and thumbnails, and generates HTML pages using Jinja2 templates so galleries can be served as portable static sites.

Key Features

  • Command-line interface with commands to initialize, build and serve galleries (init, build, serve).
  • Generates HTML pages from Jinja2 templates with bundled themes and relative links for portable output.
  • Image processing: resize, create thumbnails, preserve or extract EXIF metadata, and optional video handling.
  • Multiple bundled themes (Colorbox / Galleria / PhotoSwipe-style frontends) and themeable templates.
  • Parallel processing for faster builds, plus ZIP export and feed/plugin support in templates.
  • Designed to work with common Python image libraries and toolchains; configurable JPEG options and thumbnail settings.

Use Cases

  • Create static photo galleries for personal portfolios, events, or project showcases that can be deployed to static hosts.
  • Generate optimized image sets (resized versions and thumbnails) for use in web projects or CDNs.
  • Build reproducible demo galleries for testing frontend gallery libraries or theme development.

Limitations and Considerations

  • Requires Python and a Python image library (Pillow); some image formats and full-featured EXIF handling depend on system image libraries being available. Autorotate and EXIF copy options have compatibility nuances because some image libraries cannot rewrite EXIF tags.
  • Produces static output only (no built-in user authentication, dynamic backend, or hosted service features).
  • Theme appearance and interactive features depend on included JavaScript libraries in the themes; advanced interactive features require those frontend libraries to be supported in the user's environment.

In summary, Sigal is a focused, CLI-driven tool for producing static image galleries from directories of media. It emphasizes configurable templates, image resizing/thumbnailing, and simple theme-based presentation for static deployments.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Immich

Immich

Open-source photo and video management platform for private servers

89.2k
4.7k
Last commit: 18h ago

Immich is an open-source platform for organizing, backing up, and streaming photos and videos with web and mobile clients, searchable metadata, face clustering, and S3-co...

Alternative to:
Google Photos
Google Photos
+14
Jellyfin

Jellyfin

Self-hosted media server for managing and streaming your library

47.7k
4.3k
Last commit: 2d ago

Jellyfin is a free, self-hosted media server to organize, manage, and stream movies, TV, music, and photos to web, mobile, and TV clients.

Alternative to:
Plex
Plex
+19
PhotoPrism

PhotoPrism

AI-powered photo management app with automatic tagging and search

39.1k
2.2k
Last commit: 1d ago

Self-hosted photo management app with automatic AI tagging, face recognition, maps, and powerful search to organize and find photos and videos in your library.

Alternative to:
Google Photos
Google Photos
+13
Ente

Ente

End-to-end encrypted cloud for photos and 2FA

23.9k
1.4k
Last commit: 1d ago

Open-source, end-to-end encrypted platform for private photo backup, sharing, and authenticator (2FA) sync across devices, with optional self-hosting.

Alternative to:
Google Photos
Google Photos
+14
Stash

Stash

Web app to organize and stream a private adult media library

11.7k
980
Last commit: 1d ago

Self-hosted web app for organizing, tagging, and streaming a private adult video and image library with metadata scraping, galleries, and markers.

Alternative to:
Plex
Plex
+11
LibrePhotos

LibrePhotos

Self-hosted photo management with AI-powered search and organization

7.9k
367
Last commit: 25d ago

LibrePhotos is a self-hosted photo and video management service with timeline views, metadata search, and machine-learning features like face recognition and semantic ima...

Alternative to:
Google Photos
Google Photos
+9