Tools to quickly & easily generate a gallery for your art, to put on your Neocities or Nekoweb site.
 
 
 
Go to file
Nekkowe 7a57c1187d Writing README file, moving image folder and generated output into "gallery" subdirectory 2025-01-09 18:25:45 +01:00
gallery Writing README file, moving image folder and generated output into "gallery" subdirectory 2025-01-09 18:25:45 +01:00
lib initial commit 2025-01-09 17:35:41 +01:00
.gitignore Writing README file, moving image folder and generated output into "gallery" subdirectory 2025-01-09 18:25:45 +01:00
1-generate-thumbnails-and-table.py Writing README file, moving image folder and generated output into "gallery" subdirectory 2025-01-09 18:25:45 +01:00
2-generate-gallery.py Writing README file, moving image folder and generated output into "gallery" subdirectory 2025-01-09 18:25:45 +01:00
README.md Writing README file, moving image folder and generated output into "gallery" subdirectory 2025-01-09 18:25:45 +01:00
nanogallery2-config.json initial commit 2025-01-09 17:35:41 +01:00

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

  1. Python, to run the scripts
  2. FFmpeg, to create the thumbnails (, good installation instructions available here: https://ultahost.com/knowledge-base/install-ffmpeg-on-windows/)

How to Use

  1. Place images or videos in the gallery/media/ folder
  2. Run 1-generate-thumbnails-and-table.py
  3. (optional) Edit the newly created gallery-items.csv to add titles, descriptions and tags
  4. Run 2-generate-gallery.py
  5. (This part will probably change as I figure out ways to make this more accessible) Upload the gallery folder to your neocities and edit index.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.