Skip to content

About

Experimental, unofficial Linux toolkit for Garmin device inspection, guarded map maintenance, and local activity and route workflows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

137 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garmin Toolkit

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.

Desktop

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.

Home Assistant

Add the Garmin Toolkit repository to Home Assistant Open Garmin Toolkit's app page in Home Assistant

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.

Run

just cli::run
just cli::run --help
just cli::demo
just cli::run --dry --capture=/safe/new/session
just cli::run benchmark link --size=256MB

Nix 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.

Safety

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.

Provenance and interoperability

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.

Development

See the documentation index, development workflow, and remaining work. Just lists the available commands.

Acknowledgements

Thanks to these projects and their contributors:

License

Licensed under AGPL-3.0-or-later. Earlier grants and third-party attributions remain in COPYRIGHT.md and THIRD_PARTY_NOTICES.md.

About

Experimental, unofficial Linux toolkit for Garmin device inspection, guarded map maintenance, and local activity and route workflows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages