Skip to content

Apps & libs

This page lists official libraries, as well as example code for you to develop your own Pryv.io apps.

npm, GitHub (monorepo including add-ons)

Optional add-ons:

  • JS lib Socket.IO add-onnpm
  • JS lib Monitor add-onnpm
  • JS lib CMC (Cross-account Messaging & Consent) add-onnpm — client-side helpers (slug builders, lifecycle wrappers, errorIds catalogue) for the CMC plugin shipped in Open Pryv.io v2. See the CMC guide.

GitHub

Implementing use cases such as:

  • Collecting form data
  • Viewing collected data and sharing it
  • Collecting and consuming high-frequency data

GitHub

Handling registration, auth requests, password reset and email change

GitHub

Handles the MFA flow.

GitHub

GitHub

GitHub

GitHub

GitHub

GitHub

GitHub

Based on the JavaScript library.

Subject account backup — CLI + library + sample web app

Section titled “Subject account backup — CLI + library + sample web app”

➔ CLI + library: pryv-account-backup ➔ Sample web app: pryv-account-backup-webapp

A subject-facing tool for downloading every read-side resource of a Pryv account (account / streams / accesses + history / profile / audit log / events / attachments / HFS series / webhooks) as a portable JSON + binary disclosure bundle. Two flavors share the same library code:

  • The CLI (npm start) is the canonical flavor; produces a folder of JSON + binary files plus a per-file sha256 integrity manifest for third-party auditors.
  • The sample web app is operator-hosted so non-technical subjects can self-serve via a “Start backup” button; produces the same coverage as the CLI minus the auditor-facing manifest, emitted as a series of subject-portable ZIP files.

Subjects also get a portable sync-state.json they keep alongside the backup; re-supplying it on the next visit drives cross-session incremental, so subsequent runs only fetch what’s changed.

The previous-generation pryv/example-service-bluebutton is archived; new deployments use the pair above.