ReplyIt helps you quickly draft short, high‑quality replies and understand selected text anywhere on the web.
- Select any text → click “💬 ReplyIt” → choose action: 🔎 Search or 💬 Reply
- Reply: pick an intent → get 2–3 tailored options with tone awareness
- Search: see a concise summary, key bullets, and clickable Sources chips
- Sources: chips open in new tabs; bare domains trigger a site-restricted search for your selection
- Clean, modern UI with glass effect, draggable panels, and copy‑without‑closing
- Robust generation: strict JSON parsing, deduped options, and safe fallbacks
- Open Chrome → go to
chrome://extensions - Enable “Developer mode” (top‑right)
- Click “Load unpacked” and select this project folder
Stored locally via chrome.storage.sync (not in code).
- Get a Groq API key: https://console.groq.com/keys
- Open any page → DevTools Console (F12)
- Run:
chrome.runtime.sendMessage(
{ type: "SET_API_KEY", key: "gsk_..." },
(r) => console.log("ReplyIt API key saved:", r)
);- Select text. A small “💬 ReplyIt” button appears near the selection.
- Click the button to open the action chooser:
- 🔎 Search (Understand):
- Shows summary and up to 3 key bullets.
- Sources chips: click to open specific links; if a chip is just a domain, it opens a Google site:domain search using your selection to reach relevant pages.
- 💬 Reply:
- Choose intent (Confirm, Push Back, Ask Info, Close) and get 2–3 concise suggestions.
- Click a suggestion to copy; panel stays open with “Copied ✓”.
- 🔎 Search (Understand):
- Panels are draggable by their title.
- Insert: In reply panels, use “Insert” to paste at the cursor with undo support in inputs and rich editors.
manifest.json— MV3 config (content script + background service worker)content.js— selection button, mode chooser, search panel, reply panels, insert/copy, draggable UIbackground.js— Groq‑backed classifiers and generators (mode, intent, tone, replies, understand)styles.css— optional extra styles (core UI is injected fromcontent.js)
- Runs on
<all_urls>except restricted Chrome pages. - To limit where it appears, adjust
manifest.jsonmatches or add runtime guards. - Service worker logs:
chrome://extensions→ this extension → “Service worker”. - Content script logs: page DevTools Console.
- No API keys in code; keys live in
chrome.storage.sync. - Keys are only sent to Groq when generating results.
- Options page for key entry and settings (default action, min selection length)
- Per‑site adapters (Gmail/LinkedIn/Outlook/Slack) for richer insertion
- Global shortcut to open ReplyIt and quick insert
MIT