-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
50 lines (39 loc) · 1.64 KB
/
Copy pathpopup.html
File metadata and controls
50 lines (39 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>LeetCode Analyzer Settings</title>
<link rel="stylesheet" href="popup.css" />
</head>
<body>
<header>
<div class="logo-dot"></div>
<h1>LeetCode Analyzer</h1>
</header>
<p class="subtitle">Powered by your own free Groq API key.</p>
<label for="apiKey">Groq API key</label>
<input type="password" id="apiKey" placeholder="gsk_..." autocomplete="off" />
<label for="model">Model</label>
<select id="model">
<!-- High Reasoning / Best for Complex Code Analysis -->
<option value="llama-3.3-70b-versatile">Llama 3.3 70B (Recommended for Analysis)</option>
<!-- Fast & Lightweight (Good for short snippets) -->
<option value="llama-3.1-8b-instant">Llama 3.1 8B (Fastest)</option>
<!-- Current Groq Replacement Models -->
<option value="openai/gpt-oss-120b">GPT-OSS 120B (High Reasoning)</option>
<option value="qwen/qwen3.6-27b">Qwen 3.6 27B (Great for Code & Math)</option>
<option value="custom">Custom Model ID...</option>
</select>
<div id="customModelWrapper" style="display: none; margin-top: 10px;">
<label for="customModel">Custom Model ID</label>
<input type="text" id="customModel" placeholder="e.g., mixtral-8x7b-32768" autocomplete="off" />
</div>
<button id="save">Save settings</button>
<div id="status"></div>
<a class="get-key-link" href="https://console.groq.com/keys" target="_blank" rel="noopener">
Get a free Groq API key →
</a>
<footer>Open any LeetCode problem, click the "⚡ Analyze" button, and get instant complexity + improvement feedback.</footer>
<script src="popup.js"></script>
</body>
</html>