sessionbin CLI
CLI for uploading and managing sessionbin transcripts.
Supported harnesses
Claude Code sessions are read as files from ~/.claude/projects/.
OpenCode sessions live in a local SQLite database rather than as files, so uploading
one shells out to opencode export. The opencode binary must be on your PATH (or at
~/.opencode/bin/opencode).
Installation
uv tool install sessionbin
# or
pip install --user sessionbin
Usage
Upload a session
Upload a specific file:
sessionbin upload ~/.claude/projects/-home-user-repos-myproject/abc123.jsonl
Or pick from recent sessions interactively (Claude Code and OpenCode):
sessionbin upload
Upload the most recent session directly:
sessionbin upload --latest
Use -y to skip the confirmation prompt:
sessionbin upload --latest -y
List uploads
sessionbin list
Shows locally-tracked uploads (URL, filename, upload time).
Delete an upload
sessionbin delete <slug>
Deletes the paste on the server and removes the local record.
Configuration
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:8000
Or via environment variable:
export SESSIONBIN_URL=http://localhost:8000
Priority: --server flag > SESSIONBIN_URL env var > config.toml > interactive prompt.
Session data
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.
Metadata
Release files for sessionbin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sessionbin-0.2.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sessionbin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / sessionbin-0.2.0.tar.gz
| Download URL | sessionbin-0.2.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0249ca3bcdae3676ec22b494f06c5e990b1194afcb53e73046e14f2733e9bb97
|
|
BLAKE2b-256 checksum How to use checksums |
d4ab6aa28ea39b6833aa4baa800c52f86084dd86cad22cbcaed0eb9d41019926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency logRelease files / sessionbin-0.2.0-py3-none-any.whl
| Download URL | sessionbin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d3aa85cba55faf7f42a70fda6697259d25f97f576120ccf84737c633051fc5a
|
|
BLAKE2b-256 checksum How to use checksums |
9800ee367ead4cfb147994f91192ef21343b2b45ba1365a96107c29e404c70f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.
Transparency log