Embeddable widgets
Drop a Sloth Lee badge into any page.
Self-contained widgets — badges, status, an Add-to-Discord button. They live on stable URLs we promise to keep alive. Free for any site to embed; we ask nothing in return except attribution where it's natural.
Add to Discord button
A self-rendering button that opens the OAuth invite flow. Self-contained — no React or framework dependency, ~3KB.
<script src="https://slothlee.xyz/embed/add-button.js" async></script>
<div data-sloth-lee-button data-utm="your-source"></div>Options
data-utm— referrer tag for our analytics (e.g.,your-blog,readme). Defaults toembed-button.data-size—sm,md(default), orlg.data-theme—dark(default) orlight.
Stats badge
Live guild + member count, refreshed every 60 seconds at the edge.
<img src="https://api.slothlee.xyz/api/badge/stats.svg"
alt="Sloth Lee stats">Server-count badge
Compact version, just the server count.
<img src="https://api.slothlee.xyz/api/badge/guilds.svg"
alt="Sloth Lee servers">Status badge
Green/yellow/red against the multi-source health check. Refreshed every 30 seconds. Useful in #meta channels for ops-heavy communities.
<img src="https://api.slothlee.xyz/api/badge/status.svg"
alt="Sloth Lee status">Version badge
Current dashboard version. Cached for 5 minutes — fine for a README at the top of a repo.
<img src="https://api.slothlee.xyz/api/badge/version.svg"
alt="Sloth Lee version">Markdown snippets
Convenient if you're embedding in a README or docs site.
[](https://slothlee.xyz)
[](https://slothlee.xyz/status)Caching, CORS, and uptime
- All badge endpoints set
Cache-Control: public, max-age=…so embedders cache them at the edge. We don't need real-time — 30s on status, 60s on stats, 5min on version. Access-Control-Allow-Origin: *is set so cross-origin embeds work without a CORS proxy.- URLs are stable. We treat any URL on this page as part of our public API — same change-policy as /api: 30 days' notice for anything breaking.
Custom embed?