Heyhy 
Heyhy 用于快速部署 hysteria2 server 并输出客户端最佳实践配置,开箱即用!
What's features
| Supported Configuration | Status |
|---|---|
| Hysteria2 server | ✅ |
| NekoRay client proxy | ✅ |
sing-box hy2 outbound |
✅ |
Mihomo hysteria2 outbound |
✅ |
| Hysteria2 client | ✅ |
| via Cloudflare CDN | ✅ |
Prerequisites
- 在管理员权限下运行
- 提前为你的服务器的 IPv4 解析一个域名 A 纪录
Get started
一键部署脚本,以 uv tool 的方式调度管理工具:
curl -LsSf https://astral.sh/uv/install.sh | sh && \
source $HOME/.local/bin/env && \
uv tool install heyhy && \
uv run heyhy install -d <填写域名>
首次安装完毕后,你可以通过别名指令
heyhy或uv run heyhy调度脚本。
What's next
安装指令其他参数:
heyhy install -d [DOMAIN]
| 必选参数 | 简介 |
|---|---|
--domain, -d |
绑定的域名 |
| 可选参数 | 简介 |
|---|---|
--password, -p |
手动指定连接密码 (可选,默认随机生成) |
--ip |
手动指定服务器公网 IPv4 (可选,默认自动检测) |
--port |
指定监听端口 (可选,默认 4433) |
--image |
指定托管镜像(可选,默认 metacubex/mihomo:latest) |
移除所有项目依赖:
heyhy remove
升级脚本:
heyhy self update
输出客户端配置:
根据正在运行的服务配置生成 mihomo client outbound 配置。
heyhy check
探索其他指令:
heyhy --help
References
-
Hysteria2 hy2 官方文档
-
sing-box outbound sing-box 客户端出站代理设置
-
mihomo outbound mihomo/clash-meta 客户端出站代理设置
-
MatsuriDayo configuration nekoray / nekobox 客户端出战代理设置(该项目已停止维护)
Metadata
Release files for heyhy 0.1.9.post1
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 | |
|---|---|---|---|---|
| heyhy-0.1.9.post1.tar.gz | 113.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| heyhy-0.1.9.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 133.1 kB
Release files / heyhy-0.1.9.post1.tar.gz
| Download URL | heyhy-0.1.9.post1.tar.gz |
|---|---|
| Size | 113.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6407843af3779c8b5dd8e805ba1d71779589930a12016b99478ea96af7173c36
|
|
BLAKE2b-256 checksum How to use checksums |
8f05aa4c1f89f82dddf021cd67160367e5ee1fdbba894a53bf46c31573dc76e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|
Release files / heyhy-0.1.9.post1-py3-none-any.whl
| Download URL | heyhy-0.1.9.post1-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b2ad95b6ef4660e2a8ec87d2aebf87dbe0d857708468d1eb40245152ce4e949
|
|
BLAKE2b-256 checksum How to use checksums |
fb0f43eae0303e4071c37d8d13f782e1bb9e3b60542f6e9a870c10e5df1deed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|
Security for heyhy 0.1.9.post1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.