Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 2.11 KB

README.md

File metadata and controls

66 lines (47 loc) · 2.11 KB

strava-auto-upload

plug your device in and it'll email your latest .fit files to upload@strava.com

pull requests welcome. questions? latchkey@gmail.com

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=\"YOUR_EMAIL_ADDRESS@DOMAIN.COM\" >> ~/.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