Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kane50613/discord-bot-card
⚡ Show your discord bot stats on your website as a svg card
https://github.com/kane50613/discord-bot-card
discord discord-bot edge-functions nextjs satori svg
Last synced: 3 months ago
JSON representation
⚡ Show your discord bot stats on your website as a svg card
- Host: GitHub
- URL: https://github.com/kane50613/discord-bot-card
- Owner: kane50613
- License: gpl-3.0
- Created: 2023-03-11T13:06:38.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T09:00:01.000Z (10 months ago)
- Last Synced: 2024-04-05T09:34:01.872Z (10 months ago)
- Topics: discord, discord-bot, edge-functions, nextjs, satori, svg
- Language: TypeScript
- Homepage: https://card.yeecord.com/
- Size: 7.23 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Discord Bot Card
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fkane50613%2Fdiscord-bot-card&env=BOT_TOKEN&demo-title=Yeecord%20Card&demo-url=http%3A%2F%2Fcard.yeecord.com%2Fapi%2Fcard)
Show your discord bot stats on your website as a svg card, the data is fetched from discord API, and the card is generated with [satori](https://github.com/vercel/satori) on the fly.
![Discord Bot Card](https://card.yeecord.com/)
## Usage
1. Deploy this repository to Vercel by clicking the button above
2. Add `BOT_TOKEN` to the environment variables
3. Head to `https://your-vercel-url/api/card` to get the card## Endpoints
- `/api/card` - Get the card in svg format
- `/api/card.jpeg` - Get the card in jpeg format
- `/api/card.webp` - Get the card in webp format