Skip to main content

trqsh — Localhost, online.

trqsh · Python

Public URLs for local development. Installed with pip or pipx.

Share development servers, receive webhooks and inspect traffic from an interactive terminal. This package installs the native CLI; the desktop app is a separate download.

CLI 0.2.4 connects to https://tunnel.trqsh.uz and uses authenticated WebSocket transport through wss://tunnel.trqsh.uz/_trqsh/agent. Direct QUIC/TCP connections remain available with --server host:port. Public tunnel URLs need wildcard DNS/TLS and edge ingress in addition to the control-plane hostname.

PyPI Python License

Quick start · First launch · Commands · Configuration · Troubleshooting


Quick start

Install into an isolated environment with pipx:

pipx install trqsh
trqsh --version
trqsh

Or install with your Python environment:

python -m pip install trqsh
python -m trqsh --version
python -m trqsh

The native CLI downloads on first use, including the first version check. Installing the Python package itself does not open the setup guide. Once signed in, use trqsh http 3000 to start a local web tunnel.

Requirements

Requirement Supported
Runtime Python 3.8 or later
Package manager pip, or an existing pipx installation
Operating system Windows, macOS, Linux
Architecture x64 / amd64, arm64
Network Package index and native CLI release assets
Console Interactive terminal for setup and tunnel commands

The launcher uses the Python standard library and has no third-party runtime dependencies.

First launch

Run trqsh in an interactive terminal. On a fresh configuration, the welcome guide offers browser sign-in, a masked API-key field, or Set up later. After signing in, choose a local HTTP port to expose or open the console.

trqsh / welcome
Bring your localhost online.

> Sign in with browser
  Use an API key
  Set up later

Illustrative welcome screen. Appearance adapts to your terminal.

Reopen the guide with trqsh setup or /setup inside the console. Existing configurations and explicit commands such as trqsh http 3000 keep their normal startup behavior. A tunnel starts only after you request it.

Everyday commands

Enter these commands inside the trqsh console:

Task Command
Open the setup guide /setup
Sign in through your browser /login
Expose a local web server /http 3000
Forward TCP or UDP traffic /tcp 5432 · /udp 19132
List tunnels and copy a URL /ls · /copy
Inspect captured requests /requests
Keep traffic visible /pin traffic
Pair the console with your phone /qr
Inspect account and connection /whoami · /status
Choose a terminal theme /theme auto · /theme dark · /theme light
Stop tunnels /stop <id> · /stop all
Stop the daemon and exit /down
Discover all commands /help

Protocol access, reserved subdomains and custom domains depend on the service configuration and your account's entitlements. Closing the console alone does not stop the background daemon.

Installation experience

trqsh / install
Localhost, online.

[ok] Platform    windows / amd64
[ok] Release     vX.Y.Z
[..] Downloading 6.4 / 12.8 MB

Illustrative progress output. Actual releases and byte counts are shown during installation.

The wrapper detects your platform, downloads the native archive, verifies SHA-256, stages the binary and reports its location. Suitable terminals show measured byte progress; CI and redirected output receive plain lines. Package installation never asks for credentials or starts a tunnel.

Missing or mismatched checksums stop installation by default. Interrupted downloads and extraction leave an existing binary intact. Archive integrity and release-origin verification are separate: see the Sigstore verification instructions for the latter.

Configuration

Variable Behavior
TRQSH_VERSION Pin a native release; otherwise the package version selects the initial download.
TRQSH_REPO Override the release repository; default: trqsh-tunnel/trqshcli.
TRQSH_DOWNLOAD_BASE Base URL of a mirror containing the archive and checksums.txt.
NO_COLOR / TRQSH_NO_COLOR Disable animated installer output when set to a nonempty value.
TRQSH_SKIP_CHECKSUM=1 Explicitly bypass integrity verification; prints a verification-skipped warning.

Agent settings use ~/.trqsh/trqsh.yml by default. Select another file with trqsh --config PATH or TRQSH_CONFIG. See the configuration guide.

Update

Use the package manager you installed with:

# pipx
pipx upgrade trqsh

# pip
python -m pip install --upgrade trqsh

The console also supports /update check and /update. Restart after a successful update. An explicit TRQSH_VERSION takes precedence over a self-updated cached binary.

Uninstall

To clear local credentials, configuration and caches, run these commands inside the console before removing the package:

/uninstall
/uninstall yes

The confirmation stops tunnels and removes local data; it does not delete your cloud account. Then use the original package manager:

# pipx
pipx uninstall trqsh

# pip
python -m pip uninstall trqsh

Package removal alone leaves separate agent data and the native binary cache.

Troubleshooting

Symptom Next step
trqsh is not on PATH For pip installs, use python -m trqsh in the environment where you installed it.
pipx command is unavailable Check pipx's PATH setup and reopen the terminal.
Python cannot find the module Use the same interpreter for installation and python -m trqsh.
Download or checksum fails Check release-host or mirror access, then retry.
First launch takes longer The wrapper is downloading and verifying the native CLI; subsequent launches reuse it.

On Windows, the pip wrapper attempts to repair the user Scripts PATH when it can locate the launcher. This is best-effort; reopen the terminal after a reported change. pipx manages its own PATH.

Package layout

src/trqsh/__main__.py   Console and python -m trqsh entry point
src/trqsh/_runtime.py   Download, verification, cache and launch support
src/trqsh/_ui.py        Terminal installer presentation
src/trqsh/__init__.py   Python package version

The binary cache is ~/.cache/trqsh/<version>/, or $XDG_CACHE_HOME/trqsh/<version>/ when configured. Agent configuration and credentials are stored separately.


Documentation · CLI releases · Report an issue · Source

Created by Otabek Hamroqulov. Licensed under Apache-2.0.

Metadata

Release files for trqsh 0.2.4

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

Source distribution (sdist)

Source distribution for trqsh 0.2.4
File Size Uploaded Provenance
trqsh-0.2.4.tar.gz 10.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 21.1 kB

Release files / trqsh-0.2.4.tar.gz

Download URL trqsh-0.2.4.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9264023da9c19efafc3e93dc8eee3eb26ac7d3d808b0c8e75ad4269479f7b022
BLAKE2b-256 checksum
How to use checksums
bad746e802d91a4bbbbbd22034c3c54de140b6786e88082cb7a5b6b357d3529e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / trqsh-0.2.4-py3-none-any.whl

Download URL trqsh-0.2.4-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
617946adf52002231f0c94173d149633bb96eac882f9dd01633eb5f4b2a6d210
BLAKE2b-256 checksum
How to use checksums
483241e24edc9d2ec634d360f2a73fbf43bd33fa2dc145dadf1ae9b16da0a3d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for trqsh 0.2.4

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.

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