trqsh (PyPI)
Install the trqsh CLI with pip. This package fetches the signed, prebuilt binary for your platform from the GitHub release on first run.
pip install trqsh
# or, isolated:
pipx install trqsh
Commands
trqsh login # sign in through your browser (GitHub/Google)
trqsh whoami # show your account, plan and usage
trqsh http 3000 # expose localhost:3000 over a public HTTPS URL
trqsh http 3000 -d # …in the background; returns immediately
trqsh ls # list running background tunnels
trqsh open <id|name> # open a tunnel's public URL in your browser
trqsh stop <id|all> # stop one tunnel (or all of them)
trqsh down # stop the background daemon entirely
trqsh subdomains # list reserved subdomains
trqsh domains # list your custom domains
Also trqsh tcp <port> and trqsh udp <port> for raw TCP/UDP tunnels. Run
trqsh --help for the full list.
How it works
The console script trqsh calls trqsh.ensure_binary(), which detects your OS
(darwin/linux/windows) and CPU (amd64/arm64), downloads
trqsh_<version>_<os>_<arch>.<ext> from
https://github.com/trqsh-uz/cli/releases, verifies its SHA-256 against
checksums.txt, caches the binary under ~/.cache/trqsh/<version>/, and execs
it. Pure standard library — no runtime dependencies.
Environment overrides
| Variable | Purpose |
|---|---|
TRQSH_VERSION |
Pin a specific release (defaults to the package version). |
TRQSH_REPO |
Alternate owner/repo for the release download. |
TRQSH_DOWNLOAD_BASE |
Full base URL of a mirror serving the release assets (for air-gapped/internal mirrors). |
TRQSH_SKIP_CHECKSUM=1 |
Skip SHA-256 verification (not recommended). |
Author
trqsh is created and maintained by Otabek Hamroqulov — GitHub @Hamroqulovv. Licensed Apache-2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trqsh-0.1.3.tar.gz.
File metadata
- Download URL: trqsh-0.1.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0945453b787aed4fd0e6c4125c14246344e36949a8c345b0bb1dbce24e09f5b6
|
|
| MD5 |
e37ab6e7d79890ec0e51235606e5e9f4
|
|
| BLAKE2b-256 |
a83c9a2e0af67040585005eef697c59a561da7c2bf1ad13e5282a42f4159f1a3
|
File details
Details for the file trqsh-0.1.3-py3-none-any.whl.
File metadata
- Download URL: trqsh-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a858dcb2446f97dfc47501a22249b70a7c2b4cf37e00c350786e067f3c8a3ed
|
|
| MD5 |
601ce5445817476896389a3252e0ab58
|
|
| BLAKE2b-256 |
1a2a6432e79aae9b55c54a13450e90ff563210d2fd269d139ccc6f8b926e7ccc
|