ChatArch proxy toolkit for Clash, subconverter, and proxy service operations.
Project description
chatclash
ChatArch proxy toolkit for Clash, subconverter, and proxy service operations.
快速开始
pip install -e ".[dev]"
chatclash setup clash /tmp/clash --dry-run
chatclash setup clash /tmp/clash -y
chatclash status /tmp/clash
chatclash proxy env
python -m pytest -q
订阅转换依赖外部 subconverter 服务:
chatenv use -t chatclash sub-main
chatclash sub status
chatclash sub url
chatclash sub generate -o /tmp/clash/config.yaml --dry-run
chatclash sub generate -o /tmp/clash/config.yaml -y
CLI 规范
项目依赖 chatstyle>=0.1.0 和 chatenv>=0.1.1,命令输入优先使用:
CommandSchema/CommandField描述输入。add_interactive_option()提供统一-i/-I。resolve_command_inputs()统一缺参补问、默认值、TTY 与校验。
目录结构
src/:包源码tests/code-tests/:代码测试和历史测试迁移tests/cli-tests/:真实 CLI 测试,doc-firsttests/mock-cli-tests/:mock/fake CLI 测试,doc-firstdocs/:长期维护文档,由 mkdocs 构建
开发说明
扩展脚手架前,先阅读 DEVELOP.md 和 AGENTS.md。
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
chatclash-0.1.0.tar.gz
(11.4 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 chatclash-0.1.0.tar.gz.
File metadata
- Download URL: chatclash-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee62d3e90fbb590129c5c1d422f3250212b1cd62e64a5c9ef74ce28309d00660
|
|
| MD5 |
a804cbb163e4712c1680fc130efaed76
|
|
| BLAKE2b-256 |
e1da5e15b2b104ea71dc9705a4112985dd77a3124bec914ed8d69a69ffa326e2
|
File details
Details for the file chatclash-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chatclash-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7b0d0864f069e82b1bd240f5281987dc7199bcaca6e3b03b7793d17f1e0a3e
|
|
| MD5 |
4de824faeebfe0d8452cdf6b96a161d2
|
|
| BLAKE2b-256 |
fc1f5d54489d6aeeb84e99f69022962c18ae68f0df14dcdf7040605af7b80d71
|