GitHub Shows 2.7K Followers, But the API Knows the Exact Number 👀

GitHub Shows 2.7K Followers, But the API Knows the Exact Number 👀

While building my project GitHub Followers Tracker, I noticed something interesting about GitHub profiles. On the GitHub website, follower counts are rounded: 2.7K followers But the GitHub API gives you the exact number: { "followers": 2743 } Enter fullscreen mode Exit fullscreen mode No rounding, no guessing. Why I Built This GitHub shows your current followers, but it doesn't show your follower history. You can't easily know: Who followed you recently Who unfollowed you How your network changed over time So I built a small tool that works like a memory for your GitHub profile. GitHub Followers Tracker 🔗 Live Demo: https://github-followers-tracker.netlify.app/ 💻 Source Code: https://github.com/MiladJoodi/github-followers-tracker Features: ✅ Search any GitHub username ✅ View followers and following lists ✅ Track new followers ✅ Detect unfollowed users ✅ Save snapshots and compare changes ✅ No login required ✅ How It Works GitHub provides profile data through a public API: const response = await fetch( `https://api.github.com/users/${username}` ); const profile = await response.json(); console.log(profile.followers);**** Enter fullscreen mode Exit fullscreen mode The API returns useful information like: { "login": "MiladJoodi", "followers": 2743, "following": 1752, "public_repos": 136 } Built with: ➡️ Next.js 15 App Router ➡️ React 19 ➡️ TypeScript ➡️ Tailwind CSS ➡️ Radix UI ➡️ Recharts ➡️ Zod What I Learned Sometimes a simple API can become the foundation of a useful developer tool. GitHub gives you the data, but with a little creativity you can build something that solves a real problem. If you are interested in GitHub APIs or frontend projects, feel free to check it out, fork it, or share your feedback 🚀

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.