Launch RBrowser with a local or remote (SSH) directory as a file server
Project description
RBrowser CLI
Launch RBrowser with a local or remote (SSH) directory
as a file server backend. The frontend UI is bundled inside the wheel —
one pip install and you're ready to go (no Node.js, no extra build step).
Install
pip install rbrowser-cli
Usage
# Open current directory (UI served from http://localhost:<port>)
rbrowser open .
# Open a specific directory
rbrowser open /data/myproject
# Open a remote SSH directory (requires ssh-agent or key auth)
rbrowser open user@host:/data/myproject
# Use a custom port
rbrowser open . --port 8888
# Override the bundled UI with a hosted RBrowser
rbrowser open . --frontend https://rbrowser.org
The CLI prints (and auto-opens) a URL like
http://localhost:<port>/#/main?fileServerUrl=..., which jumps the user
directly to the Main view's File Explorer panel — no home-page detour.
When run on a remote SSH host, the URL is printed as a Ctrl+Click hyperlink so you can open it from your local terminal.
Maintainer notes (release flow)
End users do not need to do this. To produce a wheel that ships the UI:
# One-shot: install JS deps, build frontend, build sdist + wheel
node rbrowser-cli/scripts/build_release.mjs
# Skip the npm install (faster local iterations)
node rbrowser-cli/scripts/build_release.mjs --skip-install
# Or via npm:
npm run release:cli # full pipeline
npm run build:cli-wheel # skip-install variant
# Output is in rbrowser-cli/dist/ (sdist + wheel)
Publishing to PyPI via GitHub Actions
The workflow .github/workflows/publish-rbrowser-cli.yml
publishes a release to PyPI using Trusted Publishing (OIDC — no API
token in repo secrets). To set it up once:
- On https://pypi.org/manage/account/publishing/, add a pending publisher:
- PyPI project name:
rbrowser-cli - Owner:
typekey· Repository:rna-browser - Workflow:
publish-rbrowser-cli.yml - Environment:
pypi
- PyPI project name:
- In the GitHub repo Settings → Environments, create an environment named
pypi(optionally with a required reviewer).
Then to release:
# One-liner: bump patch version, build, commit, tag, push.
# (PyPI is published automatically by the GitHub Action.)
npm run release:cli:patch # 0.1.0 -> 0.1.1
npm run release:cli:minor # 0.1.0 -> 0.2.0
npm run release:cli:major # 0.1.0 -> 1.0.0
# Or pick an explicit version (and add --push when ready):
node rbrowser-cli/scripts/release.mjs 0.2.3 --push
# Dry-run / inspect first; create the tag locally without pushing:
node rbrowser-cli/scripts/release.mjs patch # local tag only
node rbrowser-cli/scripts/release.mjs patch --dry-run # print, don't mutate
What release.mjs does:
- Resolves the new version (explicit or
patch/minor/majorbump). - Verifies the working tree is clean and on
main(override with--allow-dirty/--branch=…). - Rewrites
pyproject.toml's version. - Runs the full local build (skip with
--no-build) so you can spot any issue before the tag is pushed. - Commits, creates the annotated tag
rbrowser-cli-vX.Y.Z, and (with--push) pushes both toorigin— which fires the publish workflow.
Manual fallback (no script):
# Update version in rbrowser-cli/pyproject.toml first.
git commit -am "chore(rbrowser-cli): release v0.1.1"
git tag rbrowser-cli-v0.1.1
git push origin main rbrowser-cli-v0.1.1
pyproject.toml already declares frontend/**/* as package-data, so the
built UI is included in the wheel automatically.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rbrowser-0.1.10.tar.gz.
File metadata
- Download URL: rbrowser-0.1.10.tar.gz
- Upload date:
- Size: 25.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29f3c98ca46b441b69ecc47439e3ef2e03b8ce443cf4a9bcdb7319a3582991de
|
|
| MD5 |
97ae39fbd32d4128ca6c5288abb1c549
|
|
| BLAKE2b-256 |
0875468927deb836e011ff148700d15e105c2fdf17b7ef383148f232b07c3d2a
|
Provenance
The following attestation bundles were made for rbrowser-0.1.10.tar.gz:
Publisher:
publish-rbrowser-cli.yml on typekey/rna-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rbrowser-0.1.10.tar.gz -
Subject digest:
29f3c98ca46b441b69ecc47439e3ef2e03b8ce443cf4a9bcdb7319a3582991de - Sigstore transparency entry: 1396208793
- Sigstore integration time:
-
Permalink:
typekey/rna-browser@ae6c6d869e1b8a925c19ea37bb9e745615f5fa4d -
Branch / Tag:
refs/tags/rbrowser-cli-v0.1.10 - Owner: https://github.com/typekey
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-rbrowser-cli.yml@ae6c6d869e1b8a925c19ea37bb9e745615f5fa4d -
Trigger Event:
push
-
Statement type:
File details
Details for the file rbrowser-0.1.10-py3-none-any.whl.
File metadata
- Download URL: rbrowser-0.1.10-py3-none-any.whl
- Upload date:
- Size: 25.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bb9b032b600bb1153e967d0d3b5adde0a5c08f5bb50b8f1553e06dd94d089d7
|
|
| MD5 |
44685d614d424c0363015539fc78ede6
|
|
| BLAKE2b-256 |
d50ad24698b83eeb8b928fb0aec64bc10abef2f6b4ff33a23cae10885060e9f6
|
Provenance
The following attestation bundles were made for rbrowser-0.1.10-py3-none-any.whl:
Publisher:
publish-rbrowser-cli.yml on typekey/rna-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rbrowser-0.1.10-py3-none-any.whl -
Subject digest:
0bb9b032b600bb1153e967d0d3b5adde0a5c08f5bb50b8f1553e06dd94d089d7 - Sigstore transparency entry: 1396208794
- Sigstore integration time:
-
Permalink:
typekey/rna-browser@ae6c6d869e1b8a925c19ea37bb9e745615f5fa4d -
Branch / Tag:
refs/tags/rbrowser-cli-v0.1.10 - Owner: https://github.com/typekey
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-rbrowser-cli.yml@ae6c6d869e1b8a925c19ea37bb9e745615f5fa4d -
Trigger Event:
push
-
Statement type: