w3ds stuff
  • Python 80%
  • HTML 18.8%
  • Dockerfile 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-29 20:23:01 +00:00
.w3ds chore: sync latest platform release 2026-10-29 20:23:01 +00:00
src Pull all envelopes for an ontology 2026-10-29 20:22:37 +00:00
.dockerignore Fix for deployment 2026-10-14 17:15:49 +01:00
Dockerfile Update Dockerfile 2026-10-14 16:31:44 +00:00
package-lock.json Initial fork 2026-09-29 18:14:50 +01:00
package.json Initial fork 2026-09-29 18:14:50 +01:00
README.md Replace with flask 2026-09-29 18:35:22 +01:00
requirements.txt Fix reqs 2026-10-17 19:49:23 +01:00

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