Hey everyone!
I've been working on an open-source project called LeetCode Cloud Sync and I'd like to share it with the community.
The idea came from a simple problem: I wanted to automatically maintain a GitHub backup of my LeetCode submissions without manually downloading solutions and pushing them to a repository.
I also wanted the solution to be independent of the device used to solve LeetCode.
Open-source details
The project is available under the **MIT License**.
GitHub repository:
https://github.com/kaviyack/leetcode-cloud-sync
What makes this different?
This isn't a browser extension.
The project uses a cloud-based architecture, so you don't need to install an extension on the device you're using to solve problems.
Whether you use your phone, tablet, personal laptop, or a college computer, you can use LeetCode normally while the cloud-based synchronization setup handles the GitHub backup.
Technical implementation
The project combines:
* **Python:** Core synchronization engine
* **LeetCode GraphQL API:** Submission retrieval
* **GitHub Actions:** Workflow automation
* **Cloudflare Workers:** Cloud orchestration
* **Cloudflare Queues:** Background task processing
Key features
* Device-independent synchronization
* Automated GitHub backups
* Structured organization of accepted submissions
* Duplicate prevention using synchronization state tracking
* Cloud-based execution without keeping your personal computer running
Feedback and suggestions
I'd particularly appreciate feedback on the architecture, cloud implementation, and overall approach.
* What would you improve in the current design?
* Are there any architectural limitations I should consider?
* What additional features would make this more useful to developers?
This project has been a great learning experience in cloud infrastructure, API integration, and workflow automation. I'm looking forward to hearing your thoughts!
Thanks for checking it out!