Cross-platform installer and management CLI for Throne
Project description
ThroneTools
Cross-platform CLI to install, reinstall, uninstall, and manage configuration for Throne and NekoRay on Linux, macOS, and Windows.
Requirements
- Python 3.10+
- uv
Quick Start (uv)
# from repo root
uv sync
uv run thronetools --help
Interactive mode
Run without subcommands to open the interactive menu:
uv run python thronetools.py
Commands
thronetools install
thronetools backup --app {throne|nekoray} [--output <path-or-dir>]
thronetools restore --app {throne|nekoray} --zip <backup.zip>
thronetools remove --app {throne|nekoray}
thronetools reinstall --app {throne|nekoray} [--backup] [--output <path-or-dir>] [--force]
thronetools info --app {throne|nekoray}
thronetools hotspot enable [--iface <iface>] [--ssid <name>] [--password <pass>] [--dry-run]
thronetools hotspot disable [--dry-run]
Common Examples
# Install Throne
uv run thronetools install
# Backup Throne config to current directory
uv run thronetools backup --app throne
# Backup NekoRay config to a specific folder
uv run thronetools backup --app nekoray --output ~/Backups
# Restore Throne config
uv run thronetools restore --app throne --zip ~/Backups/throne-backup-2026-02-17.zip
# Reinstall with backup + restore flow
uv run thronetools reinstall --app throne --backup
# Show installed app details
uv run thronetools info --app throne
# Preview hotspot commands without applying changes
uv run thronetools hotspot enable --iface wlp2s0 --dry-run
Notes
hotspotcommands are supported on Linux and macOS. On Windows, hotspot subcommands are not available.- Some operations require elevated privileges depending on platform/package manager.
Development
# Lint/format (Ruff is configured in pyproject.toml)
uv run ruff check .
uv run ruff format .
# Build package
uv build
Install as a tool (optional)
If you want a globally available command via uv:
uv tool install .
thronetools --help
To update later:
uv tool upgrade thronetools
Project details
Release history Release notifications | RSS feed
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 thronetools-1.0.4.tar.gz.
File metadata
- Download URL: thronetools-1.0.4.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbe8a7f5d36c7439a8130a1d4ddab2e93f4d1410b4367b79cd7de0ed554a02d8
|
|
| MD5 |
f36e255242d3420660023169589979d6
|
|
| BLAKE2b-256 |
7d25b508f31bb1c28cbcbb00f1c81eb2aa67a02a4b0738662a530ca7dc45fb06
|
Provenance
The following attestation bundles were made for thronetools-1.0.4.tar.gz:
Publisher:
build-release.yml on arian24b/thronetools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
thronetools-1.0.4.tar.gz -
Subject digest:
fbe8a7f5d36c7439a8130a1d4ddab2e93f4d1410b4367b79cd7de0ed554a02d8 - Sigstore transparency entry: 956684478
- Sigstore integration time:
-
Permalink:
arian24b/thronetools@3b7751d9631e55d4c4eaff00b54f7e647db4330e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/arian24b
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-release.yml@3b7751d9631e55d4c4eaff00b54f7e647db4330e -
Trigger Event:
push
-
Statement type:
File details
Details for the file thronetools-1.0.4-py3-none-any.whl.
File metadata
- Download URL: thronetools-1.0.4-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b12baa039d011886c0f98533b3316169229515c9a872a52c97528f9a6cabc6ae
|
|
| MD5 |
9eaddb013da5e138d2b4d553f288d628
|
|
| BLAKE2b-256 |
fb9979f0cf40c66cb5926a9bb01eba8cb851725cff7473d9c6d55dd7c3cec2db
|
Provenance
The following attestation bundles were made for thronetools-1.0.4-py3-none-any.whl:
Publisher:
build-release.yml on arian24b/thronetools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
thronetools-1.0.4-py3-none-any.whl -
Subject digest:
b12baa039d011886c0f98533b3316169229515c9a872a52c97528f9a6cabc6ae - Sigstore transparency entry: 956684519
- Sigstore integration time:
-
Permalink:
arian24b/thronetools@3b7751d9631e55d4c4eaff00b54f7e647db4330e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/arian24b
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-release.yml@3b7751d9631e55d4c4eaff00b54f7e647db4330e -
Trigger Event:
push
-
Statement type: