Settings

Theme

Show HN: Back up Claude Code sessions from Codespaces to a private repo

github.com

2 points by markmatsushima 13 days ago · 0 comments · 1 min read

Reader

I prefer to run Claude Code in GitHub Codespaces rather than on my local machine, but there is one problem: Claude Code logs disappear when the remote Codespace is deleted or rebuilt.

Logkeeper saves a human-readable conversation log and an age-encrypted copy of the full JSONL to a designated private repository whenever a Claude Code session stops.

After creating the private repository, adding the required Codespaces secrets, and adding a small set of hook and configuration files to the project, the backups run automatically.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection