Git Product home page Git Product logo

gh-info's Introduction

gh-info

An example single page application, using the Github API. Less than feature complete, but easily extendable/modifiable.

Libraries

This application uses the following libraries:

  • Routie - A simple Javascript hash router.
  • doT - A small but advanced template system. Used for generating the views.

Usage

This application uses the following url formats:

  • ~ #repo/OWNER/REPO/commits/
  • ~ #repo/OWNER/REPO/commits/author=isaacrg

Parameters can be applied to a particular page, eg. #repo/isaacrg/gh-info/commits/author=isaacrg&per_page=2 - these parameters match the GET query parameters of the relevant Github API options. Note also that the developer consoles in browser can give you an insight into what is going on behind the scenes, in terms of network requests.

The example pages in the "old" folder demonstrate how this project could be done with being physically separate, but the result is too slow. The folder remains to showcase a similar technique to gh-edit

Note: Due to Github API rate limiting, you could use up your days worth of the Github API rate limit. If you do encounter this problem Generate a personal access token, and then access http://isaacrg.github.io/gh-info/?ACCESS-TOKEN-HERE#repo/isaacrg/repo-info/home, and then modify the hash part of the url as appropriate. Using this access token method, you can also view information about private repositories you have access to.

Remember not to give your personal access token to anyone else, as this could grant them access to confidential or private repos and other data.

gh-info's People

Contributors

ir-g avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gh-info's Issues

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.