Skip to main content

mihomo-anytls-inbound manager

Project description

anytls-py cli

借助 mihomo 构建 AnyTLS 容器服务,具备如下特性:

  1. 支持配置域名,自动申请证书
  2. 通过 Compose 管理容器服务,实现安全的自启和持久化运行
  3. 遵循最佳实践的轻量化部署

速通指南

uv

uv installation

(可选)确保环境中存在 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

image-20250615192420892

Project details


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.14.tar.gz (92.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anytls_py-0.1.14-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file anytls_py-0.1.14.tar.gz.

File metadata

  • Download URL: anytls_py-0.1.14.tar.gz
  • Upload date:
  • Size: 92.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for anytls_py-0.1.14.tar.gz
Algorithm Hash digest
SHA256 ddfae73c15009d509efe1acfc9915ce7af8124f62b76df0449338e174a831715
MD5 d62bc0b7238570edd80a36dfd6f38755
BLAKE2b-256 0dfb77f7606b60c7263e89a3aa4a7eca0519770d0c41f6c87fa7649bf3a32048

See more details on using hashes here.

File details

Details for the file anytls_py-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: anytls_py-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.12

File hashes

Hashes for anytls_py-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 32720b4e4aeb1c399d75a5ff4421c76723db14ed34d0a9bf60ef933f6b1a5b82
MD5 c8b16dc65540d532e99fa3456cb030c2
BLAKE2b-256 824a89588c7d6a62a53959b0e9698df783dd739e00d23aba0abeab86581c5d9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page