Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

GPX Preview

ThomasThomas39 downloads

Renders Apple-style map previews of embedded GPX files, with workout stats and offline caching.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

An Obsidian plugin that renders Apple-style map previews of GPX files embedded in your notes — designed for workout tracks.

![Wednesday workout](Workout 2026-04-05.gpx)

…renders a rounded map card with the route drawn on it, an optional title (the embed's alt text), and workout stats. Wikilink embeds work too: ![[Workout 2026-04-05.gpx|Wednesday workout]].

Features

  • Apple-like cards — large rounded corners, light and dark mode aware, start/finish markers, blue route line.
  • Stats — Distance, Duration and Average speed by default; Moving time, Average pace, Max speed and Elevation gain can be toggled on in settings.
  • Units — metric (km, km/h) or imperial (mi, mph).
  • Offline-first — the map is composed into a PNG on first load and cached in the plugin folder, so previews keep working with no network connection.
  • Map providers:
    • CARTO (default) — free, clean Apple-esque basemap, light + dark variants.
    • OpenStreetMap — the classic OSM style.
    • Apple Maps — uses Apple's Maps Web Snapshots API. Requires an Apple Developer account: create a key with MapKit JS enabled, then paste your Team ID, Key ID and the .p8 private key into the plugin settings. Requests are signed locally; your key never leaves your device.

Installation (manual)

  1. Run yarn install && yarn build.
  2. Copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/gpx-preview/.
  3. Enable GPX Preview in Settings → Community plugins.

Note: if your GPX files don't show up in Obsidian, this plugin registers the .gpx extension, so they will after enabling it. Clicking a GPX file in the file explorer opens the same map preview as a pane.

Development

yarn install
yarn dev     # watch mode
yarn build   # type-check + production build
HealthExcellent
ReviewCaution
About
Render Apple-style map previews of GPX files in notes as rounded map cards with the route drawn, start/finish markers, and an optional title. Show workout stats (distance, duration, avg speed; optional pace, moving time, max speed, elevation), support metric or imperial units, cache PNGs for offline previews, and offer CARTO, OpenStreetMap or Apple Maps basemaps (Apple Maps requires a developer key).
AttachmentsImagesVisualization
Details
Current version
1.0.2
Last updated
2 weeks ago
Created
2 weeks ago
Updates
3 releases
Downloads
39
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
ThomasThomastschoffelen
GitHubtschoffelen
  1. Community
  2. Plugins
  3. Attachments
  4. GPX Preview

Related plugins

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Paste image rename

Rename image after pasting, support name pattern and auto renaming.

Image auto upload

Upload images from your clipboard by PicGo.

Image Layouts

Add beautiful image layouts to your notes.

Leaflet

Interactive maps inside your notes.

Imgur

Upload images from your clipboard to imgur.com and embeds uploaded image to your note.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.