Skip to main content

Launch RBrowser with a local or remote (SSH) directory as a file server

Project description

Command-line tool for serving local or SSH-accessible data folders and opening them in RBrowser. The frontend UI is bundled inside the wheel — one pip install, no Node.js required.

Install

pip install rbrowser
rbrowser open .
rbrowser open user@server:/data/projects

Usage

rbrowser open <path> [options]

Arguments:
  path                       local directory or user@host:/remote/path

Options:
  -p, --port <port>          port to bind (default: random free port)
  --frontend <url>           RBrowser frontend URL, or "bundled". Default: bundled.
  --host <addr>              bind address for the file server (default: 0.0.0.0)
  --public                   force the printed URL to use this machine's LAN/public hostname
  --localhost                force the printed URL to use 'localhost' (for ssh -L tunneling)
  --token <token>            auth token (default: random). Use --no-token to disable auth.
  --no-token                 disable token authentication (NOT recommended on shared hosts)
  --help                     show help

Examples

# Local
rbrowser open .
rbrowser open ~/projects

# Remote (uses your local ssh client + ~/.ssh/config)
rbrowser open me@gpu-box:/data/exp42

# In a tmux/ssh session, force LAN URL so you can paste it in your laptop browser
rbrowser open . --public

# Use a tunnel (ssh -L 8765:localhost:8765) and pin the printed URL to localhost
rbrowser open . --localhost --port 8765

# Disable auth (only inside trusted networks!)
rbrowser open . --no-token

Requirements

  • Python >= 3.8
  • For remote paths: ssh available on PATH and key-based auth set up to the target host. Remote shell must support standard POSIX cd, stat, dd, cat, mkdir, mv, rm, touch.

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

rbrowser-0.1.16.tar.gz (6.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbrowser-0.1.16-py3-none-any.whl (7.0 MB view details)

Uploaded Python 3

File details

Details for the file rbrowser-0.1.16.tar.gz.

File metadata

  • Download URL: rbrowser-0.1.16.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rbrowser-0.1.16.tar.gz
Algorithm Hash digest
SHA256 59f9f1df8457ea5b9d49304161eb5555d0a960d006b4dd67469ae57af953952b
MD5 d76347b7da6ded7ccbd84fb031a04c7d
BLAKE2b-256 6b86221a46a42b95b86190c096b72a20ef3648dc53549b9f112b0e40f9428ae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbrowser-0.1.16.tar.gz:

Publisher: publish-rbrowser-cli.yml on typekey/rna-browser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rbrowser-0.1.16-py3-none-any.whl.

File metadata

  • Download URL: rbrowser-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rbrowser-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b39a6cb2ed453acc7d78c3572856a0086fffe233768b922240e184f91f3afaf2
MD5 f58720e7a8cd832305defc2a9e93d4b2
BLAKE2b-256 69bf5d873ebb37b884a9ff7c7b029a09dd17bcd5abcfd5d5729d2143798a9981

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbrowser-0.1.16-py3-none-any.whl:

Publisher: publish-rbrowser-cli.yml on typekey/rna-browser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page