mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-18 07:27:43 +00:00
tauri
The desktop app of gpx.studio, built with Tauri 2.
Its UI is the website (../website), and it runs the engine of ../gpx-rs natively instead of in WebAssembly.
Development
You will need the same tools as for the website: Node.js, Rust and wasm-pack. To run the app in development mode, you will also need to install the system dependencies of Tauri for your platform and the Tauri CLI:
cargo install tauri-cli --version "^2"
Setting up the frontend
The desktop app does not use the WebAssembly engine, but the website depends on its package. From the root of the repository, build it once and install the website’s dependencies:
cd wasm && wasm-pack build --target bundler && cd ..
npm install --prefix website
For the MapTiler layers, add your key to website/.env, as explained in the main README.
Running the app
cd tauri
cargo tauri dev
Testing
cargo test -p gpx-studio-desktop