How to export a Sourcegraph Cody chat to PDF from a visible Cody thread in the browser
Export a Sourcegraph Cody chat to PDF by clipping visible turns, redacting private code, and leaving official repo history in the repo.
Also on Microsoft Edge Add-ons
Cody chats often quote private repositories, file paths, and sometimes secrets from a codebase. If you export a Sourcegraph Cody chat to PDF, clip only the visible turns you need in a browser surface you can open, redact private code you should not store in a casual library, and leave official history in the repo.
This is not a second GitHub Copilot page, not a Sourcegraph product review, and not a way to dump a private codebase. The job is a visible Cody chat in a web UI you can open in Chrome or Edge. The capture path is the save AI chat workflow for what is actually visible on the page.
Export a Sourcegraph Cody chat to PDF without packing a private repo
- Open the Cody chat in a Chromium browser you are allowed to use (for example a web UI your team provides). Excerpt cannot clip a desktop-only panel that never appears in a tab.
- Select the turns you will keep. Redact file paths, tokens, and customer or employee data that should not live in a personal library. Skip huge pasted dumps of a repo if a short excerpt would do.
- Title the file with the repo or project (if you may name it), the date, and 'Cody snapshot.' Export PDF for a ticket, or Markdown for a short note.
- Official code, reviews, and history stay in the repository and in Sourcegraph. A local PDF is not a repo backup and is not a licensed copy of the entire tree.
Honest limits
- Excerpt cannot clip a Cody panel that never rendered in a browser tab, and it will not export your Sourcegraph instance.
- GitHub Copilot Chat and other in-editor assistants have their own pages when those are the surfaces you can actually open in a tab.
- If policy forbids copying private code into personal tools, stop; this page will not bypass that.
If you want a local file rather than another cloud clipboard, install Excerpt in Chrome or Edge. Multi-select the blocks, export PDF or Markdown, and find them later in the on-device IndexedDB library. Free includes 100 clippings and 5 tags; Pro is $29 one-time for unlimited clippings and backup import/export. Do not expect a log-in, a family sync channel, or a built-in AI summary—those are not shipped features.
The useful clip is a short, redacted explanation you would attach to a ticket. The dangerous clip is a complete private function plus credentials in a personal profile. Prefer official code in the repo, and use the chat snapshot only for the discussion around a change.
Context windows in coding assistants can include more files than you realized. Skim the clip for unexpected paths before you file it. If Cody is running only inside an IDE with no web page, Excerpt will not reach it—use an official export if your team has one, or paste a short, allowed excerpt into a page you can clip. Official reviews stay in the PR, not only in a chat PDF.
Prefer Chrome? Use the official Chrome Web Store listing. Prefer Edge? Use the official Microsoft Edge Add-ons listing. Either way, the searchable library is local to that browser profile.
FAQ
Can Excerpt clip Cody from a desktop IDE if there is no browser tab?
No. It clips text visible in a Chrome or Edge tab. If Cody only lives in the IDE, use an official export or a short, allowed paste into a page you can clip.
How is this different from GitHub Copilot Chat?
They are different assistant products. Use the Copilot page for that UI; use this page when the visible surface is Cody.
Related guides
Install Excerpt and save your next clip as a clean PDF
Free: up to 100 clippings and 5 tags. Pro is $29 one-time for unlimited + library backup import/export.