Status: [LIVE] Endpoints found: https://api.groq.com/openai/v1/chat/completions https://api.groq.com/openai/v1/chat https://api.groq.com/openai/v1/chat/completions%27 Source: https://github.com/ayesh-dot/INCA-AI-Summarizer-Bookmarklet # INCA-AI-Summarizer-Bookmarklet ⚔ A browser bookmarklet powered by the Groq API that extracts lesson text, strips reasoning tags, and displays a clean summary modal with formatted math equations. --- ## šŸš€ How to Make a Groq API Key 1. Go to [console.groq.com](https://console.groq.com) and create a free account. 2. Navigate to the **API Keys** section in your dashboard. 3. Click **Create API Key**, copy your key, and save it somewhere secure. (You will enter this the first time you run the bookmarklet). --- ## šŸ“Œ The Bookmarklet Code Create a new bookmark in your browser, name it `⚔ Math Summary`, and paste this code into the URL/Location field: ```javascript javascript:(async function() { let apiKey = localStorage.getItem('GROQ_API_KEY'); if (!apiKey) { apiKey = prompt('Enter your Groq API Key (get one free at console.groq.com):'); if (!apiKey) return; localStorage.setItem('GROQ_API_KEY', apiKey); } let contentEl = document.getElementById('lmuContent'); if (!contentEl) { const frames = document.querySelectorAll('iframe'); for (let frame of frames) { try { const frameDoc = frame.contentDocument || frame.contentWindow.document; contentEl = frameDoc.getElementById('lmuContent'); if (contentEl) break; } catch (e) {} } } const pageText = contentEl ? contentEl.innerText : document.body.innerText; try { const response = await fetch(%27https://api.groq.com/openai/v1/chat/completions%27, { method: %27POST%27, headers: { %27Content-Type%27: %27application/json%27, %27Authorization%27: %27Bearer %27 + apiKey }, body: JSON.stringify({ model: %27qwen/qwen3.6-27b%27, messages: [{ role: %27system%27, content: %27You are a direct, concise tutor. Output ONLY the final summary text. NO internal thoughts, NO planning steps, NO drafts. Format each key point starting with "### " followed by an emoji and title.' }, { role: 'user', content: 'Summarize this text in 3 short points max. Use plain words. Wrap any mathematical formulas (like lim(x->c) f(x) = L or lim(x->c⁻)