ghcr-badge: Generate ghcr.io container's status badge
Motivation
https://github.com/badges/shields/issues/5594
Deployment
-
- Deta Space was closed
To run your own on Cloudflare Containers, see cloudflare/README.md.
Available paths
/<package_owner>/<package_name>/tags?color=...&ignore=...&n=...&label=...&trim=...- defaults:
color=#44cc11,ignore=latest,n=3,label=image tags - https://ghcr-badge.egpl.dev/eggplants/ghcr-badge/tags?trim=major
- 👉:
- defaults:
/<package_owner>/<package_name>/latest_tag?color=...&ignore=...&label=...&trim=...- defaults:
color=#44cc11,ignore=latest,label=version - https://ghcr-badge.egpl.dev/eggplants/ghcr-badge/latest_tag?trim=major&label=latest
- 👉:
- defaults:
/<package_owner>/<package_name>/size?color=...&tag=...&label=...&trim=...- defaults:
color=#44cc11,tag=latest,label=image size - https://ghcr-badge.egpl.dev/eggplants/ghcr-badge/size
- 👉:
- defaults:
<package_name> may itself contain / to reference a repository-scoped image, e.g. ghcr.io/henrygd/beszel/beszel:
Common parameters
label parameter
label=hello:
ignore parameter
Use the ignore parameter to filter returned tags, supports pattern matching and a comma separated list.
ignore=latestignores thelatesttag (default).ignore=sha256*ignores all tags prefixed withsha256.ignore=v0.0.1,latest,sha256*ignores thelatestandv0.0.1tags, and all tags prefixed withsha256*.
trim parameter
trim=patchtrims^v?\d+\.\d+\.\d+[^.]*$tags.trim=majortrims^v?\d+\.\d+[^.]*$tags.
color parameter
Available color names and hex codes are listed on: https://github.com/jongracecox/anybadge#colors
Note
Generated badge will be cached for 3666 seconds in GitHub's Camo server. To update immediately, send PURGE request to the badge Camo link.
curl -X PURGE "https://camo.githubusercontent.com/..."
Metadata
Release files for ghcr-badge 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghcr_badge-2.0.1.tar.gz | 60.4 kB | Without provenance | Details for ghcr_badge-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghcr_badge-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for ghcr_badge-2.0.1-py3-none-any.whl |
Total release size: 119.9 kB
Release files / ghcr_badge-2.0.1.tar.gz
| Download URL | ghcr_badge-2.0.1.tar.gz |
|---|---|
| Size | 60.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9365faed076e115ce8c48b21b3ae3ce086d7bfeb7bac685f531625a25f5acc8
|
|
BLAKE2b-256 checksum How to use checksums |
67744bcc2a76c7b8baadbcd5c3a43d99b502939e6d18a5bb947159a2556f786a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ghcr_badge-2.0.1-py3-none-any.whl
| Download URL | ghcr_badge-2.0.1-py3-none-any.whl |
|---|---|
| Size | 59.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2b9bb22d45f7ef5c927bbb8fe627aa1cb450d3a5350626f8e1ad563c88b8b42
|
|
BLAKE2b-256 checksum How to use checksums |
0ee12b86e59b5ca176919c4793e14cb0a8851c3a5782072b8201e12bb1d0dba6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for ghcr-badge 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.