Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

josephgeis/fitgem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Ruby based Fitbit CLI client.

Fitgem is an interactive CLI Fitbit client that can grab your basic activities from Fitbit.com and print them on your console.

Contents

Dependencies/Requirements

  • ruby
  • httparty and multi-json libraries
  • Linux/Mac OSX

Install

RubyGems Method (Recommended) Gem Gem

Gem Install Method

  1. Install RubyGems (included with Mac)
  2. Clone the RubyGems repository.
```sh
$ git clone https://github.com/rubygems/rubygems.git
```
  1. cd into the repository.
```sh
$ cd rubygems
```
  1. Run setup.rb with root privileges.
```sh
# ruby setup.rb
```
  1. Install the fitgem-app gem.
# gem install fitgem-app
  1. Go to https://juniorrubyist.github.io/fitgem/authorize.html and click Authorize Fitbit.
  2. Sign in to Fitbit, then copy your keys to your .bashrc or default shell configuration:
export FB_ACCESS_TOKEN="YOUR_TOKEN_IN_QUOTES"
export FB_USER_ID="YOUR_USER_ID_IN_QUOTES"
  1. Type fitgem <command> in a terminal window.

Portable Installation

This method is not recommended for production uses.

  1. Clone the fitgem repository.
git clone https://github.com/juniorRubyist/fitgem.git
  1. cd into fitgem/bin.
cd fitgem/bin
  1. Copy fitgem to your Desktop, home folder, etc.
cp fitgem /your/destination/folder
  1. Follow step 4 above.
  2. chmod fitgem to 775.
  3. Run ./fitgem <command> from where you installed it.

Slack Chat

Please sign up for our Slack Chat here. ![Slack Chat Sign Up](https://img.shields.io/badge/slack chat-sign up-brightgreen.svg)

Access Slack Chat here. ![Slack Chat](https://img.shields.io/badge/slack chat-online-brightgreen.svg)

<> with <3 in California