1
0
mirror of https://github.com/nxshock/gallery.git synced 2024-11-27 00:11:00 +05:00
Go to file
2023-04-09 19:54:01 +05:00
.gitattributes Initial commit 2022-11-28 19:21:48 +05:00
.gitignore Initial commit 2022-11-28 19:21:48 +05:00
black.png Upload code 2023-01-08 14:52:16 +05:00
config.go Upload code 2023-01-08 14:52:16 +05:00
consts.go Upload code 2023-01-08 14:52:16 +05:00
go.mod Upload code 2023-01-08 14:52:16 +05:00
go.sum Upload code 2023-01-08 14:52:16 +05:00
handlers.go Upload code 2023-01-08 14:52:16 +05:00
index.html Upload code 2023-01-08 14:52:16 +05:00
itemtype.go Upload code 2023-01-08 14:52:16 +05:00
LICENSE Initial commit 2022-11-28 19:21:48 +05:00
main.go Upload code 2023-01-08 14:52:16 +05:00
preview.go Fix ffmpeg cmd line 2023-04-09 19:54:01 +05:00
README.md Upload code 2023-01-08 14:52:16 +05:00
template.go Upload code 2023-01-08 14:52:16 +05:00
utils.go Upload code 2023-01-08 14:52:16 +05:00

Gallery

Simple gallery.

Usage

  1. Create config file and set WorkingDirectory

  2. Start program

    gallery <path to config>
    

Config structure

WorkingDirectory = "/home/user/pictures" # Working directory
Crf              = 40                    # Preview CRF
                                         # from 1 - maximum quality
                                         # to  63 - minimum preview cache size
ProcessCount     = 4                     # Preview generator threads