I wanted a live Discord online-member count on a site and assumed I'd have to invite a bot. Turns out you don't: Discord exposes a public, unauthenticated endpoint at /api/guilds/{server-id}/widget.json. The server owner flips one toggle (Server Settings → Widget) and anyone can read live counts. No bot, no OAuth, no API key. Almost every tutorial I found implies otherwise.
So I benchmarked the three ways to actually put it on a page (Lighthouse mobile, fast 3G, Moto G4 emulation, against a clean 100/100/100/100 landing page):
Write-up has the full comparison table plus copy-paste install steps for WordPress, Shopify, Webflow, Ghost and Substack (Substack blocks script tags, so the iframe is the only route there):
https://feed-pulse.com/blog/how-to-embed-discord-server-widget-on-website
If you've shipped this a different way — especially anyone caching widget.json at the edge — I'd like to hear how you handled stale counts. Around for the next few hours.