w3ds stuff
- Python 80%
- HTML 18.8%
- Dockerfile 1.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .w3ds | ||
| src | ||
| .dockerignore | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| requirements.txt | ||
Profile Viewer — Flask
Python/Flask port of the profile viewer. It keeps offers and browser sessions in memory, verifies W3DS eID wallet signatures, and reads the profile directly from the user's eVault.
Run
cd pysrc
python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python app.py
The health check is GET /healthz, returning {"ok": true}. The application listens on 0.0.0.0:3000 by default.
Use the same environment variables as the JavaScript version: PORT, GITW3_URL, PUBLIC_BASE_URL, PUBLIC_REGISTRY_URL, and PLATFORM_NAME.
Docker
cd pysrc
docker build -t profile-viewer-flask .
docker run -e PORT=3000 -p 3000:3000 profile-viewer-flask