Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.5 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.5 KB

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. copy strava.plist to ~/Library/LaunchAgents/strava.plist
  7. edit strava.plist and specify the absolute path to the upload.sh script and the location of your Activities folder
  8. launchctrl load ~/Libarary/LaunchAgents/strava.plist

removal

  1. launchctrl 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

future

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