Skip to content

slowernet/fitbit-plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fitbit plot

Big graphs for your Fitbit data.

That kind of thing.

Install

Fitbit-plot is a single-file Sinatra application.

  • git clone https://github.com/slowernet/fitbit-plot.git
  • cd fitbit-plot
  • cp config.rb.example config.rb
  • Go to fitbit.com and log in. Hover over your profile picture and note your user id in the URL: http://www.fitbit.com/user/XXXXXX, add to config.rb.
  • Run through the oauth process via fitgem, and add your access token and access secret to config.rb.
  • Run the app via rackup, shotgun, Passenger, etc.

todo

  • Select data to be graphed in the config rather than the html.
  • Select colors in config.

Privacy and disclaimer

Your copy of the application has read-only access to your data at fitbit. I have no access to it. I assure you I don't have any interest in your data, but note that I take no responsibility for anything that happens if you choose to use this app. Like the man says:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Installing this application on the public internet will put your fitbit data on the public internet. Use htaccess or the like to secure.

Acknowledgements

Built with Sinatra, fitgem and Flot. Thanks!

About

Plots fitbit step, distance and floors climbed data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages