pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/akshaykumar6/github-js

rossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-6534fbc3f5e83ac0.css" /> GitHub - akshaykumar6/github-js: Javascript Plugin over Github APIs. · GitHub
Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github.js

Github.js is a JavaScript plugin over GitHub APIs v3. It gives an easy way to feature your GitHub open-source contributions on your website or portfolio.

Demo

Click here for live examples.

#Dependency

The plugin has hard dependency on underscore.js(~v1.6.0). You can download it from here.

Installation

Add github.js and github.css to your project. Download v0.1.3.

<link rel='stylesheet' href='github.css'/>

// Add underscore.js 
<script type="text/javascript" src="underscore-min.js"></script>
<script type="text/javascript" src='github.js'></script>

Github.js is available via bower and npm.

$ bower install --save githubjs
$ npm install --save githubjs

Usage

User Profile

Github.userProfile({
  username: "jashkenas",
  selector: ".user-1"
});

User Activity

Github.userActivity({
  username: "torvalds",
  selector: ".user-2"
});

Repository Profile

Github.repoProfile({
  username: 'atom',
  reponame: 'atom',
  selector: '.repo-1'
});

Repository Activity

Github.repoActivity({
  username: 'joyent',
  reponame: 'node',
  selector: '.repo-2'
});

Organization Profile

Github.orgProfile({
 orgname: 'facebook',
 selector: '.org-1'
});

Organization Activity

Github.orgActivity({
 orgname: 'google',
 selector: '.org-2'
});

Documentation

Contribute

To start contributing to Github.js, clone the repository and start playing.

$ git clone [email protected]:akshaykumar6/github-js.git
$ cd github-js

If you're not familiar with Git, visit the Git homepage to download Git for your platform.

Got a bug or a feature request? Please open a new issue.

License

github-js © 2015, Akshay Sharma Released under the MIT License.

Authored and maintained by Akshay Sharma.

Releases

Packages

Used by

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy