Fast badge generator for any purpose
USAGE:
https://merit-badge.dev/badge/{subject}[/{text}][?params]
PATH:
/subject : String
/text (Optional) : String. Text can also be comma separated numbers for sparkline
QUERY PARAMS:
color : Any valid css color. Supports Color name, RGB and hex
icon : Icon cany be any "Brand" or "Solid" icons from fontawesome
icon_color : Any valid css color. Supports Color name, RGB and hex
style : [possible values: flat, classic] defaults to classic
size : [possible values: large, medium, small] defaults to small
Icon cany be any Brand or Solid icons from fontawesome Color can be any 6 or 8 digit hex color, a valid css color name or RGB / RGBA color
Same query params as
/badge
can be applied any service
USAGE:
GET VERSION : https://merit-badge.dev/npm[/@{scope}]/{package}
GET VERSION FOR A TAG : https://merit-badge.dev/npm[/@{scope}]/{package}/{tag}
GET LICENSE : https://merit-badge.dev/npm[/@{scope}]/{package}/lic
GET DOWNLOAD # : https://merit-badge.dev/npm[/@{scope}]/{package}/dl/{period}
GET DOWNLOAD SPARKLINE : https://merit-badge.dev/npm[/@{scope}]/{package}/hist/{period}
PATH:
/@{scope} : Scope of the npm package. Eg: /@angular
/{tag} : Specific tag of the package. Eg: beta, next, rc 1.0.8
/lic : Get the license of the package
/dl/{period} : Get download count for given period.
/hist/{period} : Get download trending in sparkline chart
Periods are: "d" for Daily, "w" for Weekly, "m" for Monthly, "y" for Yearly,
https://merit-badge.dev/npm/typescript/next | |
https://merit-badge.dev/npm/@types/react | |
https://merit-badge.dev/npm/typescript/dl/m | |
https://merit-badge.dev/npm/typescript/hist/m |
USAGE:
GET VERSION : https://merit-badge.dev/crates/{package}
GET LICENSE : https://merit-badge.dev/crates/{package}/lic
GET DOWNLOAD # : https://merit-badge.dev/crates/{package}/dl
GET DOWNLOAD SPARKLINE : https://merit-badge.dev/crates/{package}/hist
PATH:
/lic : Get the license of the package
/dl : Get download count for given period.
/hist : Get download trending in sparkline chart
https://merit-badge.dev/crates/actix-web | |
https://merit-badge.dev/crates/actix-web/lic | |
https://merit-badge.dev/crates/actix-web/dl | |
https://merit-badge.dev/crates/actix-web/hist |
USAGE:
GET LICENSE : https://merit-badge.dev/github/{owner}/{name}/lic
GET START # : https://merit-badge.dev/github/{owner}/{name}/stars
GET WATCHERS # : https://merit-badge.dev/github/{owner}/{name}/watchers
GET FORKS # : https://merit-badge.dev/github/{owner}/{name}/forks
PATH:
/{owner} : User Name or Org
/{name} : Name of the repo
❯ merit --help
USAGE:
merit [OPTIONS] --subject <subject>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--color <color> 6 or 8 digit hex color or a valid css color name
--data <data>
--icon <icon> Icon cany be any Brand or Solid icons from fontawesome
--icon-colour <icon-colour> 6 or 8 digit hex color or a valid css color name
--out <out>
--size <size> [possible values: Large, Medium, Small]
--style <style> [possible values: Flat, Classic]
--subject <subject>
--text <text>