Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🔰 a simple Shields Badge service with PHP & SVG, Simple, Fast, Stable and Easy Deploy.

NotificationsYou must be signed in to change notification settings

hustcc/simple-shields

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A very simple, stable, easy deployShields 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.
  • ReallySimple, only one PHP file with 60 rows, no dependence.
  • Easy deploy andStable, 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 useRGB color, e.g. ff69b4.

2. Deploy your Own service

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

MEMO: if you don't rewrite url, you can usehttp://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

About

🔰 a simple Shields Badge service with PHP & SVG, Simple, Fast, Stable and Easy Deploy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp