Subham Haldar
mini

LeetCode Auto-Sync & Organizer

Solo · Jul 2026

LeetCode Auto-Sync & Organize: accepted submissions flow through GitHub Actions into topic folders in your own repo. Zero extensions, zero third-party servers.

A GitHub Actions pipeline that syncs accepted LeetCode submissions into a topic-organized archive, mapping tags through LeetCode's GraphQL API, with credentials held as encrypted secrets and a Puppeteer tool for session rotation.

Built with

Node.jsJavaScriptGitHub ActionsPuppeteerGraphQL
Pipeline flow: a weekly scheduled sync downloads accepted submissions, then a classifier pulls GraphQL topic tags and moves files into topic folders from a JSON config.
Solutions live as plain files in topic folders, so an AI coding agent can read the whole archive — illustrated with an example prompt about DP practice.
Privacy: no browser extensions, no third-party servers, the session cookie held in GitHub Secrets, and cookie rotation automated with Puppeteer and libsodium.
Ready to use: about ten minutes to set up, runs weekly, customizable through a config map, published as a GitHub template.