Skip to content

lookfirst/strava-auto-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

strava-auto-upload

plug your device in and it'll email your latest .fit files to [email protected]

pull requests welcome. questions? [email protected]

cavaets

  1. OS X only
  2. assumes that you can send email from your desktop

config

  1. git clone this repo
  2. if you are running mountain lion (10.8), execute the commands below
  3. mkdir ~/.strava-auto-upload
  4. echo ACTIVITIES=\"/Volumes/GARMIN/Garmin/Activities\" >> ~/.strava-auto-upload/config
  5. echo FROM=\"[email protected]\" >> ~/.strava-auto-upload/config
  6. echo SUFFIX=\"*.tcx\" >> ~/.strava-auto-upload/config (This is optional. It depends on if your file has .fit or .tcx files. The default is .fit)
  7. copy strava.plist to ~/Library/LaunchAgents/strava.plist
  8. edit strava.plist and specify the absolute path to the upload.sh script and the location of your Activities folder
  9. launchctl load ~/Libarary/LaunchAgents/strava.plist

removal

  1. launchctl unload ~/Libarary/LaunchAgents/strava.plist

debug

  1. $HOME/.strava-auto-upload contains the last file uploaded and a log of everything

osx mountain lion (10.8)

there is a bug with postfix configuration with Mountain Lion that causes an error. This fixed it for me:

sudo mkdir -p /Library/Server/Mail/Data/spool
sudo /usr/sbin/postfix set-permissions
sudo /usr/sbin/postfix start

email

if you can't send email from your desktop (in case port 25 is blocked on your network), setup postfix to send email through your gmail account.

spotlight

follow these directions for turning off spotlight indexing.

future

  1. simple installer
  2. other platforms?
  3. strava is working on an upload api and deprecating the email interface

alternatives

About

Plug your device in and it'll email the latest .fit files to [email protected]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages