PowerSync Diagnostics App
10K+
A browser-based tool for inspecting PowerSync sync behavior and databases. Supports both live syncing from a PowerSync instance, and offline inspection of a SQLite database (by uploading a file).
A hosted version of the Sync Diagnostics Client is available at https://diagnostics-app.powersync.com/. It can also be run as a local standalone web app. It is based on the PowerSync Web SDK.
docker run --pull always -p 8082:80 journeyapps/powersync-diagnostics-app
The app will be available on http://localhost:8082.
In the root of the repository, run:
pnpm install
pnpm build:packages
Then in this directory:
pnpm dev
The app is now available on http://localhost:5173/.
The landing page offers two paths:

Connecting as a user requires a PowerSync Token (JWT) and Endpoint.
Generate a development token for the user.
For PowerSync development tokens, the endpoint is populated automatically from the JWT. For other JWTs (e.g. Supabase tokens), enter it manually.
http://localhost:8080.You can also deep-link directly with a ?token= query parameter to auto-sign-in.
The main dashboard after connecting:


Manage Sync Stream subscriptions directly from the Sync Overview page:

Execute read-only SQL queries against the live PowerSync database:

The schema is dynamically inferred from downloaded data and automatically updated as new data arrives. This page displays the current inferred schema for reference.
Note: Tables with 0 synced rows won't appear in the schema. To refresh after Sync Streams / Sync Rules changes, use "Clear & Redownload" on the Sync Overview page.

Manage Connection Parameters (Sync Streams) / Client Parameters (Sync Rules) that are sent with sync requests:
The File Inspector allows offline inspection of SQLite database files. It is useful for analysis of database files extracted from devices. No authentication is required.

Drag and drop a SQLite database file, or click to browse. The file is opened in-browser using wa-sqlite - nothing is uploaded to a server.

ps_ tables), aggregate stats are shown: total rows, data/metadata size, CRUD queue, bucket count. Warnings are shown for pending CRUD entries (failed uploads) or when compacting is recommended.
Execute read-only SQL queries against the uploaded file. Works the same as the SQL Console for live synced databases, with separate query history.
Content type
Image
Digest
sha256:18299ab4b…
Size
63 MB
Last updated
3 months ago
docker pull journeyapps/powersync-diagnostics-appPulls:
143
Last week