Skip to content
RealBhupeshPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Parley

Parley — export Discord conversations for files or AI advice

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.


What it does

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

Parley feature overview


Install (developer / unpacked)

1. Clone and build

git clone https://github.com/RealBhupesh/parley.git
cd parley
npm install
npm run build

Optional checks:

npm test

The loadable extension is in the dist/ folder after npm run build.

2. Load in Chrome

  1. Open chrome://extensions
  2. Turn on Developer mode (top right)
  3. Click Load unpacked
  4. Select the dist folder inside the project (not the repo root)

Pin Parley from the extensions menu if you want quick access.

3. First-time Discord tab

  1. Open discord.com and log in
  2. Open a DM or text channel
  3. Click the Parley icon

If the popup says to reload Discord, click Reload once so the exporter can attach to that tab.


How to use

How Parley works

Step 1 — Open the right chat

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.

Step 2 — Choose a range

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.

Step 3 — Media

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.

Step 4 — Formats

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

Step 5 — Export or Send to ChatGPT

Export

  • Builds the files and triggers a download (browser may ask where to save).
  • For All, confirm in the dialog first.

Send to ChatGPT

  1. Confirms that OpenAI will see the exported messages (including friends’ text).
  2. Exports using your selected formats (Markdown is always included for ChatGPT).
  3. Opens chatgpt.com in a new tab.
  4. Pastes a short preamble plus the transcript into the composer.
  5. 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.

Parley workflow from conversation to insight


Tips

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

Development

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.


Limitations

  • 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

License

See repository license (add a LICENSE file if you intend to open-source formally).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages