Skip to content

Gradgen

Gradgen is a simple yet powerful Cloudflare worker that enhances your badges from badgen.net with stunning gradients.

ref-reporef-official-doc

Tip

Since this project's badges are based on badgen.net, the configuration parameters can be directly referred to badgen.net help. The following configuration only shows the extended parameters of this project.

Parameters

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-params
badgenNetParamsanytruebadgen.net Badge path parametersFor example: static/... (Static badges) github/... (Github-related).
ref-querys
gradientstringGradientFormat: color1,color2 Color format: HEX CSS color name.
stylestringBadge styleSupported: flat.
badgenNetQuerysanybadgen.net Badge query parametersFor example: color (Icon color) icon (Icon) etc.
txt
https://gradgen.bokub.workers.dev/{badgenNetParams}{?gradient,badgenNetQuerys

Examples

markdown
![Gradgen](https://gradgen.bokub.workers.dev/github/checks/nodejs/node?gradient=F3722C,F94144&style=flat)
Gradgen DefaultGradgen Flat

Badge Collection (v3.0.5) MIT Licensed