Simple Shields
A very simple
Shields Service
with PHP. Inspired by Shields IO.
Pixel-perfect, Retina-ready, Fast, Consistent, Hackable, No tracking.
Really Simple, only one PHP file with 60 rows.
Easy deploy and Stable, Apache or nginx.
部署效果网址:http://shields.hust.cc/
github代码地址:https://github.com/hustcc/sim...
1. How to Use ?
http://shields.hust.cc/<SUBJECT>-<STATUS>-<COLOR>.svg
subject: the
left part TEXT
of shields.status: the
right part TEXT
of shields.color: the
left part COLOR
of shields.red
,orande
,yellow
,brightgreen
,green
,yellowgreen
,blue
,grey
,lightgrey
are Optional color name, or useRGB
. e.g. ff69b4.
2. Deploy you service
Download the code, put it into the
apache
ornginx
website dir.Add vhost of apache or nginx.
Config the url rewrite. use
.htaccess
on apache, uselocation config
on nginx.Binding you domain.
3. Contribution
fork the repo.
add your code, and pull a request.
or add a issue.
Thanks for Shields IO, inspired by it.
LICENSE
MIT
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。