2 Star 2 Fork 1

小为 / simple-shields

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Simple Shields

A very simple, stable, easy deploy Shields badge service with PHP & SVG. Inspired by Shields IO.

http://shields.hust.cc/ http://shields.hust.cc/ http://shields.hust.cc/ http://shields.hust.cc/ http://shields.hust.cc/

http://shields.hust.cc/ ![http://shields.hust.cc/](http://shields.hust.cc/Hustcc-( ˘ ³˘)♥-ff69b4.svg)

  • Shields.IO style. Pixel-perfect, Retina-ready, Fast, Consistent, Hackable, No tracking.
  • Really Simple, only one PHP file with 60 rows, no dependence.
  • Easy deploy and Stable, Apache or nginx.

1. How to Use ?

The url format: http://shields.hust.cc/SUBJECT-STATUS-COLOR.svg

  • subject: the left part TEXT of shields.
  • status: the right part TEXT of shields.
  • color: the right part COLOR of shields. red, orange, yellow, brightgreen, green, yellowgreen, blue, grey, lightgrey are optional color name, or you can use RGB color, e.g. ff69b4.

2. Deploy your Own service

  1. Download the code, put it into the apache or nginx website dir.
  2. Add vhost on apache or nginx.
  3. optional step: Config the url rewrite. use .htaccess on apache(here is the file), use location config on nginx(here is the file).
  4. Binding you domain.

MEMO: if you don't rewrite url, you can use http://you-domain/api.php?subject=SUBJECT&status=STATUS&color=COLOR

3. Contribution

  • Fork the repo.
  • Add your code, and pull a request.
  • Or add a issue.

Thanks for Shields IO, inspired by it. The 404 page from internet.

LICENSE

MIT@hustcc

空文件

简介

:beginner: a simple Shields badge service with PHP & SVG, Simple, Fast, Stable and Easy Deploy. 展开 收起
PHP
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/hustcc/simple-shields.git
git@gitee.com:hustcc/simple-shields.git
hustcc
simple-shields
simple-shields
master

搜索帮助

14c37bed 8189591 565d56ea 8189591