JQUERY GITHUB FEED

This is a small and simple jQuery plugin to make github repositories, activity and gists widget.
Usage:

<!-- Include Octicons -->
<link href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css" rel="stylesheet">

<!-- Custom Github Feed style -->
<link type="text/css" rel="stylesheet" href="src/github-feed.css" />

<!-- Demo -->
<div class="anu"></div>

<!-- Include jQuery -->
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>

<!-- Include jQuery Github Feed-->
<script src="src/github-feed.js"></script>

<script>
$(document).ready(function(){
// Setting
$(".anu").githubfeed(
username = "greenboxindonesia", // your github username
sort = "updated" // Can be one of created, updated, pushed, full_name.
);
});
</script>

Demo:

[codepen_embed height="266" theme_id="dark" slug_hash="PNavBB" default_tab="css,result" user="aank84"]See the Pen <a href='http://codepen.io/aank84/pen/PNavBB/'>jQuery github feed</a> by Greenboxindonesia (<a href='http://codepen.io/aank84'>@aank84</a>) on <a href='http://codepen.io'>CodePen</a>.[/codepen_embed]

Post a Comment

0 Comments