Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReplyIt — Smart replies and quick understanding (Chrome MV3)

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

Install (Load Unpacked)

  1. Open Chrome → go to chrome://extensions
  2. Enable “Developer mode” (top‑right)
  3. Click “Load unpacked” and select this project folder

Set your Groq API key

Stored locally via chrome.storage.sync (not in code).

  1. Get a Groq API key: https://console.groq.com/keys
  2. Open any page → DevTools Console (F12)
  3. Run:
chrome.runtime.sendMessage(
  { type: "SET_API_KEY", key: "gsk_..." },
  (r) => console.log("ReplyIt API key saved:", r)
);

Usage

  • 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 ✓”.
  • 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.

Files

  • manifest.json — MV3 config (content script + background service worker)
  • content.js — selection button, mode chooser, search panel, reply panels, insert/copy, draggable UI
  • background.js — Groq‑backed classifiers and generators (mode, intent, tone, replies, understand)
  • styles.css — optional extra styles (core UI is injected from content.js)

Notes & scope

  • Runs on <all_urls> except restricted Chrome pages.
  • To limit where it appears, adjust manifest.json matches or add runtime guards.
  • Service worker logs: chrome://extensions → this extension → “Service worker”.
  • Content script logs: page DevTools Console.

Security

  • No API keys in code; keys live in chrome.storage.sync.
  • Keys are only sent to Groq when generating results.

Roadmap

  • 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

License

MIT

About

Reply faster. Understand quicker. ReplyIt helps you quickly draft short, high‑quality replies and understand selected text anywhere on the web.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages