https://github.com/btbytes/jallery
jallery, the gallery generator
https://github.com/btbytes/jallery
Last synced: 7 months ago
JSON representation
jallery, the gallery generator
- Host: GitHub
- URL: https://github.com/btbytes/jallery
- Owner: btbytes
- License: mit
- Created: 2023-12-05T15:51:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T08:59:46.000Z (over 2 years ago)
- Last Synced: 2025-08-28T15:14:31.415Z (7 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jallery - the static gallery generator
jallery (pron. gallery) is a static picture gallery generator.
I mostly wrote this as way to convert a couple of scripts I wrote to publish one-page galleries on my site. Eg: [Bangalore Literature Festival 2023](https://files.btbytes.com/albums/blf-2023/gallery.html). I don't expect anyone to find this terribly novel, maybe somewhat useful if you read the code, and find my approach is something that suits you.
What this code does now:
0. for a given directory full of images already at publication resolution. (cameras these days take pictures at very high resolution, which I don't display in that resolution in any of the galleries i've published so far).
1. `prepare` will put empty text files like `title.txt`, `description.txt`, `footnote.txt`, which then you will edit with a text editor. You can use markdown to write in those files.
2. the `prepare` command will also generate a `.txt` file for every "image" (eg: `.png`, `.jpg`) found in the gallery directory. edit these files to add a description for each image.
3. run `generate` command to get a `gallery.html` in the directory
```
jallery
usage: Jallery - A simple static gallery generator [-h] {prepare,generate} ...
positional arguments:
{prepare,generate}
options:
-h, --help show this help message and exit
```