Installation & Build Guide
Portable Usage (Windows)
Double-click KeepPace.exe on Windows 10/11 x64 (requires Microsoft Edge WebView2 Runtime).
- Automatically initializes
.private/app/health.sqliteand.private/webview/alongside the executable. - To migrate personal data, close the app and copy
KeepPace.exe,.private/, anddata/. - To share the app cleanly with someone else, only the single
KeepPace.exefile is needed.
Prerequisites
- Node.js 24+
- Rust stable toolchain
- Sibling checkout of keep-suite-kit:
bash
git clone https://github.com/gameknife/keep-suite-kit.git ../keep-suite-kit
cd ../keep-suite-kit && npm install && npm run buildLocal Development & Tests
bash
npm install
npm run build
npm test # 45 domain algorithm tests (attribution, heatmaps, pace, tracks)
npm run test:rust # Rust unit tests (OAuth callback & health.sqlite cross-device merge)
npx tauri devWindows Single-Executable Build
powershell
# Optional: embed Google Desktop OAuth client JSON into the binary
.\scripts\build-app.ps1 -GoogleOAuthClientPath '.private\ghealth\client_secret.json'
# Or omit the flag when running with a local .private/ghealth folder
.\scripts\build-app.ps1Android Build
Requires JDK 17, Android SDK/NDK, adb, and Rust target aarch64-linux-android.
bash
npx tauri android init
python ../keep-suite-kit/scripts/sync-app-icons.py
npx tauri android build