go_gallery

command module
v0.0.0-...-c37d647 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 18 Imported by: 0

README

This repository features a photo gallery to scroll through images found recursively in a directory. It is based on a Go server backend and an HTML/CSS/JS frontend in the browser.

The server backend templates a HTML page with as many entries as it finds pictures. However only the images in view plus some pre-fetch margin are put into the HTML document. This way, the browser is never overwhelmed with the amount of images to hold in the cache. You can zoom in/out on images by clicking on them.

You can build the project with:

go build -o migallery

Run it like this:

./migallery --dir "my/path/to/look/for/images"

The gallery will be available by default at http://127.0.0.1:3353/gallery but you can customize the port with the flag --port.

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