This is a small and simple jQuery plugin to make github repositories, activity and gists widget from multiple accounts.
<!-- 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" />
<!-- by ClassName --> <div class="anu" data-username="bachors"></div> <div class="anu" data-username="facebook"></div>
<!-- by ID --> <div id="unix" data-username="primer"></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(){
$(".anu").githubfeed( sort = "updated", // Can be one of created, updated, pushed, full_name. width = '100%', // width widget height = '400px' // height post ); $("#unix").githubfeed( sort = "updated", // Can be one of created, updated, pushed, full_name. width = '350px', // width widget height = '400px' // height post );
}); </script>