36
Add beautiful, real-time Discord member count badges to your GitHub README.
🔄 Real-time Updates - Live member count with smart caching (5-minute intervals)
👥 Multiple Badge Types - Total members, human-only, or bot-only counts
🛡️ Safe & Secure - Uses Discord API's `with_counts=true` for public access
⚡ Serverless Ready - Deploy to Vercel, Railway, Render, or any platform
🎨 Fully Customizable - Custom colors, labels, and scaling options
📱 Mobile Responsive - Optimized playground interface for all devices
📦 Zero Config - Just add your bot and start using
1. Add Bot to Your Server
First, invite our bot to your Discord server:
2. Enable Server Widget
Go to your Discord server
Navigate to Server Settings → Engagement
Enable Server Widget
Copy your Server ID
Or follow this documentation
3. Use the Badges
Replace YOUR_GUILD_ID with your actual Discord server ID:
All members
[](https://discord.gg/your-invite)
Bot members only
[](https://discord.gg/your-invite)
Total members (users + bots)
[](https://discord.gg/your-invite)
🎨 Customization Options
All endpoints support optional parameters for full customization:
color (optional) - Hex color without # (default: 5865F2)
label (optional) - Custom text label (default: varies by endpoint)
scale (optional) - Size multiplier from 0.5 to 10.0 (default: 1)
Example:
<!-- Purple total with community branding -->
📽️ YouTube Demo: https://youtu.be/jSLE3u_2vag
📝 Blog Post: https://dev.to/rohan_sharma/heres-how-i-created-a-real-time-discord-badge-for-github-readme-4adg
If you liked this project, leave it a star 🌠
Built with