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.18.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.18-py3-none-any.whl (7.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rbrowser-0.1.18.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.18.tar.gz
Algorithm Hash digest
SHA256 c4b340e1718858e903b20aa9317d54109b6c29422bf5fecc9d15b3e7d2e681a4
MD5 a90167eae215e84aacafa22d1c2c6b51
BLAKE2b-256 2fdf4f49197ab8fe4313124777df950b937701c85f643c7c6ffe13ebf64c230b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbrowser-0.1.18.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.18-py3-none-any.whl.

File metadata

  • Download URL: rbrowser-0.1.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 86aab1932ce87dd14ba6ce5a4d6e0cc7a2a5907372b285d5ea3fc3d374802eb5
MD5 da4e8e15ccc26e3054403967283d217d
BLAKE2b-256 579a25de80fb58a64ef83d2bdc56453c46dd69827ecc7358cb640642a70fd4d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbrowser-0.1.18-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