No description
  • HTML 69.1%
  • Python 30.9%
Find a file
2025-07-25 22:14:40 +02:00
contrib Add wsgi configuration 2025-07-25 18:35:41 +02:00
images First working version 2025-07-25 18:23:17 +02:00
templates Add homepage that shows the available API 2025-07-25 20:46:47 +02:00
.editorconfig Added editorconfig 2025-07-25 18:23:57 +02:00
.gitignore Implement image caching 2025-07-25 19:11:48 +02:00
app.py Fix: Subpath handling 2025-07-25 22:14:40 +02:00
README.md Fix: Subpath handling 2025-07-25 22:14:40 +02:00
requirements.txt First working version 2025-07-25 18:23:17 +02:00
wsgi.py Add wsgi configuration 2025-07-25 18:35:41 +02:00

Lorem Picsum

Installation

Create virtual environment

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt

Example nginx config

location /placeholder/ {
    proxy_pass http://127.0.0.1:8000;
    proxy_set_header SCRIPT_NAME /placeholder;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

Run

Debugging

flask run

Production

gunicorn --bind 127.0.0.1:8000 wsgi:app