holder ninja 1.1.0

This is an open source server side image holder web service. All images are SVG format and they can scale nicely. It doesn't support another image formats. And it gives the requested images with a "max-age one year" header for awesome cache controlling.

USAGE

http://holder.ninja/800x600.svg

PARAMETERS

The service has six parameters and they separated with a comma.

# Parameter Description Sample
1 Size Width and Height 800x600
2 Text Optional image text. Default: Their size value. It can be two lines by a | separator. HELLO|WORLD
3 Background Optional hex background color without #. Default: ddd ddd
4 Foreground Optional text color without #. Default: 333 666
5 Font size Font size without px. Default: 24 32
6 Font family Single font family. Default: Helvetica Arial

SAMPLES

All sample images scaled by css.

http://holder.ninja/400x300.svg
http://holder.ninja/400x300,sample%20text.svg
http://holder.ninja/400x300,,8bd,fff.svg
http://holder.ninja/400x300,HELLO|WORLD,,,44,Verdana.svg

SPECIALS

http://holder.ninja/ninja,fee:1200x400,HELLO|WORLD,,,44,Verdana.svg

CODE

I coded it with NodeJS. You can clone and run on your local server freely or you can help the development on github