The Unofficial GitHub-Buttons
for MooTools / jQuery / PHP

Show your Love to GitHub with the power of MooTools, jQuery or PHP
including buttons for stargazers, watchers, forks and followers


Providing a platform coherent API



jQuery

Requires: jQuery/1.9

jQuery(function(jq){
	// create a new stargazer button
	jq('#container1').GitHubButton({
		owner : 'AndiDittrich',
		repo : 'EnlighterJS',
		large : true,
		type : 'star',
		text : 'Starring:',
		cache: true,
		cacheLifetime: 7200,
		errorText: 'NA'
	});
});

Sources: Native MooTools Code - Native jQuery Code - Native PHP Code - Stylesheet

All required files are located into the Dist/ directory including compressed versions!


Download on GitHub