🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/stevecastle/gallery-generator

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/stevecastle/gallery-generator

Source
Go
Version
v0.0.0-20221215013223-be0a90145b30
Version published
Created
Source

A simple GO program to serve a gallery of images from a folder of images.

Build

go build .

Usage

Place all of your images in the images subdirectory in the same directory as the executable. Then run the executable. The gallery will be served on the port provided

./gallery-generator -t="Gallery Title" -p=80 -r=.5 -c=4

Options

    -t="Gallery Title"  Title of the gallery. Will be used for the page title and the h1 header.
    -p=8888             Percentage of the image to use.
    -r=1                Ratio of the grid images. 1 is square, 2 is 2:1, 0.5 is 1:2
    -c=6                Number of columns to use.

FAQs

Package last updated on 15 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts