Tools to quickly & easily generate a gallery for your art, to put on your Neocities or Nekoweb site.
 
 
 
Go to file
Nekkowe 74bf7d5638 comment wording 2025-01-14 18:41:47 +01:00
gallery script waits for enter press before exiting, HTML file exists as example from the start / does not get overwritten by script, blacklisting hidden files from csv table, blacklisting gitkeep and gitignore from git archive generation 2025-01-14 16:42:35 +01:00
lib initial commit 2025-01-09 17:35:41 +01:00
.gitattributes blacklisting .gitattributes from git archive generation 2025-01-14 16:45:43 +01:00
.gitignore script waits for enter press before exiting, HTML file exists as example from the start / does not get overwritten by script, blacklisting hidden files from csv table, blacklisting gitkeep and gitignore from git archive generation 2025-01-14 16:42:35 +01:00
1-generate-thumbnails-and-table.py comment wording 2025-01-14 18:41:47 +01:00
2-generate-gallery.py script waits for enter press before exiting, HTML file exists as example from the start / does not get overwritten by script, blacklisting hidden files from csv table, blacklisting gitkeep and gitignore from git archive generation 2025-01-14 16:42:35 +01:00
README.md Including missing setup step in README 2025-01-09 19:33:03 +01:00
nanogallery2-config.json initial commit 2025-01-09 17:35:41 +01:00
requirements.txt Including missing setup step in README 2025-01-09 19:33:03 +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 / Setup

  1. Install Python, to run the scripts
  2. Install FFmpeg, to create the thumbnails
  1. Install the dependencies (pip install -r requirements.txt)

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.