Anchorify + Aider
Aider keeps a per-project chat transcript at
.aider.chat.history.md. Sharing that transcript with a teammate
or a client usually means a gist. With Anchorify you publish
it as a stable URL in one command — no gist account, no copy-paste.
One-off publish
After an Aider session:
anchorify .aider.chat.history.md
You get a public URL on stdout. Re-running the same command after the next session updates the same share (Anchorify resolves the file → slug mapping locally), so the URL stays valid across follow-up sessions.
Auto-publish on session end
Aider supports lifecycle hooks via shell wrappers. Wrap aider
with a small alias that publishes when the session exits:
# ~/.zshrc or ~/.bashrc
aider() {
command aider "$@"
if [[ -f .aider.chat.history.md ]]; then
url=$(anchorify .aider.chat.history.md 2>/dev/null)
[[ -n "$url" ]] && echo "↗ aider transcript: $url"
fi
}
The CLI prints only the URL on success (one line, no decoration),
so you can pipe it to pbcopy / xclip if you'd rather it land
on your clipboard automatically.
Access
New shares default to --access comment --no-index: reachable by
anyone you send the URL to, but never listed or search-indexed. To make
a transcript public and discoverable, add --index:
anchorify .aider.chat.history.md --index
For team-internal transcripts that should require sign-in, use
--access restricted — anyone outside your org gets a 404 instead of
the content. See Access and passwords for the full
ladder.
Install
npm i -g anchorify-cli
anchorify login
Then create an API token at
https://anchorify.io/dashboard and paste it into the
login prompt. The token persists in
~/.config/anchorify/auth.json (mode 600).