The OpenBadge Project
Why
SVG badges are pretty awesome, but the current solutions (eg: shield.io, fury.io) are somewhat heavy.
Sometimes you need to run custom functionality, sometimes the source data to generate lives behind firewalls, and sometimes hackers just want to hack.
The Open Badge project gives you a module that produces custom SVG badges, giving you full control over fonts, sizes, padding, colors, etc. It's pretty lightweight, so you can include it as part of your projects. Pure SVG solution. Does not require canvas libraries to be installed on your system.
Runnable Example usage in an express app:
var app = openBadge = ; /** * A simple badge using config defaults. * We only specify the text on the left and the text on the right */app; /** * Changing fonts: * Example: Comic Sans. Just because you can, doesn't mean you should... */app; /** * Changing Colors: * Individual control over both halves, the font and its dropshadow */app; app; app; app;