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 ```
| | | |
| ------------------------------ | ----------------------------------------------------- | :------------- |
| badge with only subject | https://merit-badge.dev/badge/subject
| ![badgesub] |
| Default badge | https://merit-badge.dev/badge/subject/text
| ![badgedef] |
| badge with medium size | https://merit-badge.dev/badge/size/medium?size=medium
| ![badgemd] |
| badge with large size | https://merit-badge.dev/badge/size/large?size=large
| ![badgelg] |
| red badge | https://merit-badge.dev/badge/color/red?color=ff0000
| ![badgecolor] |
| badge with brand icon | https://merit-badge.dev/badge/icon/brand?icon=npm
| ![badgeicon1] |
| badge with solid icon | https://merit-badge.dev/badge/icon/solid?icon=code
| ![badgeicon2] |
| badge with sparkline chart | https://merit-badge.dev/badge/data/1,5,2,4,8,3,7
| ![badgedata] |
| flat badge | https://merit-badge.dev/badge/style/flat?style=flat
| ![badge_flat] |
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 | ![npmtag] | | https://merit-badge.dev/npm/@types/react | ![npmscope] | | https://merit-badge.dev/npm/typescript/dl/m | ![npmdl] | | https://merit-badge.dev/npm/typescript/hist/m | ![npmhist] |
``` 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 | ![crateslatest] | | https://merit-badge.dev/crates/actix-web/lic | ![crateslic] | | https://merit-badge.dev/crates/actix-web/dl | ![cratesdl] | | https://merit-badge.dev/crates/actix-web/hist | ![crateshist] |
``` 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
```
| | | | --------------------------------------------------- | ----------------- | | https://merit-badge.dev/github/rust-lang/rust/lic | ![githublic] | | https://merit-badge.dev/github/rust-lang/rust/stars | ![githubstars] | | https://merit-badge.dev/github/rust-lang/rust/watchers | ![githubwatchers] | | https://merit-badge.dev/github/rust-lang/rust/forks | ![githubforks] |
```sh
❯ merit --help
USAGE:
merit [OPTIONS] --subject
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
--color