Skip to content

Snazzah/botsgg-widget

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

bots.gg Widget

Deploy to Cloudflare Workers

Create a widget from a bot in bots.gg. Formerly from SnazzahAPI.

Usage

Simply use https://botsgg.snazzah.dev/widget/<client_id>/default.svg as an image URL and it will generate a nice widget.

Widget Types

Currently there are two widget types: default and banner as shown above. You can replace the end of the url with <type>.svg to change it.

Custom Width

You can change the width of the widget using w in a query string. (ex. ?w=500 for 500 pixels)

Attribution

Made by Snazzah under the MIT license.