2025-07-09 02:20:58 +02:00
2025-04-23 20:49:28 +02:00
2025-07-09 02:20:58 +02:00
2025-04-16 15:04:57 +02:00
2025-07-09 01:58:34 +02:00
2025-06-15 00:31:54 +02:00
2025-04-13 19:17:07 +02:00
2025-04-23 20:49:28 +02:00
2025-07-08 03:05:40 +02:00

PhotoHUB

Just a simple python program to generate static site

Screenshots

Bulk Page

Bulk Album Page

Installation

python3 -m venv venv
python3 -m pip -r requirements.txt

Usage

Move and rename file with

python3 tools/copy.py %your raws% %site location%/bulk/

Here you can edit your pictures.

Then

Generate html page with

python3 src/main.py %site location%

File

File tree

File before python src/main.py test_out

test_out/
└── bulk
    └── 00001
        ├── 00001.NEF
        ├── 00001.png
        └── 00001.png.out.pp3

Bulk

Mandatory

  • a .png

Optionnal

  • raw {*.NEF}
  • readme.md
  • (png file).out.pp3: permit viewer to download it

File after python src/main.py test_out

test_out/
├── bulk
│   └── 00001
│       ├── 00001_categories.txt
│       ├── 00001.NEF
│       ├── 00001.png
│       ├── 00001.png.out.pp3
│       ├── 00001_small.jpg
│       ├── 00001_thumb.jpg
│       ├── page.html
│       └── readme.md
└── index.html

Can be fill

_categories.txt

A file to organize your picture, 1 per line like

cats
portraits

readme.md**

A markdown file in the top of the bulk page

Description
No description provided
Readme 7.6 MiB
Languages
Python 83.1%
Jinja 9.9%
CSS 7%