A simple Cloudflare Worker to provide a shorter URL for embedding an SVG badge on a page https://omg.8bitsqu.id/?user=8bit
Go to file
2023-11-14 10:42:00 +00:00
src Init, index.ts in working state 2023-01-26 12:25:40 +00:00
.gitignore Init, index.ts in working state 2023-01-26 12:25:40 +00:00
LICENSE Add license and readme files 2023-01-26 12:37:22 +00:00
package-lock.json Update dependencies 2023-11-14 10:42:00 +00:00
package.json Update dependencies 2023-11-14 10:42:00 +00:00
readme.md Add license and readme files 2023-01-26 12:37:22 +00:00
tsconfig.json Update dependencies 2023-11-14 10:42:00 +00:00
wrangler.toml Init, index.ts in working state 2023-01-26 12:25:40 +00:00

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 to
  • colour / color: Colour for the right half of the badge, passed directly to the shields.io link, so it has the same allowed values
  • style: 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