Randall Peltzer was the dude that found Mogwai, who was then father to many gremlins. See what I did there?
- Node.js 20+
- Rust / Cargo (install)
- Docker (for local TinkerPop server)
- Desktop: Tauri v2
- Frontend: Svelte 5, TypeScript
- Backend: Rust, gremlin-rs
npm run db:startThis starts a TinkerPop Gremlin Server in Docker on port 8182.
npm run tauri devIn the app, create a new connection with these parameters:
| Parameter | Value |
|---|---|
| Host | localhost |
| Port | 8182 |
| SSL | Off |
| Authentication | None |
Once connected, try a simple query:
g.V().limit(5)The TinkerPop server starts with an empty graph, so you can add some test data:
g.addV('person').property('name', 'Alice')
g.addV('person').property('name', 'Bob')
g.V().hasLabel('person').values('name')Tauri apps have two parts: the frontend (WebView) and the Rust backend. When you debug just the Rust binary without the frontend running, you get an empty window.
To debug the Rust backend with your IDE:
npm run devThis starts Vite on http://localhost:1420.
In your IDE's run/debug configuration, set the environment variable:
TAURI_DEV_SERVER_URL=http://localhost:1420
Now run/debug the Rust binary (src-tauri/src/main.rs). The app will load the frontend from the dev server, and you can set breakpoints in the Rust code.
For quick debugging without an IDE, add println! or dbg! macros to your Rust code - output appears in the terminal running npm run tauri dev.
npm run tauri build -- --bundles app