https://github.com/noarche/gallery
Create Gallery Website with 1 click
https://github.com/noarche/gallery
album gallery gallery-application gallery-page image-gallery photo python-script website
Last synced: 6 months ago
JSON representation
Create Gallery Website with 1 click
- Host: GitHub
- URL: https://github.com/noarche/gallery
- Owner: noarche
- License: gpl-3.0
- Created: 2024-09-17T21:53:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-29T10:53:20.000Z (about 1 year ago)
- Last Synced: 2025-03-25T08:43:46.019Z (12 months ago)
- Topics: album, gallery, gallery-application, gallery-page, image-gallery, photo, python-script, website
- Language: Python
- Homepage:
- Size: 245 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# ꧁꧂ HOW TO USE:
Clone this directory:
`git clone https://github.com/noarche/gallery`
1. paste all files in repo into www root dir of your web server before running script
2. paste your albums in directories in ./galleryRoot OR change line 6 of gallery.py to reflect the correct directory.
3. To delete or add photos physically remove or add photo to the album/directory from step 2 & run script to update all pages.
### run the following command
python3 gallery.py
or
python gallery.py
# ꧁꧂ Notes
Everything will be automatically generated on first run. (Album name will be the same as directory name.)
You do not need web host to view on your own computer. Simply add a shortcut to index.html to your desktop.
If you do not have a web host or software installed and want to view from another machine go to the directory where index.html is located and open in terminal
use command `python3 -m http.server 8080` or `python -m http.server 8080` to start web hosting on port 8080 (http://localhost:8080) with python.
# ꧁꧂ Buy me a coffee ☕

**Bitcoin** address `bc1qnpjpacyl9sff6r4kfmn7c227ty9g50suhr0y9j`
**Ethereum** address `0x94FcBab18E4c0b2FAf5050c0c11E056893134266`
**Litecoin** address `ltc1qu7ze2hlnkh440k37nrm4nhpv2dre7fl8xu0egx`

-------------------------------------------------------------------

# Want to convert all your images to webp format to save a ton of space? This script does so without compressing your images.
Check out my [Batch Convert Img to and Batch Resize Scripts here](https://github.com/noarche/BatchConvertDirs2Webp)