mirror of
https://github.com/supleed2/omglolbadge.git
synced 2024-12-21 21:55:47 +00:00
A simple Cloudflare Worker to provide a shorter URL for embedding an SVG badge on a page
https://omg.8bitsqu.id/?user=8bit
src | ||
.gitignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
readme.md | ||
tsconfig.json | ||
wrangler.toml |
omg.lol Badge
A simple Cloudflare Worker to provide a shorter URL for embedding an SVG badge on a page.
Can be used in markdown via: [![](https://omg.8bitsqu.id/?user=8bit)](https://8bit.omg.lol)
And in html via:
<object data="https://omg.8bitsqu.id/?user=8bit" type="text/html">
Alternative Content
</object>
Query Parameters
user
: Indicates which omg.lol user to show / link tocolour
/color
: Colour for the right half of the badge, passed directly to the shields.io link, so it has the same allowed valuesstyle
: Style of the badge, passed directly to the shields.io link, so it has the same allowed values
More info on the allowed values at Shields.io