Giter Site home page Giter Site logo

github-api-ninja's Introduction

github-api-ninja

GitHub API client with some statistics on public repositories. Show language statistics on regarding public repositories on GitHub, in the form Java: 37,3817 %. Currently I only respect the first five because of DOS prevention on GitHub site. Statistics are printed out on System.out.

Results

Statistics of the first 100 repositories (Jan 16, 2015)

bytesTotal: 35090025
Io: 0.048000 %
D: 0.014100 %
Scheme: 0.227600 %
Arc: 0.579500 %
ActionScript: 0.012100 %
Ruby: 75.048200 %
C: 1.749000 %
CSS: 0.388200 %
CoffeeScript: 0.001800 %
Perl: 0.732100 %
Ragel in Ruby Host: 0.016600 %
Emacs Lisp: 0.046000 %
PHP: 0.003000 %
Objective-C: 0.000100 %
Erlang: 4.595500 %
Shell: 0.112200 %
Python: 0.486300 %
C++: 9.397900 %
JavaScript: 6.521000 %
Makefile: 0.021000 %

Run

  1. gradle clean jar
  2. java -jar build/libs/github-api-ninja-1.0-SNAPSHOT.jar

Extensions

  • Mock HTTP connection: http://wiremock.org/
  • Persist the data a) to build some cache and avoid GitHub overload and b) to play around a little with a persistence unit.
  • Make a standalone webserver application. Use Spring Boot, for instance. Is JHipster an option for this? Probably not because I dont know Angular...
  • Build a RESTful HTTP interface on top. E.g., GET /statistics, GET /statistics/language, ... seem reasonable.
  • On top of that a simple and focused GUI/Frontend would be cool. Enter a language name and receive the result in a beautifully nice way.

Done

  • Provide way to log in via the GitHub API, i.e., receive more than 5 repo statistics.

More new stuff

github-api-ninja's People

Contributors

husterknupp avatar

Watchers

 avatar  avatar  avatar

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.