hle-tui
An interactive terminal dashboard for HLE, shipped as a
plugin for hle-client.
pip install hle-tui
hle tui
Installing the package is the whole integration: hle tui appears in hle --help, and uninstalling it makes the command go away again. The core client
is not modified either way and never imports textual — which is the point.
hle-client has to stay small enough for a pfSense or OpenWrt box, and those
machines want the tunnel, not a rendering library.
What it does
Three tabs over the same service layer the CLI uses (hle_client.ops). There
is no second copy of the API client, the systemd handling or the config lookup
in here, and every edit shows the hle … command it stands for in the status
bar, so anything done here can be scripted afterwards.
| Tab | Table | Detail |
|---|---|---|
| Tunnels | subdomain, live/idle, upstream service, auth mode | Enter opens the tunnel: public URL, state, and editing for its access rules, gate mode, PIN, basic auth and share links |
| Agents | name, online/offline/disabled, endpoints, version, last seen | the highlighted agent's version, host, last seen, and whatever else the relay reports |
| Daemons | installed services, scope, kind, state | l tails the log |
The tunnel pane covers:
| Section | Actions | Same as |
|---|---|---|
| Access rules | add [provider:]email, remove the selected rule |
hle tunnel access create/delete |
| Gate mode | SSO or public (asks first) | hle tunnel set --auth |
| PIN | set, remove (asks first) | hle tunnel pin set/delete |
| Basic auth | set user and password, remove (asks first) | hle tunnel basic-auth set/delete |
| Share links | create for 1h/24h/7d with a label, list, revoke | hle tunnel share create/list/delete |
A new share link's URL is shown once, and copied to the clipboard where the terminal allows it. The relay keeps only a prefix, so that is the only time the full link exists.
On a terminal narrower than 120 columns the tunnel pane opens as its own screen instead of beside the table.
Keys
| Key | Where | Action |
|---|---|---|
Enter |
Tunnels | Open the tunnel pane |
o |
Tunnels | Open the tunnel in a browser |
d |
Tunnels | Delete the tunnel record (asks first) |
n |
Tunnels | Show the CLI command to create a tunnel |
s |
Daemons | Restart the daemon (asks first) |
l |
Daemons | Tail the daemon's log (last 200 lines, re-read every 2s) |
r |
anywhere | Refresh now |
Esc |
pane or screen | Close it |
q |
anywhere | Quit |
Anything that deletes, restarts or opens a gate asks first. A dashboard makes a keystroke cheap, which is exactly why those must not be one.
The cursor follows the row, not the position: after a refresh that reorders the list it is still on the tunnel, agent or daemon it was on.
Errors never close the dashboard. A refused key says so and says what to run; "Could not reach the relay" means exactly that.
Still CLI-only
- Creating a tunnel (
hle tunnel create), webhooks and preflight. - Installing, uninstalling and refreshing daemons, and following a log live
(
hle daemon logs -f). - Agent enrolment,
hle agent services, forwards,hle update,hle auth. - The per-agent endpoint list, install method and platform: the relay's agent list does not return them yet. The pane shows them the day it does.
Options
hle tui --refresh 30 # poll the relay every 30s (0 disables polling)
hle tui --api-key hle_… # otherwise read from the root --api-key, then HLE_API_KEY or the config file
Writing another plugin
The mechanism is a hle_client.plugins entry point pointing at a
click.Command:
[project.entry-points."hle_client.plugins"]
myplugin = "my_package.plugin:command"
A plugin that fails to import is skipped with a warning rather than taking the
CLI down, and one that tries to shadow a built-in command is refused. Set
HLE_NO_PLUGINS=1 to skip discovery entirely.
MIT licensed, same as hle-client.
Metadata
Release files for hle-tui 2611.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hle_tui-2611.3.tar.gz | 27.6 kB | With provenance | Details for hle_tui-2611.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hle_tui-2611.3-py3-none-any.whl | Python 3 | none | any | Details for hle_tui-2611.3-py3-none-any.whl |
Total release size: 48.7 kB
Release files / hle_tui-2611.3.tar.gz
| Download URL | hle_tui-2611.3.tar.gz |
|---|---|
| Size | 27.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
066515d70f9fef0bf44824f9d358070b2ecfb294bb42182658be60b1fdf398e6
|
|
BLAKE2b-256 checksum How to use checksums |
02bdf191a79891bcde7925a7fbb9f0a27a01c08e629fa715f6e2ed0b72498955
|
| 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 13, 2026.
Transparency logRelease files / hle_tui-2611.3-py3-none-any.whl
| Download URL | hle_tui-2611.3-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7133021ce462f4b554be12edf74cb7ac8c0ae4bcd91fcc832e393e27975c5422
|
|
BLAKE2b-256 checksum How to use checksums |
67a02845a463bba6e7f641b9865d1ac494ccefcf384cedfd89dff13a74b4a7f5
|
| 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 13, 2026.
Transparency logSecurity for hle-tui 2611.3
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
Both files in this release have been uploaded with provenance metadata.
Attestation for hle_tui-2611.3.tar.gz
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 13, 2026.
Transparency logA 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.