What is Slinga?
Slinga is Swedish for “loop” or “winding path”—a personal, map-first running atlas built around the routes you run, the neighborhood loops you return to, and honest long-term training feedback.
While social fitness networks are designed around feeds, followers, kudos, and public leaderboards, Slinga is built to help you understand your own running history. It combines an interactive dark-cartography route map, a full-viewport WebGL heatmap, automatic repeat-loop recognition, Grade-Adjusted Pace (GAP) and elevation splits, longitudinal consistency insights, privacy-redacted share cards and Route Reels, and optional AI coaching—with no required Strava account or social graph.
Map-Native Running Archive
Every recorded GPS trace is first-class: inspect pace/grade/HR-colored polylines, compare repeat efforts on the same loop via symmetric Hausdorff clustering, and explore years of mileage on a WebGL heatmap.
200m Endpoint Redaction
By default, Slinga trims the first and last 200 meters of every GPS route on maps, share cards, exports, and AI/MCP queries so home and work addresses remain private.
Independent Data & Full Portability
Bring runs from Apple Health (via the free PulsHealth iOS app) or import standard .gpx, .tcx, .fit, and Strava export_*.zip files. Export your full archive as GPX/GeoJSON or delete your account in one click anytime.
Two Ways to Use Slinga: Hosted vs. Self-Hosted
Slinga is open-source software with two distinct deployment paths. Because “solo” and “local-first” are often overloaded across software tools, here is the exact distinction between using the hosted instance at dannymcvey.com/slinga and self-hosting Slinga on your own hardware:
Slinga Hosted (dannymcvey.com/slinga)
For runners who want a private atlas without managing a server.
- Operated for you: Hosted by Danny McVey on private Linux infrastructure (
Conductor) behind authenticated HTTPS. - Where your data lives: Stored on the Slinga Hosted server in a cryptographically isolated account keyed by your Auth0 OIDC subject (
user_sub)—not inside your phone or browser's local storage. - Strict account isolation: “Solo” means no social feed or public profiles, not a single-user server. Other invited runners can never view or query your workouts or routes.
- Zero lock-in: Download your entire archive as GPX/GeoJSON or permanently erase your account and all workouts at any time from Settings.
Slinga Self-Hosted (danmaps/Slinga)
For technically comfortable runners who want 100% operational control.
- Operated by you: Run the canonical open-source stack (
docker compose up) on your own machine, home lab, NAS, or private VPS. - Where your data lives: Exclusively on your own disk volumes (SQLite / PostgreSQL). No external operator has access to your server, database, or logs.
- Bring your own stack: Pair the free PulsHealth iOS app directly to your server over Tailscale/LAN, connect your own local Ollama model, and manage your own backups and updates.
- Free & open-source forever: Single canonical repository with zero feature gating between self-hosted and hosted code.
| Dimension | Slinga Hosted (dannymcvey.com/slinga) |
Slinga Self-Hosted (docker compose up) |
|---|---|---|
| Storage Location | Isolated per-user records (user_sub) in SQLite on the hosted server operated by Danny McVey. |
Your own machine, home server, or private VPS in your own Docker volumes. |
| Sign-In & Onboarding | Auth0 Universal Login supporting Continue with Google (google-oauth2) and Email & Password (Username-Password-Authentication with verified email ownership), plus remembered last sign-in method and an invite-only allowlist. |
Your own Auth0 tenant, reverse-proxy auth (Tailscale / Caddy / Authelia), or single-owner LAN setup. |
| Operator Access & Trust Boundary | Application queries strictly isolate each user's data from other users. As host administrator, Danny McVey maintains the underlying server, database files, and encrypted backups solely for uptime, security, and disaster recovery. | You are the sole system administrator. No third party or external operator can access your host or database. |
| Backups & Retention | Workouts are retained in your account until you delete them or delete your account. Host disk backups are maintained for server recovery. | You control snapshot schedules, disk encryption, and retention policies on your own storage. |
| Export & Account Deletion | Self-service GPX 1.1 / GeoJSON export (GET /api/export/archive) and immediate one-click permanent account & data deletion (POST /api/account/delete). |
Same self-service UI export and deletion tools, plus direct filesystem access to the SQLite/Postgres files. |
| AI Coaching & Weather | Optional workout reviews run on an on-server Ollama model (127.0.0.1:11434) without sending data to OpenAI/Anthropic. Weather lookups round coordinates to 0.01° (~1.1 km). |
Connect your own local Ollama instance and hardware GPU; same 0.01° coordinate rounding for optional Open-Meteo lookups. |
| Updates & Maintenance | Managed automatically by the host operator. | Pull tagged releases from danmaps/Slinga and rebuild via docker compose up -d --build. |
How Workout & GPS Data Is Ingested
Before you create an account or import a single GPS track, here is the complete specification of what Slinga collects. Every workout record is tagged with its exact source provenance (apple_health_synced, imported_gpx_file, imported_tcx_file, or imported_fit_file):
| Ingestion Path | How It Works | Exact Fields Ingested |
|---|---|---|
| 1. iOS Companion App + Apple Health Ongoing automatic sync |
Depends on Apple Health on iOS. The free PulsHealth iPhone app reads workouts and GPS routes from Apple Health (whether recorded on an Apple Watch, an iPhone app, or synced into Apple Health from Garmin/COROS/Strava) and pushes encrypted payloads to your Slinga account. | Workout UUID, activity type, start/end timestamps, total distance, active energy (kcal), heart rate series, and raw GPS route coordinates. Non-running medical/sensitive HealthKit categories are automatically rejected at intake. |
| 2. GPX / TCX / FIT & Strava Archive Import Browser drag-and-drop import |
Upload individual or batch .gpx, .tcx, or .fit files—or drop a complete Strava export_*.zip archive—via the GPX Import Wizard or Import Runs surface. Duplicates are skipped automatically via SHA-256 hash. |
Trackpoint latitude (lat), longitude (lon), elevation in meters (ele / AltitudeMeters), heart rate (hr), and UTC timestamp (time). |
How Routes Are Processed, Analyzed & Redacted
When Slinga renders a workout or computes longitudinal insights, all calculations run deterministically on the Slinga server without sending your coordinates to third-party analytics providers:
Moving Pace & GAP Splits
- Consecutive GPS intervals where speed drops below
0.5 m/sfor≥ 15sare classified as stopped/paused time. - Per-mile splits compute both Moving Pace and Grade-Adjusted Pace (GAP) using the Minetti metabolic cost of incline/decline, plus stat-colored polylines (Pace, Grade %, Heart Rate).
- The run-detail Activity Profile aligns elevation and backend
paceSecPerMisamples by distance; profile pace is not average pace or GAP. Missing samples remain gaps. Explicit source speed can provide pace even when timestamps are absent or non-increasing, consistent with the existing backend metric derivation. Intervals over 120 seconds are counted as stopped in duration totals, but the backend may still provide pace for them when its speed calculation is valid.
Endpoint Privacy Trim
- By default,
redact_endpoint_radius(points, 200.0)removes every GPS point inside either true endpoint's 200-meter circle from map and profile delivery. If fewer than two points survive, the route is hidden rather than restored unredacted. - Share cards and Route Reels strip street and neighborhood names and support a No Map · Stats Only layout.
Repeat-Loop Clustering
- Slinga resamples routes to 48 equidistant points (after 200m endpoint redaction) and computes symmetric Hausdorff distance.
- Routes within 180m geometric tolerance are grouped into repeat-loop clusters to track progression on your regular loops.
- Interactive visual guide: How repeat-loop matching works →
How Your Data Is Stored, Isolated & Exported
| Layer | Storage & Security Architecture |
|---|---|
| Authentication & Sessions | Sign-up and sign-in use Auth0 Universal Login (Google OAuth google-oauth2 or Auth0-managed Email & Password Username-Password-Authentication with verified email ownership) with Authorization Code + PKCE (S256). Slinga never collects, stores, or logs passwords. Sessions use HMAC-SHA256 signed, HttpOnly; SameSite=Lax; Secure cookies (slinga_session) stored in SQLite with 7-day expiration, plus a non-sensitive slinga_last_auth preference to remember whether you last used Google or Email & Password. |
| Per-User Data Isolation | Each user account is isolated by its OIDC sub identifier in user_accounts and imported_workouts (and accounts are never silently merged across different sign-in providers). The host's personal HealthKit database is strictly restricted to the instance owner; member accounts only access workouts they import or sync into their own isolated account. |
| On-Server Ollama Coaching & General Running Coach Skills | Optional in-app workout reviews run against an on-server Ollama instance on loopback (127.0.0.1:11434) without sending data to external cloud LLM APIs. For full agent-driven training plans, weekly check-ins, workout sizing, route building, post-run debriefs, race prep, strength integration, recovery reads, motivation, and collaborative journaling, install the general skills from danmaps/running-coach-skills (npx skills add danmaps/running-coach-skills) and pair them with Slinga's read-only MCP tools or GPX/GeoJSON exports. Slinga's only in-repo skill is skills/slinga-immich-share/SKILL.md for making Route Reels. |
| Map Tile Caching | Map tiles (CARTO Dark Matter, Voyager, Positron, OpenStreetMap, OpenTopoMap) are proxied and cached by the server so tile providers only see tile grid coordinates (z/x/y), never your GPS polyline. |
| Full Data Portability, Single-Activity Removal & Account Deletion | Export any individual route as standard GPX 1.1 or GeoJSON, download your entire account archive as a single GeoJSON FeatureCollection (GET /api/export/archive), remove any single unwanted workout via Export → Delete from Slinga… (POST /api/workouts/<uuid>/delete)—which deletes locally imported/manual rows and their Slinga notes/share designs, suppresses re-uploads as previously_deleted, and hides synced Apple Health / PulsHealth workouts in Slinga without modifying upstream apps or original files—or permanently erase your account and all stored workouts (POST /api/account/delete) at any time. |
| Self-Hosting & Canonical Repo Strategy | Slinga maintains a single canonical open-source repository (danmaps/Slinga) for both self-hosted and hosted deployments so database migrations, analytics, and security fixes stay 100% aligned. To self-host: clone the repo, copy .env.example to .env, and run docker compose up -d --build. |
What Happens When You Sign Up
- Authenticate via Auth0 (Google or Email & Password): Choose Continue with Google or create an Auth0 email & password account with any valid email address and verify email ownership. Slinga receives your verified email, display name, and unique OIDC
subidentifier to provision your isolated workspace, and remembers your sign-in method for next time. - Set Units, Privacy Trim & Consent: Choose your preferred units (miles or kilometers, °F or °C), default basemap, and default start/end privacy trim (
200mrecommended), and review the Beta Terms & Privacy Notice. - Import Runs or Pair Your iPhone:
- Step-by-Step GPX Import Wizard (Immediate): Drop 1 file or hundreds of
.gpx/.tcx/.fitfiles right in the onboarding wizard—or upload a full Stravaexport_*.ziparchive—to populate your atlas in seconds. - iOS App + Apple Health Sync (Ongoing): Optionally pair the free PulsHealth iOS app using a per-account pairing token in Settings to sync future Apple Watch / iPhone runs automatically.
- Step-by-Step GPX Import Wizard (Immediate): Drop 1 file or hundreds of