ThroneTools
Cross-platform CLI to install, update, back up, restore and remove Throne (and the older NekoRay) on Linux, macOS and Windows. It can also install the geoip/geosite databases and turn a Wi-Fi hotspot on and off (Linux and macOS).
Install
Python 3.12 to 3.15.
uv tool install thronetools # or: pipx install thronetools
thronetools --help
From a clone: uv sync && uv run thronetools --help.
Commands
| Command | What it does |
|---|---|
install |
install Throne |
app-update --app {throne,nekoray} |
update Throne to the latest release |
app-version --app {throne,nekoray} |
show the installed version and install path |
backup --app A [--output PATH] |
back the configuration up to a zip |
restore --app A --zip FILE |
restore a backup |
remove [--app A] |
uninstall Throne or NekoRay (asks which one if both are installed) |
reinstall --app A [--backup] [--output PATH] [--force] |
uninstall and install again, optionally keeping a backup |
geo-install --app A |
install or refresh the geoip and geosite databases |
hotspot enable [--iface I] [--ssid S] [--password P] [--dry-run] |
start a hotspot (Linux, macOS) |
hotspot disable [--dry-run] |
stop it |
--app defaults to throne where it is optional. restore and reinstall ask for --app when you leave it out, and hotspot enable asks for the password.
app-versionandapp-updateused to be calledversionandupdate. Those names now belong to the tool itself (see below).
Examples
thronetools install
thronetools app-update --app throne
thronetools geo-install --app throne
thronetools backup --app nekoray --output ~/Backups
thronetools restore --app throne --zip ~/Backups/throne-backup-2026-02-17.zip
thronetools reinstall --app throne --backup
thronetools hotspot enable --iface wlp2s0 --dry-run # print the commands, change nothing
Some operations need elevated privileges, depending on the platform and package manager.
Common commands
Built on cfuicli, so it looks and behaves like the other tools in this family.
thronetools help [command] # help; -h works on any command
thronetools version # version and git repository (also: -v)
thronetools update [--check] # update the tool itself; --check only compares versions
thronetools -q ... # quiet: no banner or notes (or THRONETOOLS_QUIET=1)
- A missing required option is asked for when you run the tool in a terminal. In a pipe or in CI it stops with
--flag is required. Pass --flag <value> or run interactively.(exit code 2). - Errors appear in a red box on stderr with a non-zero exit code. Ctrl-C exits with 130.
- Color is used only on a terminal.
NO_COLOR=1turns it off.
Development
uv sync
uv run ruff check . && uv run ruff format --check .
uv build
Related tools: LinkCovery, PEM, ollama-tool-cli.
License
MIT
Metadata
Release files for thronetools 1.2.0
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 |
|---|---|---|---|---|
| thronetools-1.2.0.tar.gz | 22.1 kB | With provenance | Details for thronetools-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thronetools-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for thronetools-1.2.0-py3-none-any.whl |
Total release size: 35.3 kB
Release files / thronetools-1.2.0.tar.gz
| Download URL | thronetools-1.2.0.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10f3e85187caaec76999f38c1660fb335c3f016bd36ed25f5ccb7b9b0476143d
|
|
BLAKE2b-256 checksum How to use checksums |
a40968d4b3453117a3d401cb2446e065d43cac025dfd8a406c71cf6404a72ba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 12, 2026.
Transparency logRelease files / thronetools-1.2.0-py3-none-any.whl
| Download URL | thronetools-1.2.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54247c93cf64340fa56270f157893fed43862de31f5096753e9688335067ba17
|
|
BLAKE2b-256 checksum How to use checksums |
7096230d1aef0b4ae3c83da780c2ae0c5e8f654e1848182a7ab2976ae52bb4f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 12, 2026.
Transparency logSecurity for thronetools 1.2.0
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 thronetools-1.2.0.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 Oct 12, 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.