CodeTeleport
Claude Code session sync · MCP server + CLI
- TypeScript
- Hono
- Cloudflare Workers
- Cloudflare R2
- Turso/libsql
- Drizzle ORM
- Next.js
- Polar
- npm
A SaaS product I built because I needed it myself. I use Claude Code across two machines — a Mac Mini and my primary laptop — and kept losing conversation context every time I switched.
CodeTeleport bundles Claude Code sessions (conversation logs, file history, subagent logs, shell snapshots) into portable archives and syncs them between machines.
Two-pass path rewriting
When you push a session from Machine A (/Users/alice/projects/myapp) and pull on Machine B (/Users/bob/code/myapp), every file path in the conversation history must be rewritten. This happens in two passes: first the user directory path, then the project directory path. This handles edge cases like paths containing the username as a substring and encoded paths in JSONL files.
Session versioning
Every push creates a new version. You can roll back to an earlier point in a conversation if things went sideways.
Architecture
API: Hono on Cloudflare Workers — handles metadata, auth, and presigned URL generation. Storage: Cloudflare R2 — session bundles upload/download directly via presigned URLs, bypassing Workers entirely. Database: Turso (libsql) — users, API tokens, devices, sessions, tags. Auth: API token-based (SHA-256 hashed, ctk_live_ prefix). Billing: Polar (merchant of record) — Free tier: 25 sessions, 3 devices. Paid: $5/quarter or $15/year. Dashboard: Next.js on Vercel.
MCP tools
teleport_push, teleport_pull, teleport_list, teleport_status, teleport_delete — users add to Claude Code via claude mcp add.
Live at codeteleport.com.