Skip to content

Repository files navigation

Zrcoder

终端里的编程助手:连 OpenAI 兼容 API,可读写文件、执行命令,并支持 /help 等斜杠命令。

安装

需要 Python 3.12+。推荐用 uv

uv tool install zrcoder

也可用 pipx / pip:

pipx install zrcoder
#
pip install zrcoder

配置

在环境变量或项目目录的 .env 中设置(可参考 .env.example):

export API_KEY=your_api_key
export BASE_URL=https://api.example.com/v1
# 可选,默认 deepseek-v4-flash
# export MODEL_NAME=deepseek-v4-flash

使用

zrcoder

常用命令:/help/status/new/api-detail/exit

变更与发版

从源码开发

git clone https://github.com/ZRMYDYCG/ClaudeCode.git
cd ClaudeCode
uv sync --group dev

uv run zrcoder
#
uv run python main.py

uv run ruff format .
uv run ruff check --fix .
uv run pytest
uv run mypy core

License

MIT

About

终端里的编程助手:连 OpenAI 兼容 API,可读写文件、执行命令,并支持 /help 等斜杠命令。

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages