hassanmsthf11 /
AI-Telegram-Translator-Extention
A powerful Chrome Extension for real-time AI translation on Telegram Web, supporting multiple services.
60/100 healthLoading repository data…
Anuj-er / repository
A powerful Chrome extension that seamlessly syncs your LeetCode solutions to GitHub with auto-generated AI explanations and smart folder categorization.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Leet2Hub bridges the gap between solving Data Structures and Algorithms on LeetCode and building a professional GitHub portfolio. This Chrome Extension eliminates the manual process of copying, pasting, organizing, and formatting your code.
Upon solving a problem, Leet2Hub automatically pushes your code, execution time, and memory metrics to a designated GitHub repository. Furthermore, it integrates natively with multiple AI providers (Google Gemini, Groq, and Anthropic) to generate a comprehensive Markdown README.md that explains your algorithm's Intuition, Approach, and Complexity Analysis.
README.md containing algorithmic insights for every problem you push.01-Arrays-and-Hashing, 09-Trees).[Time Beats: 98%]).chrome.storage.local to securely store your Personal Access Tokens and API keys entirely locally.Leet2Hub operates entirely on the client side without requiring an intermediate server to synchronize your code to GitHub.
sequenceDiagram
participant User as You (LeetCode)
participant L2H as Leet2Hub Chrome Extension
participant LC as LeetCode GraphQL
participant Gemini as AI Provider (Gemini/Groq/Claude)
participant GH as GitHub REST API
User->>L2H: Submits Accepted Code & Clicks "Push"
L2H->>L2H: Parses DOM, Next.js State & Monaco Editor
L2H->>LC: Fetches Problem Metadata (Tags, Difficulty)
LC-->>L2H: Returns Metadata JSON
L2H->>Gemini: Prompts Code + Description for Explanation
Gemini-->>L2H: Returns Formatted Markdown README
L2H->>L2H: Compiles Folder Path & Base64 Encoding
L2H->>GH: PUT Request (Commits Code & README)
GH-->>L2H: 201 Created (Success)
L2H-->>User: Visual "Done" Indicator
Selected from shared topics, language and repository description—not editorial ratings.
hassanmsthf11 /
A powerful Chrome Extension for real-time AI translation on Telegram Web, supporting multiple services.
60/100 healthelladeniya-dev /
A powerful, privacy-focused Chrome Extension (Manifest V3) to automate the bulk deletion of your Facebook Activity Log (Posts, Likes, Comments) with smart filtering and human-like interaction.
56/100 healthgraph LR
subgraph Frontend Injection
A[LeetCode UI] -->|Injects Buttons| B(Content Script)
end
subgraph Data Extraction
B -->|Bypasses Virtual DOM| C{Code Extraction Module}
C -.->|Reads `__NEXT_DATA__`| D[Next.js JSON State]
C -.->|Queries| E[localStorage Cache]
C -.->|Injects `<script>`| F[Monaco Editor Instance]
end
subgraph External APIs
B -->|Metadata & Prompts| G[Background Proxy]
G -->|Bypasses CSP| H[GitHub REST & Gemini API]
end
chrome://extensions/ in Google Chrome, enable Developer mode in the top right, and click Load unpacked. Select the Leet2Hub-Extension/dist directory (or build the project yourself using npm run build in the popup directory).https://github.com/anuj-er/LeetCode-Solutions).repo scope.Using Leet2Hub is designed to be frictionless. Follow this workflow for the best experience:
stateDiagram-v2
direction LR
[*] --> 1
1: 1. Go to LeetCode
1 --> 2
2: 2. Write & Submit
2 --> 3
3: 3. Wait for "Accepted"
3 --> 4
4: 4. Click "Push" Button
4 --> 5
5: 5. Code Syncs to Repo
5 --> [*]
Navigate to any LeetCode problem. Write your solution and click the green Submit button on LeetCode. Important: You must submit your code and receive an "Accepted" verdict first.
Once your solution is accepted, locate the LeetCode action bar (where the Submit button resides). Leet2Hub injects a custom Push button adjacent to it.
Note: If the Push button is not visible, ensure you have fully configured your GitHub repository in the extension settings.
A small notification will appear on the Push button indicating "Pushing...", which will eventually transition into a green checkmark indicating success. Check your GitHub repository to see your code formatted in its own directory, complete with an AI-generated README.md if the Gemini integration was enabled.
This repository is split into two primary components:
Leet2Hub-ExtensionThe core Google Chrome Extension. It injects the frontend UI into LeetCode, securely stores user configurations, parses complex dynamic DOM nodes (Next.js state, Monaco editor models), and communicates with the GitHub API. The popup dashboard is built with React, Tailwind CSS, and Vite.
Leet2Hub-apiSupporting backend API services (if deployed) for handling complex OAuth flows, proxying requests to bypass strict CORS policies, or future analytics features.
Created and maintained by anuj-er.
If you find this extension helpful, please consider giving the repository a star.
Contributions, issues, and feature requests are welcome. Feel free to check the issues page.
This project is open-source and licensed under the MIT License.