https://github.com/tonimelisma/fastgallery
Super fast static photo and video gallery generator (written in Go and HTML/CSS/native JS)
https://github.com/tonimelisma/fastgallery
bimg golang photo video
Last synced: 3 months ago
JSON representation
Super fast static photo and video gallery generator (written in Go and HTML/CSS/native JS)
- Host: GitHub
- URL: https://github.com/tonimelisma/fastgallery
- Owner: tonimelisma
- License: mit
- Created: 2020-09-20T15:38:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T19:29:15.000Z (12 months ago)
- Last Synced: 2025-03-11T09:50:14.100Z (3 months ago)
- Topics: bimg, golang, photo, video
- Language: Go
- Homepage:
- Size: 40.4 MB
- Stars: 36
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# fastgallery [](http://goreportcard.com/report/tonimelisma/fastgallery)   [](https://github.com/tonimelisma/fastgallery/actions) [](https://coveralls.io/github/tonimelisma/fastgallery?branch=master)
## Fast static photo and video gallery generator
- 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/](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
## Third party libraries
- [govips](https://github.com/davidbyttow/govips), lightning fast image processing and resizing library in Go/C
- [Feather](https://github.com/feathericons/feather) icons, simple and beautiful
- [Primer](https://github.com/primer/css) CSS, Github's in-house design system