CLI for uploading and managing sessionbin transcripts.
uv tool install sessionbin
# or
pip install --user sessionbinUpload a specific file:
sessionbin upload ~/.claude/projects/-home-user-repos-myproject/abc123.jsonlOr pick from recent Claude Code sessions interactively:
sessionbin uploadUpload the most recent session directly:
sessionbin upload --latestUse -y to skip the confirmation prompt:
sessionbin upload --latest -ysessionbin listShows locally-tracked uploads (URL, filename, upload time).
sessionbin delete <slug>Deletes the paste on the server and removes the local record.
On first run, you'll be prompted for a server URL (defaults to https://sessionbin.dev). The choice is saved to ~/.config/sessionbin/config.toml.
You can override the server URL per-command:
sessionbin upload --server http://localhost:8000Or via environment variable:
export SESSIONBIN_URL=http://localhost:8000Priority: --server flag > SESSIONBIN_URL env var > config.toml > interactive prompt.
Upload metadata (slugs, delete tokens) is stored in ~/.config/sessionbin/sessions.json with 0600 permissions. This file is local-only — the list command reads from it without contacting the server.