AI chat → PDF · Local

A local alternative to GitHub gists for chat snippets you should not paste into a public pastebin

An alternative to GitHub gists for chat snippets is a local clip of the code or answer, stored as Markdown or PDF you control.

Also on Microsoft Edge Add-ons

A gist is a convenient paste, and it is also a document that can be public, copied, and indexed. An alternative to GitHub gists for chat snippets is to clip the useful code or explanation into a local Markdown or PDF file when the snippet should not live on a paste service—especially if it came from a work chat or includes a hint of an internal API.

This is not a GitHub-issue clip how-to, and not a claim that Excerpt replaces git or a real repo. The job is the habit of pasting ChatGPT or Copilot snippets into a gist 'so I can find them later.' The capture path is the save AI chat workflow for what is actually visible on the page.

An alternative to GitHub gists for chat snippets that should stay local

  • What a gist gets right: it is quick to share, it has a URL, and it can be fine for a truly public, non-sensitive snippet you meant to publish.
  • What it gets wrong for keepers: default visibility is easy to get wrong, history is on GitHub’s servers, and a 'secret' gist is still a URL you can leak.
  • What a local clip does instead: you select the snippet in the chat, export Markdown or PDF, and search a library on this computer, without creating a paste URL.
  • When a gist is still right: you intentionally publish a public snippet, or your team already uses gists under a policy you understand. Then paste a cleaned snippet, not a raw chat with secrets.

How to change the habit

  1. If you were about to create a gist just so you can find the snippet later, clip it locally and tag it with the project instead.
  2. If you must share, export a cleaned Markdown or PDF and send that on purpose, or put the code in the official repo.
  3. Never gist a snippet that still contains tokens, internal hostnames, or customer data.
  4. If you already published a gist that was too private, change its visibility or delete it, and rotate anything that leaked.

Honest limits

  • Excerpt is not a git host and will not version a snippet like a repo or a gist.
  • If the official home should be a repository, put the cleaned code there, and use the clipping as a working copy only.
  • This page will not help you hide a secret in a 'secret' gist; if a secret was in the chat, rotate it.

The capture tool behind this workflow is Excerpt, a Chrome and Edge extension. You multi-select messages or a webpage selection, export PDF or Markdown, and search the results later in a local IndexedDB library. The free tier is 100 clippings and 5 tags. Pro costs $29 once and unlocks unlimited clippings plus a backup you import or export as a file. Excerpt does not offer cloud sync or an AI summarizer as a shipped feature, and it does not require an account.

A gist is a publication unless you are very sure it is not. A local clipping is a file. Use publication when you mean to publish, and a local library when you only wanted a memory aid. Official code still belongs in a repository with review, not in a pile of pastes or a pile of PDFs.

The Chrome listing is Excerpt for Chrome; the Edge listing is Excerpt for Edge. Install it in the browser profile you actually work in, because the library stays with that profile.

FAQ

Can Excerpt publish a gist for me?

No. It stores a local file. Publication stays a decision you make in GitHub or in a repo, on purpose.

Is a secret gist a good archive of work chats?

Usually no. Secret gists still live on GitHub and can leak by URL. Prefer a local clip or an official repo for work snippets.

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.