Skip to content

Instantly share code, notes, and snippets.

@gkoehler
Created July 7, 2014 01:16
Show Gist options
  • Save gkoehler/7890017fa8520f832cfc to your computer and use it in GitHub Desktop.
Save gkoehler/7890017fa8520f832cfc to your computer and use it in GitHub Desktop.

Switching from Nike+ to Strava, but don't want to lose your runs? Here's how I did it.

  1. Go to Matt Stuehler's site and download all of your runs. Change your Nike+ password afterward if you're paranoid.
  2. Create a Strava account andgo to "import from a file."
  3. Drag 25 .gpx files from your desktop to the "choose files" button.
  4. Next, Strava will want you to classify each as a run, ride, etc. Open the javascript console and run this to select "Run" for each of them:

var $ = jQuery; $('.activity-type').each(function() { var acttype=this; $('.selection', this).click(); setTimeout(function(){ $('[data-value="Run"] a', acttype).click(); }, 300); });

  1. Repeat step #3 as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment