Social Media & Platform Stats Updaters
- Tech Stack: Python, GitHub Actions, Playwright, REST/GraphQL APIs
- Repository URL: Project Link
- Live Demo: githubupdators.yugagarwal.dev
Social Media & Platform Stats Updaters is a unified collection of highly resilient, automated Python scrapers designed to run continuously in GitHub Actions. It extracts real-time statistics (followers, subscribers, coding metrics) across platforms and outputs them as clean JSON data for seamless portfolio injection.
Instead of one monolithic script, the architecture is divided into modular, platform-specific updaters ensuring high fault-tolerance.
- GitHub - Uses the Official REST API to extract Followers, Repos, Total Stars, and Forks.
- LeetCode - Uses the Public GraphQL API for Global Rank, Total Solved, and Difficulty Breakdowns.
- YouTube & Instagram - Leverages Browser Automation (Playwright) to securely scrape subscriber counts, video stats, and followers resilient to API limits.
- LinkedIn - Uses mobile App API endpoints to fetch Connections and Followers gracefully.
The repository is fully open-source with pre-configured GitHub Actions templates, automated log rotation, and dynamic evidence extraction. It is intended for any developer wanting to automate their dashboard metrics.
Technical approach
This project employs a modular workflow architecture executed via GitHub Actions. Each platform module operates independently to prevent catastrophic failures. It utilizes Playwright for headless browser automation against heavily rate-limited platforms, while using GraphQL and REST APIs for developer platforms. The CI/CD pipeline automatically commits updated JSON artifacts back to the repository on a CRON schedule.