Badges for Liberapay — receiving, patrons, goal.
Display funding stats from Liberapay, the open-source recurring donations platform.
| Badge | Endpoint | Description |
|---|---|---|
| Receiving | /liberapay/receiving/{username} | Weekly income |
| Patrons | /liberapay/patrons/{username} | Number of patrons |
| Goal | /liberapay/goal/{username} | Funding goal progress |
Uses the Liberapay API. No API key required. Cached 1 hour.
Use these sections when you need the exact URL shape or a focused example for a specific badge type.
This section covers the liberapay/goal badge endpoint.
Show the funding goal progress as a percentage of the weekly target.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/liberapay/goal/Changaco.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/liberapay/goal/Changaco.svg?mode=light"></picture>
/liberapay/goal/{username}.svgDefault — goal progress percentage
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/liberapay/goal/Changaco.svg?mode=dark"><img alt="goal" src="https://shieldcn.dev/liberapay/goal/Changaco.svg?mode=light"></picture>Branded — Liberapay yellow
If the user hasn't set a funding goal, the badge will show "not set".
This section covers the liberapay/patrons badge endpoint.
Show how many patrons support a Liberapay user.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/liberapay/patrons/Changaco.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/liberapay/patrons/Changaco.svg?mode=light"></picture>
/liberapay/patrons/{username}.svgDefault — patron count
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/liberapay/patrons/Changaco.svg?mode=dark"><img alt="patrons" src="https://shieldcn.dev/liberapay/patrons/Changaco.svg?mode=light"></picture>Branded — Liberapay yellow
This section covers the liberapay/receiving badge endpoint.
Show how much a Liberapay user receives per week in donations.
Path Parameters
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/liberapay/receiving/Changaco.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/liberapay/receiving/Changaco.svg?mode=light"></picture>
/liberapay/receiving/{username}.svgDefault — weekly donation income
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/liberapay/receiving/Changaco.svg?mode=dark"><img alt="receiving" src="https://shieldcn.dev/liberapay/receiving/Changaco.svg?mode=light"></picture>Branded — Liberapay yellow
Some users choose to hide their income. In that case, the badge will show "hidden".