Skip to main content

Tailscale private web sharing

A first-party adapter for the installed Tailscale client. It keeps the web app's bearer/device authentication and loopback listener; tailnet membership does not grant access to the backend owner's operations or terminal.

Install the released plugin from Discover Plugins, or run hz system plugin add tailscale --confirm. The core PyPI package does not bundle this separate plugin distribution, so add it explicitly after installing Heinzel. Tailscale itself must already be installed and signed in; hz does not install it, log in, grant HTTPS consent or change OS permissions for you. On macOS it also detects the CLI bundled in /Applications/Tailscale.app and explicitly selects CLI mode, as described in Tailscale's CLI documentation.

In Settings or the footer's sharing icon, turn Share over Tailscale on. The control checks the node and existing Serve mappings, merges its exact HTTPS origin into your user configuration and configures its loopback target. The running web app applies the updated origin policy immediately; it does not require a backend restart. It shows ON and a URL only after the owning authenticated web app verifies its actual port, active origin policy and matching Serve configuration. A CLI/stdio MCP request saves the same intent but reports verification pending until that web owner verifies it. Status reads never enable sharing.

hz tailscale status --json
hz tailscale enable --json
hz tailscale disable --json

The corresponding private operations are available through authenticated API and stdio MCP. They are absent from the unauthenticated REST and HTTP MCP heads. In-process calls use the actual bound web port. A separate CLI retains a previously observed port override; it cannot discover an arbitrary ephemeral web listener or claim it is ready.

Copy URL copies a working link with the current #token=... session fragment when the authenticated session has one. Treat that link like a password: anyone who receives it can use that session until it is revoked or expires. If there is no session token, the control copies only the address. A fresh phone browser also needs authentication: use the separate Copy sign-in link action from the session owner, then pair that browser. Pairing a device never grants it authority to pair another device. See private web sharing for authentication and revocation.

Turning sharing off removes only the still-matching hz root handler and any origin permission this plugin added. Other paths, listeners, services and manually configured origins remain. An existing conflicting root, public Funnel setting, foreground session or higher-priority origin policy is refused. A changed Serve revision or unknown write outcome stops without retry or rollback; inspect current status before taking another action. Matching an existing manual handler does not make it owned by hz, so enabling refuses to adopt it. OFF without an owned request is non-destructive. Completed removal relinquishes ownership before cleanup; repeating OFF cannot delete a later manual recreation. An uncertain create remains unverified and needs inspection before deletion.

tailscale.https_port chooses an alternate HTTPS port when another app owns the default. Disable a previous request before changing its external origin. A Tailscale version must provide the conditional Serve LocalAPI and one of the recognized local endpoint formats. Unsupported client installations report an actionable error; no sudo or remote endpoint fallback is attempted. The exact node DNS name must be eligible for HTTPS certificates in Tailscale's own configuration. Readiness verifies the local deployment; actual phone access still depends on Tailscale login, network policy and the remote browser's credential.

Development and release commands: repository guide.

Migration provenance: heinzel, before the 0.9 plugin-boundary migration.

Metadata

Release files for heinzel-tailscale 0.9.1

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

Source distribution (sdist)

Source distribution for heinzel-tailscale 0.9.1
File Size Uploaded Provenance Actions
heinzel_tailscale-0.9.1.tar.gz 82.1 kB Without provenance Details for heinzel_tailscale-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for heinzel-tailscale 0.9.1
File Interpreter ABI Platform Actions
heinzel_tailscale-0.9.1-py3-none-any.whl Python 3 none any Details for heinzel_tailscale-0.9.1-py3-none-any.whl

Total release size: 102.0 kB

Release files / heinzel_tailscale-0.9.1.tar.gz

Download URL heinzel_tailscale-0.9.1.tar.gz
Size 82.1 kB
Tags Source
SHA-256 checksum
How to use checksums
43fad36d59b9358a7c1f17204f772107e65ca028b4b237a6c80631517661c737
BLAKE2b-256 checksum
How to use checksums
b7f86efeb5ed3dd747837fe26c69bbe514eb70c59c8106d152a71ec36c721a69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / heinzel_tailscale-0.9.1-py3-none-any.whl

Download URL heinzel_tailscale-0.9.1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56fddc8a971a77da21f46ffde85aba8b16cd1b46f6ea710e9c993583c927cc8b
BLAKE2b-256 checksum
How to use checksums
14023fd8fbea4db5d885dfbb40a5ffe6c437433a575065f902742e2bbd7c715b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for heinzel-tailscale 0.9.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.9.1 This release

2 release files No 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