Skip to content

Jannchie/shields-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shields API

A high-performance web API for generating shield badges compatible with shields.io, built with Rust and Axum.

Shields API

Generate shield badges from any JSON API endpoint.

Usage Example:

curl "http://localhost:1581/endpoint?url=https://api.github.com/repos/microsoft/vscode&query=stargazers_count&label=stars&color=green"

Parameters:

  • url (required): API endpoint URL
  • query: JSONPath query (e.g. version, data.count)
  • label: Left text
  • color: Badge color (named or hex)
  • style: Badge style (flat, plastic, etc.)

Response: SVG badge (image/svg+xml)

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages