Repository

markmatsu/claude-logkeeper

claude-logkeeper

Auto-save Claude Code sessions to a private GitHub repo. Plaintext transcripts for reading, age-encrypted jsonl for full restore.

1star

Open github.com

markmatsu/claude-logkeeper

claude-logkeeper

Auto-saves Claude Code sessions to a private GitHub repository with plaintext transcripts and age-encrypted full logs.

Visit project

Show me a random project

First shared
Jul 21, 2026
HN activity
20

Show HN@markmatsushimaJul 21, 2026

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

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.

Community

Hacker News discussion

Loading the thread…