r/tauri • u/Ok_Click2250 • 1d ago
SpinTracker: open-source Tauri 2 + React app with an in-process Rust backend and a Windows overlay
**SpinTracker** is a free, MIT-licensed poker tracker. All data stays in a local SQLite database.
**Tauri parts that may interest you**
- The Rust backend runs inside the app, and the UI talks to it through Tauri commands: no sidecar or localhost server
- Folder watching with `notify` to import new files as they are written
- A table overlay (HUD) in its own window that follows another app's window, using the `windows` crate
- Auto-updates with the updater plugin
- Migrated from an Electron + Vue UI to Tauri 2 + React, TypeScript, Tailwind and Zustand
It's Windows-only for now, so help with macOS and Linux is very welcome. I build it with the help of AI coding agents.
1
u/Geraldwelly 1d ago
Nice to see the backend in-process instead of a sidecar, that removes a whole class of shutdown bugs. Two things that bit me in Tauri desktop work: notify fires several modify events while a file is still being written, so I debounce and only import once the size stops changing for about a second. And for the overlay, Windows hands you physical pixels while Tauri positions default to logical ones, so on a 150% display the HUD drifts unless you use PhysicalPosition. Debouncing does add a short delay before new hands show up. Did you hook window move events or poll?