Project

fitgem-app

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A simple CLI Fitbit Client
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.13
>= 1.11.2, ~> 1.11
 Project Readme

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
  • Install
    • RubyGems Method
    • Portable Installation
  • Basic Usage
  • Slack Chat

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