Menu

LeetHub: keep accepted LeetCode solutions in GitHub
📰

LeetHub: keep accepted LeetCode solutions in GitHub

DEV Community: github·minjungsung1994·about 15 hours ago
#AmGnsJe8
#devtogithub#technology#devto#dev#github
Reading 0:00
15s threshold

Solved a LeetCode problem and want the solution in your GitHub repository?

I built LeetHub to upload accepted submissions using the actual submitted source and language. It creates the solution file and problem README, skips identical content, and supports manual upload by submission URL or ID.

Setup requires a GitHub token restricted to the repository you choose. LeetCode is the supported platform; bulk history import is not included.

Install: https://chromewebstore.google.com/detail/igcdoidkkmchcpanpfbpcghbfldjfjfo

I am the developer. Feedback on your experience and confusing steps is welcome.

How it works

The key design choice is to fetch the accepted submission detail rather than copy the editor DOM. The source and language belong to the submitted solution, which avoids confusing a currently edited draft with what LeetCode actually accepted.

On the GitHub side, identical solution and README content is skipped.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.