Skip to content

Display your latest github repositories with lightweight and pure JavaScript!

Notifications You must be signed in to change notification settings

samwx/GithubFeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github Feed

Display your latest github repositories with lightweight and pure JavaScript! See demo

Basic usage

  1. Call githubFeed.js preferably right before the </body> tag:
<script src="assets/js/githubFeed.js"></script>
  1. Add the code below into your HTML. The repositories will appear in this tag;
<div id="github-feeds"></div>
  1. Copy/paste code bellow and be happy! :D
GithubFeed.init({
    username: 'username',       //github username
	container: '#github-feeds', //DOM element to bind
	count: 3, 				    //Number of repositories you'll want to show
	order: 'desc', 			    //Order to show
	onComplete: function() { 
		console.log('Yeah!');   //Callback to execute after function init
	}
});

About

Display your latest github repositories with lightweight and pure JavaScript!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published