mihomo-anytls-inbound manager
Project description
anytls-py cli
借助 mihomo 构建 AnyTLS 容器服务,具备如下特性:
- 支持配置域名,自动申请证书
- 通过 Compose 管理容器服务,实现安全的自启和持久化运行
- 遵循最佳实践的轻量化部署
速通指南
uv
(可选)确保环境中存在 uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
(可选)To add $HOME/.local/bin to your PATH, either restart your shell or run:
source $HOME/.local/bin/env (sh, bash, zsh)
source $HOME/.local/bin/env.fish (fish)
Installation
使用 uv 以 tool 的方式安装 anytls-py:
uv tool install anytls-py
Startup
一键安装指令:
uv run anytls install -d [DOMAIN]
| 必选参数 | 简介 |
|---|---|
--domain, -d |
绑定的域名 |
| 可选参数 | 简介 |
|---|---|
--password, -p |
手动指定连接密码 (可选,默认随机生成) |
--ip |
手动指定服务器公网 IPv4 (可选,默认自动检测) |
--port |
指定监听端口 (可选,默认 8443) |
--image |
指定托管镜像(可选,默认 metacubex/mihomo:latest) |
下一步
移除所有项目依赖:
uv run anytls remove
升级脚本:
uv run anytls self update
根据正在运行的服务配置生成 mihomo client outbound 配置:
uv run anytls check
探索其他指令:
uv run anytls --help
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
anytls_py-0.1.10.tar.gz
(90.2 kB
view details)
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 anytls_py-0.1.10.tar.gz.
File metadata
- Download URL: anytls_py-0.1.10.tar.gz
- Upload date:
- Size: 90.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c03b25b251e6f8749875fd7bb186b87359ceae32fddfe7ac90597b132f3fb986
|
|
| MD5 |
28b24cc0acc80df62644c8efe4462166
|
|
| BLAKE2b-256 |
e791fc5e702a0a137a49d3c00fb83e690cf3cea7f00daa69b1050a981d767f34
|
File details
Details for the file anytls_py-0.1.10-py3-none-any.whl.
File metadata
- Download URL: anytls_py-0.1.10-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c46c9a8f33be2fbaf219f16b1ccf54e0215d5069a25d72f0a0724c0d92f038b
|
|
| MD5 |
80540300dfd9e7f01be67ec17a6c1ef2
|
|
| BLAKE2b-256 |
3f6d96530255578408badcbd1a21e3c2559d3de748465b289b802bea7f55f479
|