# Chrome Web Store — Listing Copy

Copy/paste these fields into the Chrome Web Store **Developer Dashboard** when
publishing **Rewrite with AI**. Character limits noted in headings are the
store's hard limits.

---

## Product name (≤ 45 chars)

```
Rewrite with AI
```

Alternative (if you want keywords in the name, ≤ 45 chars):

```
Rewrite with AI — ChatGPT rewriter
```

---

## Category

```
Productivity
```

(Secondary, if asked: *Workflow & Planning*)

## Language

```
English (United States)
```

---

## Summary / short description (≤ 132 chars)

```
Highlight any text, right-click, and rewrite it with ChatGPT — better, shorter, longer, pro, or casual. Plus inline autocomplete.
```

(127 chars — under the 132 limit.)

---

## Detailed description (≤ 16,000 chars)

```
Rewrite with AI lets you improve any text on the web without copy-pasting into another tab. Highlight what you wrote, right-click, and pick a style — the rewrite drops straight back into the box.

★ WHAT IT DOES
Select text in an email, a form, a doc, a comment box, anywhere — then right-click → Rewrite with AI and choose:
• Summarize this
• Rewrite this better
• Rewrite this professionally
• Rewrite this casual
• Shorten this text
• Extend this text

The result replaces your selection in place — in inputs, textareas, and rich editors like Gmail and other contenteditable fields. If there's nothing editable to replace (read-only text, or the whole page), the result appears in a clean popup with a Copy button instead.

No selection? Right-click anywhere and the action runs on the whole page's text — great for "Summarize this." A small spinner shows progress while it works.

★ INLINE AUTOCOMPLETE
While typing in any text box, pull an AI suggestion inline:
• ///your hint/// — wrap a hint in triple slashes to suggest the next sentence or paragraph.
• //// — four slashes continues your writing using the text before and after the cursor, no hint needed.
• ////your instruction//// — wrap a custom instruction in four slashes, e.g. "////translate the paragraph above to English////" or "////turn this into a bullet list////".

A popup appears near your cursor — press Tab to insert, Esc to dismiss. Toggle it on or off anytime.

★ TWO WAYS TO REACH CHATGPT — YOUR CHOICE
1) API key mode — paste your own OpenAI API key. Calls the official OpenAI API directly. Stable and fast; billed to your own OpenAI account.
2) ChatGPT tab mode — no key needed. It drives a real chatgpt.com tab in your own browser session. Free, uses the live site.

Pick the mode in the popup and you're set. API mode is the snappiest, especially for inline autocomplete.

★ PRIVACY
• Your API key and settings are stored only in your browser, via Chrome storage.
• In API mode, your text is sent only to OpenAI's API to produce the rewrite.
• In ChatGPT tab mode, your text goes to chatgpt.com through your own logged-in session.
• The extension has no server of its own and collects no analytics.

★ GOOD TO KNOW
• Works on most pages. It can't run on restricted pages like chrome:// or the Chrome Web Store itself.
• ChatGPT tab mode automates the live site through your own session; it is not an official ChatGPT interface and depends on ChatGPT's current UI. Please respect OpenAI's Terms of Service.

Make every sentence you type a little better — without leaving the page.
```

---

## Single purpose (privacy tab, required)

```
Rewrite with AI rewrites or generates text that the user selects or types in a web page, using ChatGPT/OpenAI, and inserts the result back into the page.
```

---

## Permission justifications (privacy tab, required per permission)

**contextMenus**
```
Adds the "Rewrite with AI" right-click menu and its style sub-items (Summarize, Better, Professional, Casual, Shorter, Longer) so the user can trigger a rewrite on selected text.
```

**storage**
```
Stores the user's chosen mode, settings, and (in API mode) their OpenAI API key locally in the browser so they don't have to re-enter them each time. Nothing is stored on a remote server.
```

**scripting**
```
Injects the content script that snapshots the user's selection and swaps the rewritten text back into the page when the page didn't already have the script loaded (e.g. right after install).
```

**tabs**
```
In ChatGPT tab mode, the extension needs to find or open a chatgpt.com tab and send the prompt to it, then read the reply back. Used only to locate/drive that tab.
```

**activeTab**
```
Lets the extension act on the page the user is currently on when they invoke a rewrite from the right-click menu or toolbar icon.
```

**host_permissions: http://*/* and https://*/***
```
The rewrite feature must work on any site where the user writes text (email, docs, forms, social, support tools), so the content script needs to run across sites. Network requests go only to the OpenAI API (API mode) or chatgpt.com (ChatGPT tab mode).
```

---

## Data usage disclosures (privacy tab checkboxes)

Declare that the extension handles:
- **Personally identifiable information** — only if the user's text contains it. The text the user chooses to rewrite is transmitted to OpenAI / chatgpt.com.
- **Authentication information** — the user's OpenAI API key (stored locally, sent only to OpenAI).
- **Website content** — the selected/typed text the user asks to rewrite.

Certify all three:
- [x] I do not sell or transfer user data to third parties, outside of the approved use cases
- [x] I do not use or transfer user data for purposes unrelated to my item's single purpose
- [x] I do not use or transfer user data to determine creditworthiness or for lending purposes

> Note: "third parties" above does not include OpenAI — sending the user's text
> to OpenAI/ChatGPT is the item's core, disclosed single purpose.

---

## Privacy policy URL (required because the item handles user data)

Host `PRIVACY.md` (in this folder) somewhere public — e.g. a GitHub repo, GitHub
Pages, or a Gist — and paste that URL here. Example:

```
https://<your-username>.github.io/rewrite-with-ai/PRIVACY.html
```

---

## Support / homepage URL (optional but recommended)

```
https://github.com/<your-username>/rewrite-with-ai
```
