Parley is a Chrome extension that exports Discord conversations from discord.com so you can save them as files or paste a transcript into ChatGPT for advice—without retyping who said what.
Works in Chrome, Edge, or Brave on discord.com only. The Discord desktop app cannot run browser extensions.
- Export the current chat (DM, group DM, or server channel) you have open in the browser tab
- Choose how much history to pull: last N messages, a date range, or all messages in that chat
- Save as Markdown, CSV, HTML, and/or PDF
- Optionally include or exclude images (photos, GIFs, stickers)
- Send to ChatGPT: export, open a new ChatGPT chat, and paste the transcript (nothing is auto-sent—you add your question)
Parley is read-only. It does not send, edit, or delete Discord messages.
git clone https://github.com/RealBhupesh/parley.git
cd parley
npm install
npm run buildOptional checks:
npm testThe loadable extension is in the dist/ folder after npm run build.
- Open
chrome://extensions - Turn on Developer mode (top right)
- Click Load unpacked
- Select the
distfolder inside the project (not the repo root)
Pin Parley from the extensions menu if you want quick access.
- Open discord.com and log in
- Open a DM or text channel
- Click the Parley icon
If the popup says to reload Discord, click Reload once so the exporter can attach to that tab.
Navigate to the conversation you want in Discord in the same browser tab you use for export:
- Direct message:
discord.com→ open the DM - Server channel: open the channel (or thread) you care about
The popup shows Name, Type, and Server (when applicable) for that tab.
Under Range, pick one mode:
| Mode | Use when |
|---|---|
| Last N | You only need recent context (e.g. last 50–1000 messages). Use presets or type a number (max 5,000 per export). |
| Dates | You want messages between a From and To datetime (your local timezone in the picker). |
| All | You want the full history of this chat. Can take a while on long DMs; you can Cancel during fetch. Stops at 100,000 messages as a safety cap. |
All shows a confirmation before export starts.
Include images (on by default):
- On: Photos, GIFs, and stickers appear in the export (links in MD/CSV/PDF;
<img>in HTML). - Off: Image attachments, stickers, and image-only embeds are omitted. PDFs, text files, and other non-image attachments stay.
Your choice is remembered for next time.
Select one or more:
- Markdown — Best for ChatGPT and note apps
- CSV — Spreadsheets (timestamp, author, content, attachments, etc.)
- HTML — Readable standalone page
- PDF — Printable / shareable document
Export
- Builds the files and triggers a download (browser may ask where to save).
- For All, confirm in the dialog first.
Send to ChatGPT
- Confirms that OpenAI will see the exported messages (including friends’ text).
- Exports using your selected formats (Markdown is always included for ChatGPT).
- Opens chatgpt.com in a new tab.
- Pastes a short preamble plus the transcript into the composer.
- Does not press Send — you type your question (e.g. “What should I reply?”) and send yourself.
If the transcript is very large (~100k+ characters), Parley may ask you to attach the downloaded .md file in ChatGPT instead of pasting.
- Faster exports: Parley pages Discord’s API as fast as rate limits allow (no fixed delay between every page). Very large All exports still take time because Discord returns at most 100 messages per request.
- Full history: Prefer All + API path (normal discord.com tab, logged in). If export falls back to visible messages only, reload the tab and try again.
- ChatGPT + images: Discord CDN links often need a Discord login; ChatGPT may not load images. Turn Include images off for text-only advice.
- Privacy: Data stays on your machine until you Export (files) or Send to ChatGPT (transcript in your ChatGPT session). Parley does not store your Discord token in extension storage.
npm run dev # Vite dev build with CRXJS (reload extension after changes)
npm run build # Production build → dist/
npm test # Unit tests (formatters, URL parsing, etc.)Stack: Manifest V3, TypeScript, React popup, Vite, @crxjs/vite-plugin.
- One chat at a time (the tab you have open)—not a bulk export of every DM on your account
- Browser Discord only (not the desktop app)
- Uses your logged-in session; respect Discord’s terms and your friends’ privacy
- Not published on the Chrome Web Store in this repo; install via Load unpacked as above
See repository license (add a LICENSE file if you intend to open-source formally).



