A static single-page photo gallery website generator
The README file is still under construction…
The new Interactive Editor is now available!
astphoto.py editorhttp://localhost:81astphoto.py init Astphoto ( you can replace “Astphoto” to the name you like )astphoto.py create album "My Family"img/my_family/astphoto.py gencomplied/! You can put them into your static website host and enjoy it!Directory Structure:
img
├── _site.json
├── about.md
└── Album_A
├── _album.json
├── A.jpg
├── B.jpg
├── C.jpg
└── ...
config_overridde.py file base on config_default.py/img/_site.json, write and save:{
"title": "anthony.f",
"des": "photography",
"me": "anthony",
"me_link": "https://antnf.com"
}
/img/[album_name]/_album.json, write and save:{
"name": "Family",
"des": "My family and I.",
"photographer": "anthony.f",
"location": "Hangzhou",
"cover": "13.jpg",
"photo_orderby": "shuffle"
}
CLI
Generator
Template
Interactive Metadata Editor