2 comments

[ 0.98 ms ] story [ 19.6 ms ] thread
I accidentally discovered that Claude Code sessions (stored as JSONL in ~/.claude/projects/) can be resumed across machines if the files are synced. Built a tool around it.

session-roam uses Syncthing to P2P sync Claude Code's session directory across all your machines. Combined with `claude -c` (continue most recent) and `claude -r` (interactive session picker), you can finish work on one machine and pick it up on another.

Key constraint: requires same username and project paths across machines. This is natural for homelabs and multi-workstation setups but won't work if your machines have different usernames or directory structures.

Includes: setup script, .stignore template, 6 shell shortcuts, and an 8-dimension health check script.

Discovered at 2AM during a BIOS flash marathon. The README tells the full story.