view profile
  • JavaScript 74.6%
  • HTML 23.9%
  • Dockerfile 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-29 08:56:29 +00:00
.w3ds chore: submit signed PPA application 2026-09-29 08:56:29 +00:00
public Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00
src Fix wallet login: accept ename, add deeplink login, decode keys like signature-validator 2026-09-29 16:54:04 +08:00
.dockerignore Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00
.gitignore Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00
Dockerfile Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00
package-lock.json Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00
package.json Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00
README.md Add W3DS login profile viewer with Docker deployment 2026-09-29 16:12:49 +08:00

profile-viewer-simplified

view profile

Sign in with the W3DS eID wallet (w3ds://auth) and see your profile, read directly from your eVault.

Run

npm ci
npm start

Or with Docker:

docker build -t app .
docker run -e PORT=3000 -p 3000:3000 app

Health check: GET /healthz returns {"ok":true}.

Environment variables

Variable Required Purpose
PORT no (default 3000) Port the server listens on (always on 0.0.0.0). Set by GitW3.
GITW3_URL set by GitW3 Public https URL. The eID wallet posts the signed login to <url>/api/auth, so it must be reachable from the phone.
PUBLIC_BASE_URL no Overrides GITW3_URL (e.g. a tunnel URL when running locally).
PUBLIC_REGISTRY_URL no (default https://registry.w3ds.metastate.foundation) W3DS Registry.
PLATFORM_NAME no (default profile-viewer-simplified) Platform name shown in the wallet and used for the eVault platform token.

No secrets are needed. Login offers and sessions are kept in memory, so a restart or redeploy signs everyone out; no user data is stored by the app.