https://github.com/lookfirst/strava-auto-upload
Plug your device in and it'll email the latest .fit files to upload@strava.com
https://github.com/lookfirst/strava-auto-upload
Last synced: 12 months ago
JSON representation
Plug your device in and it'll email the latest .fit files to upload@strava.com
- Host: GitHub
- URL: https://github.com/lookfirst/strava-auto-upload
- Owner: lookfirst
- Created: 2012-10-22T06:19:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-26T18:42:48.000Z (over 13 years ago)
- Last Synced: 2025-04-08T08:51:42.598Z (about 1 year ago)
- Language: Shell
- Size: 126 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
1. assumes that you can send email from your desktop
config
------
1. ```git clone``` this repo
1. if you are running mountain lion (10.8), execute the commands below
1. ```mkdir ~/.strava-auto-upload```
1. ```echo ACTIVITIES=\"/Volumes/GARMIN/Garmin/Activities\" >> ~/.strava-auto-upload/config```
1. ```echo FROM=\"YOUR_EMAIL_ADDRESS@DOMAIN.COM\" >> ~/.strava-auto-upload/config```
1. ```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)
1. copy ```strava.plist``` to ```~/Library/LaunchAgents/strava.plist```
1. edit ```strava.plist``` and specify the absolute path to the ```upload.sh``` script and the location of your Activities folder
1. ```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](http://blog.deversus.com/2012/07/fix-for-postfix-in-mac-os-x-10-8-mountain-lion/). 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](http://mhawthorne.net/posts/postfix-configuring-gmail-as-relay.html).
spotlight
---------
follow [these directions](http://apple.stackexchange.com/a/7135) for turning off spotlight indexing.
future
------
1. simple installer
1. other platforms?
1. strava is working on an upload api and deprecating the email interface
alternatives
------------
* [automator action](http://irionman.blogspot.com/2012/10/stravas-little-helper-use-apples.html)