Giter Site home page Giter Site logo

gillesc / dashing-github-stats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmaujean/dashing-github-stats

0.0 3.0 0.0 92 KB

A Dashing dashboard widget for some stats about a repository on github.

License: MIT License

Ruby 26.10% CoffeeScript 9.89% HTML 32.40% CSS 31.61%

dashing-github-stats's Introduction

Github Stats Widget for Dashing

Setup

  1. Copy the contents of the jobs, widgets and assets/images folder contents into the (you guessed it) the jobs, widgets and assets/images folders in your dashing project and the github.yml and LICENSE files into the root of your dashing project (rsync works well for this.)
  2. Edit the github.yml file to configure the widget. The configuration looks like this:
repos: 
  - dotcloud/docker
  - erikh/ruby-dbi
  - rack/rack
  - torvalds/linux

login: my_github_user
password: my_github_password
  1. Add octokit and actionview gems to your Gemfile and run bundle install
  2. Add the following to your dashboard.erb file, and adjust the attributes to place it where you want. The data-id value is the same as your repository name:
<ul>
  <li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
    <div data-id="dotcloud/docker" data-view="GithubStats"></div>
  </li>
</ul>
  1. Copy the above snippet as necessary for each repository in your configuration.

AUTHOR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.