recreate readme

This commit is contained in:
2025-04-16 15:04:57 +02:00
parent 24af283c38
commit 7883f8ce6b
10 changed files with 31 additions and 887 deletions

View File

@ -1,20 +1,38 @@
# PhotoHUB
Just a simple python program to generate static site
## Screenshots
### Picture Page
![](./screenshots/page.png)
### Album Page
![](./screenshots/album.png)
## Installation
``` sh
python3 -m venv venv
python3 -m pip -r requirements.txt
```
## Usage
Move and rename file
```sh
python3 tools/copy.py %your raws% %site location%
```
Generate html page
``` sh
python3 src/main.py %site location%
```
## File
- RAW: (optionnal)
- EDIT_DATA: (optionnal)
- LARGE: high resolution format (optionnal: can be generated by the RAW)
- SMALL: low resolution format (optionnal: can be generated by the LARGE)
- DESQ: description markdown file (optionnal)
### Mandatory
- a .png
### Format supported
```
RAW: .NEF
LARGE: .png
SMALL: jpeg
EDIT_DATA: .pp3
DESQ: .md
```
### Optionnal
- raw {*.NEF}
- readme.md
- (png file).out.pp3