You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Toni Melisma 349a1935b2
Fix README URL
7 months ago
.github/workflows Add ffmpeg to CI 3 years ago
.vscode Testing assets + refactoring 3 years ago
cmd/fastgallery Don't hide thumbnails view 3 years ago
testing PWA capabilities alpha 3 years ago
.gitignore Testing assets + refactoring 3 years ago
.goreleaser.yml initialize goreleaser for release automation 3 years ago
CONTRIBUTING.md Migrate to github ci/cd 3 years ago
LICENSE Create LICENSE 4 years ago
Makefile build dependencies to install 3 years ago
README.md Fix README URL 7 months ago
go.mod Bump golang.org/x/sys from 0.0.0-20210309074719-68d13333faf2 to 0.1.0 1 year ago
go.sum Bump golang.org/x/sys from 0.0.0-20210309074719-68d13333faf2 to 0.1.0 1 year ago
test.sh Directory existence check and cleanup 3 years ago

README.md

fastgallery Go Report Card GitHub release (latest SemVer) License Build Status Coverage Status

  • Super fast (written in Go and C, concurrent, uses fastest image/video libraries, 4-8 times faster than others)
  • Both photo and video support
  • Deals with any file formats (including HEIC and HEVC)
  • Only updates changed files, runs incrementally
  • If aborted, can continue from where it stopped and clean-up unfinished files
  • Will delete removed source files from gallery
  • Uses relative paths (safe for using in subdirectory or S3)
  • Minimal bloat (vanilla JS frontend, minimal CSS)

Examples

Please see https://www.melisma.net/fastgallery-examples/

Dependencies

MacOS

For dependencies, use Homebrew to install:

brew install vips ffmpeg

Ubuntu Linux

For Ubuntu 18.04 bionic or 20.04 focal, first add my PPA for latest libvips with HEIF support:

sudo add-apt-repository ppa:tonimelisma/ppa

Then install libvips42 for images and optionally ffmpeg (if you need video support):

apt-get install libvips42 ffmpeg

Install

  1. Download the latest release
  2. Run make build
  3. Copy bin/fastgallery to /usr/local/bin

Usage

fastgallery ~/Dropbox/Pictures /var/www/html/gallery

Roadmap

For the prioritised roadmap, please see https://github.com/tonimelisma/fastgallery/projects/1

Third party libraries

  • govips, lightning fast image processing and resizing library in Go/C
  • Feather icons, simple and beautiful
  • Primer CSS, Github's in-house design system