Experimental, unofficial Linux tools for Garmin devices and data:
garmin-cli: device inspection and guarded map maintenance;garmin-desktop: local activity and route management;garmin-hass: experimental Home Assistant app.
Download garmin-toolkit-ARCH.AppImage from GitHub Releases,
choosing x86_64 or aarch64 for your Linux host. Make it executable and launch it, or integrate it with Gear Lever
for automatic GitHub update discovery. The garmin-toolkit-demo-ARCH.AppImage variant uses separate demo data.
Device support is recorded per tested host and adapter.
Add the repository, then open Garmin Toolkit's app page to install and start it. These buttons use your own Home Assistant instance. See the quickstart for compatibility, Course creation, backups, and recovery. Releases include artifacts and verification instructions.
just cli::run
just cli::run --help
just cli::demo
just cli::run --dry --capture=/safe/new/session
just cli::run benchmark link --size=256MBNix pins the toolchain and runtime dependencies. cli::run is production; cli::demo substitutes disposable adapters.
--dry uses real discovery, services, downloads, capture, and verification, but skips the device commit. --json is
pretty and colored on a terminal; redirected output stays plain. FORCE_COLOR and NO_COLOR provide environment
overrides; --color auto|off|always provides explicit control. Failures use structured, width-aware reports on stderr
after any TUI closes, while redirected diagnostics remain plain and copyable.
The TUI follows --language en|cs, then GARMIN_LANGUAGE, then LANGUAGE, LC_ALL, LC_MESSAGES, and LANG.
Unsupported system locales fall back to English; --language auto forces system-locale detection.
Verified map payloads are reused from a content-addressed cache. Installed binaries default to
~/.cache/garmin-toolkit/maps; GARMIN_TOOLKIT_CACHE_DIR relocates it and --cache-dir takes precedence. Repository
recipes keep it at .tmp/app-cache. The link benchmark uses the normal device picker, asks before writing one
disposable file, and separately reports payload transfer, device finalization, SHA-256 read-back, and cleanup. Raw-MTP
probes keep recovery receipts below the configured cache until the exact disposable object is verified and removed.
Garmin contact and device writes require separate confirmation. Downloads require HTTPS, reject redirects, and verify size and MD5. Device paths reject traversal and symlink escapes. Writes use verified backups and a durable journal; cancellation waits for a safe checkpoint.
Production writes require a new capture directory. Captures may contain device identity, authorization, licensed maps, logs, and backups. Keep them private.
This project is not affiliated with, sponsored by, or endorsed by Garmin. Garmin product names are trademarks of their owner. Garmin supplies its maps, software, and services; this project does not redistribute them.
Map interoperability came from publicly distributed Garmin Express binaries, traffic from developer-owned devices, and openly available Garmin-hosted forum posts from 2012, 2016, and 2019. Public visibility neither makes these services supported APIs nor implies permission, endorsement, or continued access.
The repository contains no Garmin binaries, decompiler output, private captures, credentials, or maps. It implements observed service and download-authorization behavior behind a replaceable adapter.
See the documentation index, development workflow, and remaining work. Just lists the available commands.
Thanks to these projects and their contributors:
- mtp-rs: USB MTP device access.
- RustyFIT: FIT decoding and encoding.
- egui: the shared desktop and browser UI.
- Buffa: generated Protobuf types and codecs.
- connect-personal-api-ts: Garmin Personal API schema snapshot.
- openapi-to-rust: generated Personal API client and types.
- Carbon Design System, Phosphor Icons, and Noto Sans: colors, icons, and fonts.
- trackeR, DogWalkGPS, and HikeAlong: demo activity recordings.
Licensed under AGPL-3.0-or-later. Earlier grants and third-party attributions remain in COPYRIGHT.md and THIRD_PARTY_NOTICES.md.