Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creekorful/go-gallery
Generate a photography portfolio website for your photos.
https://github.com/creekorful/go-gallery
golang-application photo-gallery photo-gallery-application static-site-generator
Last synced: about 2 months ago
JSON representation
Generate a photography portfolio website for your photos.
- Host: GitHub
- URL: https://github.com/creekorful/go-gallery
- Owner: creekorful
- License: gpl-3.0
- Created: 2021-08-08T14:03:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-15T16:31:57.000Z (almost 3 years ago)
- Last Synced: 2024-10-13T13:31:40.104Z (3 months ago)
- Topics: golang-application, photo-gallery, photo-gallery-application, static-site-generator
- Language: Go
- Homepage: https://photos.creekorful.org
- Size: 193 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome - Go Gallery - Generate a photography portfolio website for your photos. (Development / Programming)
README
# go-gallery
Generate a photography portfolio website for your photos. A demo is available [here](https://photos.creekorful.org).
## Usage
```
$ ./go-gallery -c config.yaml -parallel 8 ~/Photos
```Where `~Photos` is the directory where the images are stored (*.jpg, *.jpeg).
The software will generate a bunch of .html and .css file to turn your directory as a static website, that you
can upload to Netlify, S3, or an FTP server afterwards.### The configuration file
```yaml
title: "go-gallery"
url: https://photos.example.org
#cover_url: https://example.org/cover.png <- override the default cover
bg_color: "#1b1c1d"
font_color: "white"
border_size: "3px"
thumbnail_max_size: 760
enable_albums: true
```## How to hack it
In order to prevent embedded code copies, [GLightbox](https://github.com/biati-digital/glightbox) is not provided in
this repository. Therefore, if you want to hack it locally, you must first vendorize the GLightbox dependency. This can
be done using the provided Makefile.```
$ make vendor
```