dacamp / dashing-github

Dashing widget evaluating GitHub service health

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Preview

Description

Simple Dashing widget (and associated job) to display GitHub Status. Uses GitHubs Status API

##Dependencies

httparty

Add it to dashing's gemfile:

gem 'httparty'

and run bundle install. Everything should work now :)

##Usage

To use this widget, copy github_status.html, github_status.coffee, and github_status.scss into the /widgets/github_status directory. Put the github_status.rb file in your /jobs folder.

You'll also need various images from GitHub InvertoCat, Good Logo, Minor Logo, and Major Logo. Download them. Please do not leech them from Github for each request you make to your widgit! Download them, and put the files in your /assets/images folder.

To download images, run the following script from your ROOT directory: ./tmp/github_pngs.sh

To include the widget in a dashboard, add the following snippet to the dashboard layout file:

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
  <div data-id="github_status" data-view="GithubStatus" data-title="GitHub Status"></div>
</li>

##Settings

Status is fetched every minute, which maybe a bit much. You can change that by editing the job schedule.

About

Dashing widget evaluating GitHub service health


Languages

Language:CSS 63.2%Language:CoffeeScript 18.8%Language:Ruby 10.5%Language:Shell 7.5%