ArpiJakab / PebbleBucks

A Starbucks watch app for the Pebble Smartwatch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PebbleBucks 2.0

PebbleBucks is a Starbucks watch app for the Pebble Smartwatch. It shows your Starbucks barcode and your account information - including the dollar balance, time when it was last updated, number of stars and number of rewards.

Select button updates the account info with the latest data available.

Idea and images are from the original PebbleBucks by mattdonders.

Requirements

  • Place your barcode in resources/images/barcode.png.
    • Take a screenshot of the mobile app.
    • Crop the image to longer side being 168 pixels and shorter side being about 63 pixels.
    • Rotate it 90° such that the height is longer than the width.
  • Add your Starbucks credentials in src/js/config.js.

Note: By default, PebbleBucks uses my own API that scrapes the required data from starbucks.com. It is open sourced here, feel free to run it on your own server if you don't want to pass your credentials through mine. (although I try to keep my server very secure and the API does not keep any logs or store anything.)

Build

$ sh build.sh

The build.sh script generates the pebble-js-app.js with your Starbucks credentials, so use that instead of the normal pebble build.

Install

Build and install:

$ sh build.sh install

Only install:

$ pebble install

Screenshot

About

A Starbucks watch app for the Pebble Smartwatch.


Languages

Language:C 76.9%Language:JavaScript 19.7%Language:Python 2.2%Language:Shell 1.2%