leetcode helper

by Rishi Jha
5
4
3
2
1
Score: 50/100

Description

LeetCode helper transforms Obsidian into a complete algorithm practice environment. Instead of context-switching between a browser, an IDE, and your notes, this plugin brings the entire problem-solving lifecycle into a single, synchronized dashboard.

Reviews

No reviews yet.

Stats

1
stars
0
downloads
0
forks
1
days
1
days
1
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
10
commits

Latest Version

a day ago

Changelog

This is a quick patch release to resolve release packaging errors for the Obsidian Community Plugins directory and to implement a few critical bug fixes from the initial launch.

Bug Fixes & Improvements Release Packaging: Correctly attached the compiled main.js and manifest.json files directly to the GitHub release assets to pass Obsidian's automated submission validation.

AI Copilot Key Validation: Fixed an issue where the Socratic chat interface incorrectly demanded a specific provider's API key. The Copilot now properly bypasses hardcoded checks and dynamically reads your universal configuration (API Key, Base URL, and Model ID) from the settings tab.

Event Listener Sync: Resolved a UI disconnect that caused the "Fetch Data" button to ignore user input. The component is now correctly bound to the fetchLeetCodeProblem function.

README file from

Github

⚡️ LeetCode Helper An all-in-one algorithmic practice workspace for Obsidian.

LeetCode Helper transforms your Obsidian vault into a fully integrated coding environment. Stop context-switching between your browser, IDE, and notes. Fetch problems, write code, run test cases, diagram architectures, and get Socratic AI hints—all without ever leaving your vault.

✨ Core Features Direct Problem Sync: Enter a LeetCode problem ID to instantly fetch the description, constraints, and default test cases straight into your workspace.

Socratic AI Copilot: A built-in AI tutor engineered to guide you, not give you the answer. Get data structure hints, edge case analysis, and step-by-step dry runs.

Bring Your Own Key (BYOK): Full flexibility to use any AI provider. Configure your API key, Base URL, and Model ID in the settings to connect to OpenAI, OpenRouter, Groq, Google Gemini, or even local offline models like Ollama.

Integrated Code Environment: Write, auto-save, and execute your solutions inside an embedded code editor with full syntax highlighting.

Visual Architecture Integration: Utilize Obsidian's native Canvas API to diagram node architectures, map out linked lists, and visualize complex data structures side-by-side with your code.

🚀 Getting Started

  1. Installation (Note: Once approved, you will be able to install this directly from the Obsidian Community Plugins tab).

Download the latest release from the repository.

Extract the folder into your vault's .obsidian/plugins/ directory.

Open Obsidian, navigate to Settings > Community plugins, and toggle LeetCode Helper on.

  1. Configuration To enable the Socratic Copilot, you must configure your AI provider:

Go to Settings > LeetCode Helper in Obsidian.

Enter your API Key.

Set your Base URL (e.g., https://api.openai.com/v1, https://generativelanguage.googleapis.com/v1beta/openai for Gemini, or http://localhost:11434/v1 for local models).

Specify the Model ID (e.g., gpt-4o-mini, gemini-2.5-flash, llama3).

  1. Usage Open the LeetCode Workspace via the ribbon icon or command palette.

Type a problem number into the input field at the top of the workspace and click Fetch Data.

Write your solution in the bottom-left editor panel.

Use the Socratic Copilot chat window on the right to ask for hints, complexity analysis, or debugging help.

☕ Support the Author Building and maintaining open-source Obsidian plugins takes time (and a lot of caffeine!). If this tool helped you nail an interview or improve your daily coding practice, consider supporting the project.