Post by Parth Koul

pursuing computer science | physics enthusiast

Built a Chrome extension over the last couple days: LeetCode Buddy - an AI study companion that nudges you while solving LeetCode problems instead of solving them for you. A background timer (or a manual "help me now") reads your current code straight out of LeetCode's Monaco editor and sends it to Groq's API for a hint. It starts as a conceptual nudge, escalates only if your code hasn't changed since the last hint (i.e., you're actually stuck), and caps out at a few lines of pseudocode - never a full solution. Some of the more interesting problems along the way: 1. bridging two isolated JS execution contexts to read a live in-browser code editor. 2. keeping a timer alive inside a Manifest V3 service worker that Chrome aggressively kills when idle. 3. handling third-party API rate limits with exponential backoff. Code's on GitHub: https://lnkd.in/g9Uwu44i Please star it if you liked this, and contribute (read the "known limitations" in the Readme or find a new bug/suggest a new feature)! #chromeextension #webdev #buildinpublic

Post content

Video Content