HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 17:59:06 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100402055314
location: https://web.archive.org/web/20100402055314/https://drnicjavascript.rubyforge.org/github_badge
server-timing: captures_list;dur=0.958968, exclusion.robots;dur=0.108178, exclusion.robots.policy;dur=0.076682, esindex;dur=0.009811, cdx.remote;dur=156.874350, LoadShardBlock;dur=206.872032, PetaboxLoader3.resolve;dur=64.273972, PetaboxLoader3.datanode;dur=82.636878
x-app-server: wwwb-app246-dc8
x-ts: 302
x-tr: 390
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app246; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 17:59:07 GMT
content-type: text/html
x-archive-orig-date: Fri, 02 Apr 2010 05:53:14 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Wed, 03 Mar 2010 23:41:57 GMT
x-archive-orig-etag: "1497-480ee0720bb40"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 5271
x-archive-orig-vary: Accept-Encoding
x-archive-orig-connection: close
x-archive-orig-x-pad: avoid browser bug
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 02 Apr 2010 05:53:14 GMT
link:
; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_15_20100402010259_crawl100-c/51_15_20100402055258_crawl100.arc.gz
server-timing: captures_list;dur=0.597124, exclusion.robots;dur=0.018754, exclusion.robots.policy;dur=0.007378, esindex;dur=0.010966, cdx.remote;dur=574.715428, LoadShardBlock;dur=329.143079, PetaboxLoader3.resolve;dur=300.363328, PetaboxLoader3.datanode;dur=362.795070, load_resource;dur=402.179761
x-app-server: wwwb-app246-dc8
x-ts: 200
x-tr: 1345
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
GitHub Badge
What
Want to show off your projects on github to world?
Then a sexy badge on your blog would be awesome. Like the one above, but
for your github projects and forks. So, its awesomer.
Installation
Sample HTML to paste into your blog sidebar:
<div id="github-badge"></div>
<script type="text/javascript" charset="utf-8">
GITHUB_USERNAME="drnic";
</script>
<script src="https://drnic.github.com/github-badges/dist/github-badge-launcher.js" type="text/javascript"></script>
A full outline of available options:
<div id="github-badge"></div>
<script type="text/javascript" charset="utf-8">
GITHUB_USERNAME="drnic";
GITHUB_LIST_LENGTH=10;
GITHUB_HEAD="div"; // e.g. change to "h2" for wordpress sidebars
GITHUB_THEME="white"; // try 'black'
GITHUB_TITLE = "My projects"
GITHUB_SHOW_ALL = "Show all"
</script>
<script src="https://drnic.github.com/github-badges/dist/github-badge-launcher.js" type="text/javascript"></script>
Only GITHUB_USERNAME is a required pre-set variable. The others above show the defaults, and can be changed by being specified.
<img src=“https://img.skitch.com/20080506-1cykawtg246kqibnuhtithqhsm.jpg” border=0 alt=“github-badge black theme” />
Black background? If your site has a black background the badge will automatically attempt to use the black_badge.css theme. If it doesn’t trigger for your site add the GITHUB_THEME='black' code to the configuration above.
Existing installations/demonstrations
Forum
https://groups.google.com/group/github
How to submit patches
Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.
You can fetch the source from:
git clone git://github.com/drnic/github-badges.git
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Send an email to Dr Nic Williams via the github forum
Dr Nic Williams, 27th January 2009
Theme extended from Paul Battley