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



MooTools

Requires: Core/1.4.5, More/Number.Format, More/Request.JSONP

window.addEvent('domready', function(){
	// create a new stargazer button
	document.id('container1').grab(new GitHubButton({
		owner : 'AndiDittrich',
		repo : 'EnlighterJS',
		large : true,
		type : 'star',
		text : 'Starring:'
	}));
});

MooTools Element-Style

Requires: Core/1.4.5, More/Number.Format, More/Request.JSONP

window.addEvent('domready', function(){
	// create a new stargazer button
	document.id('container1').GitHubButton({
		owner : 'AndiDittrich',
		repo : 'EnlighterJS',
		large : true,
		type : 'star',
		text : 'Starring:'
	});
});

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

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


Download on GitHub