74bf7d5638 | ||
---|---|---|
gallery | ||
lib | ||
.gitattributes | ||
.gitignore | ||
1-generate-thumbnails-and-table.py | ||
2-generate-gallery.py | ||
README.md | ||
nanogallery2-config.json | ||
requirements.txt |
README.md
Static Gallery Generator (couldn't think of a decent name yet)
A free, open-source tool to automatically generate a gallery of your art, to put up on your personal website. Automatically creates thumbnails, the JS and the HTML (which you can then edit further to your liking). The gallery at the core is nanogallery2.
I wanted to make this dead simple to set up and use, but it's definitely not quite there yet.
Requirements / Setup
- (some good instructions for installing FFmpeg are available here: https://ultahost.com/knowledge-base/install-ffmpeg-on-windows/)
- Install the dependencies (
pip install -r requirements.txt
)
How to Use
- Place images or videos in the
gallery/media/
folder - Run
1-generate-thumbnails-and-table.py
- (optional) Edit the newly created
gallery-items.csv
to add titles, descriptions and tags - Run
2-generate-gallery.py
- (This part will probably change as I figure out ways to make this more accessible)
Upload the
gallery
folder to your neocities and editindex.html
to your liking!
If you want to change settings for how the gallery looks and works, you can either make changes to nanogallery2-config.json
before running the scripts or to gallery/gallery.js
afterwards.
A detailed list of all possible settings is available here.