go-gallery

command module
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

README

Generate a photography portfolio website for your photos. A demo is available here.

Usage

$ ./go-gallery -photos-dir ~/Photos -output-dir /var/www/photos.example.org -config-file config.yaml

Where -photos-dir is the directory where the images are stored (*.jpg, *.jpeg), -output-dir is the directory where the static website will be copied and -config-file is the path to the configuration file.

The configuration file
title: "go-gallery"
bg_color: "white"
font_color: "#111"
border: "8px"
thumbnail_max_size: 760
show_separator: true

Once the website is generated you can upload it using lftp, rsync, etc.

The website may eventually be hosted on Netlify

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL