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

markmatsushima1 pts0 comments

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.

claude code codespaces private repository adding

Related Articles