Skip to main content

A browser giving a thumbs-up from inside a server

rembro: remote browser

rembro opens a web browser that uses the networking of another host, container, sandbox, or VM.

Run with the --debug flag, and let your agent drive the browser via playwright.

rembro runs on Linux, macOS and Windows. Its targets run Linux.

rembro                                           # a tab for each dev server on this Linux machine
rembro ssh:devbox                                # a tab for each dev server on devbox
rembro docker:shop-web-1 http://api:8000         # a Compose service, by its name
rembro k8s:shop/api-7d9f http://orders.shop.svc  # a cluster service, no kubectl port-forward
rembro ssh:bastion http://10.0.4.12:3000         # an address only the bastion can reach
rembro ssh:bastion,ssh:box,docker:web            # a container on a host behind the bastion
rembro --remote ssh:devbox                       # run the browser on devbox, show its window here
rembro --debug sbx:myapp                         # let an AI agent in the sandbox drive the browser
rembro --debug --headless sbx:myapp              # the same, with no browser window
rembro --debug localhost:5173                    # let an AI agent on this machine drive the browser
rembro --profile work ssh:bastion                # keep this browser's logins for next time
rembro --fork system ssh:bastion                 # start from a copy of your own browser's logins
rembro run ssh:devbox gimp                       # any GUI program, window shown here
rembro install docker:shop-web-1 firefox         # put a browser in the container for --remote

Use cases

  • Preview a web app running on a remote dev box, in a dev container or in a Docker sandbox, without ssh -L or docker run -p.
  • Open a Kubernetes service, an admin UI or a metrics dashboard without kubectl port-forward, using cluster DNS names.
  • Reach internal sites and private IPs that only a bastion host or VPN gateway can see, without setting up an ssh -D SOCKS proxy by hand.
  • Let an AI coding agent in a sandbox drive a real browser with Playwright or Puppeteer over CDP or WebDriver BiDi, while you watch or with no window at all.
  • Run graphical Linux programs on a server, in a container or in a VM, and see their windows on your desktop, with sound.

Install

curl -fsSL https://raw.githubusercontent.com/ScriptSmith/rembro/main/install.sh | sh

npx @scriptsmith/rembro and uvx rembro run it from npm and PyPI without installing it, and npm install -g @scriptsmith/rembro, uv tool install rembro and pipx install rembro install it from there. These packages include the Linux builds that rembro copies into targets, so the only file rembro downloads on first use is waypipe, when it needs it (details).

You can also download rembro from the latest release.

Too big or complicated for your liking? Get most of the functionality with a 100 line bash script.

Where the browser runs

  • On this machine, by default. rembro points the browser at a SOCKS5 proxy on this machine's loopback, and the target makes every connection for it, DNS lookups included. You keep your own browser, fonts, GPU and window manager, with a profile of its own for each session.
  • In the target, with --remote. Its window comes to this desktop through waypipe on Wayland or through a forwarded X11 connection, and its sound plays here.

Targets

Target What it is
local this machine, on Linux, and the default
ssh:[USER@]HOST[:PORT] a host or VM reached with ssh, using your ssh config
docker:NAME, podman:NAME, nerdctl:NAME a running container
apple-container:NAME a container run by Apple's container tool
sbx:SANDBOX a Docker sbx sandbox
k8s:[NAMESPACE/]POD[/CONTAINER] a pod in kubectl's current context
incus:INSTANCE, lxc:INSTANCE an Incus or LXD instance
wsl:DISTRO a WSL distribution
exec:COMMAND any command that runs its arguments in the target, such as exec:'docker compose exec -T web'
TARGET,TARGET... a target inside the one before it, such as ssh:bastion,ssh:box,sbx:dev,docker:web

Getting started

Start a dev server in the target and run rembro TARGET, or rembro with no target for a dev server on this machine. With no URL, rembro opens a tab for each HTTP server listening on the target's loopback, and more tabs as new servers start. Give URLs to open particular pages instead.

rembro picks the first browser it finds, starting with Chromium and its forks and then Firefox. Use -b firefox (or set REMBRO_BROWSER) to choose. It never uses your regular browser profile unless you ask: each session gets a new profile that is deleted when the browser exits, --profile NAME keeps one for next time, --fork NAME starts from a copy of one, and --fork system starts from a copy of your regular one (details).

For --remote, the target needs a browser of its own. rembro install TARGET installs Chromium there, and rembro install TARGET firefox installs Firefox.

Programs in the target can open pages in rembro's browser through BROWSER and an xdg-open wrapper, so OAuth flows use the target's network (details).

rembro --help lists every option, target type and example. rembro run --help and rembro install --help cover the subcommands.

Security

  • With --debug and the browser on this machine, a program in the target can read your local files and the profile's cookies, so use --remote --debug for a target you don't trust (details).
  • --x11-trusted gives the target the same access to your X11 display that ssh -Y does, and so does an X server that can't make untrusted connections (details).
  • --remote and rembro run forward this machine's sound server, which programs in the target can record from; --no-audio turns it off (details).
  • --trust-target-ca lets the target read that profile's HTTPS traffic (details).
  • On macOS and Windows, rembro can't tell which user connects to its SOCKS server, so other users of this machine can reach the target through it while rembro runs (details).

Documentation

  • docs/install.md: the install script, release archives for Linux, macOS and Windows, and Cargo.
  • docs/usage.md: targets, containers and VMs, browsers, profiles, opening pages, --debug, rembro run, rembro install, displays on macOS and Windows, and every option.
  • docs/how-it-works.md: the agent, its transport, other architectures, networking, display and sound forwarding, reconnects, and building rembro.
  • docs/security.md: what the target can see and do, debugging, X11, sound, CA trust and the local SOCKS server.
  • docs/bash.md: rembro.sh, the core of rembro in a bash script, how it works, and what it leaves out.

License

rembro is MIT or Apache-2.0, at your option. The waypipe builds in its releases are GPL-3.0-or-later; licenses/waypipe-NOTICE.md in each release archive describes them, and waypipe-source.tar.gz in each release is their source.

Metadata

Release files for rembro 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for rembro 0.4.1
File Interpreter ABI Platform Actions
rembro-0.4.1-py3-none-any.whl Python 3 none any Details for rembro-0.4.1-py3-none-any.whl

Release files / rembro-0.4.1-py3-none-any.whl

Download URL rembro-0.4.1-py3-none-any.whl
Size 4.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c64f534a45822c9b3572393426a11f0d9f35ba94bf11ca34479576e538d9df5e
BLAKE2b-256 checksum
How to use checksums
5ccc121fa0ad43079800f88930bf29807907b53fff0eda1cd98aae4f34cd690c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Security for rembro 0.4.1

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for rembro-0.4.1-py3-none-any.whl

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 Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page