Skip to main content

Kaka

Python Version FastAPI PyPI Version License

🚀 一键安装,开箱即用 - 通过 GitHub Webhook 触发 Claude Code CLI 进行 AI 开发,实现从 Issue 到 PR 的完整自动化流程。

特性

  • 智能 Webhook 接收 - 接收并验证 GitHub Webhook 事件
  • 多种触发方式 - 支持标签触发(ai-dev)和评论触发(/ai develop)
  • AI 开发调度 - 自动调用本地 Claude Code CLI 进行开发任务
  • Git 自动化 - 自动创建分支、提交代码、推送到远程仓库
  • 智能 PR 创建 - 根据开发内容自动生成 Pull Request
  • 实时监控 - 美观的 Dashboard 界面,实时追踪任务状态
  • 配置向导 - 5 分钟完成配置,无需复杂操作

快速开始

方式 1:pip 安装(推荐)

# 直接安装
pip install kaka-auto

# 或带开发依赖
pip install kaka-auto[dev]

# 配置服务
kaka configure

# 启动服务
kaka start

📦 PyPI 页面: https://pypi.org/project/kaka-auto/

方式 2:从源码安装(开发模式)

# 克隆项目
git clone https://github.com/wersling/kaka.git
cd kaka

# 运行初始化脚本(自动创建 venv、安装依赖、配置环境)
./dev_setup.sh

# 启动服务
kaka start

或手动安装:

# 创建虚拟环境
python3 -m venv venv
source venv/bin/activate

# 安装
pip install -e .

# 配置环境
kaka configure

# 启动服务
kaka start

配置 GitHub Webhook

  1. 访问 Dashboard:http://localhost:8000/dashboard
  2. 点击"📋 复制 Webhook URL"
  3. 在 GitHub 仓库设置中创建 Webhook:
    • Payload URL: 粘贴复制的 URL
    • Content type: application/json
    • Secret: 与 .env 中的 GITHUB_WEBHOOK_SECRET 一致
    • Events: 选择 Issues 和 Issue comments

触发 AI 开发

方式 1:在 GitHub Issue 中添加 ai-dev 标签

方式 2:在 GitHub Issue 中评论 /ai develop

文档

开发调试

项目已配置完整的 VSCode 调试环境:

  1. 按 F5 启动调试
  2. 支持断点调试、热重载
  3. 多种调试模式可选

详见 .vscode/launch.json

许可证

本项目采用 MIT 许可证。详见 LICENSE 文件。


⭐ 如果这个项目对您有帮助,请给我们一个 Star!

Made with ❤️ by AI Development Team

Metadata

Release files for kaka-auto 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kaka-auto 1.0.1
File Size Uploaded Provenance Actions
kaka_auto-1.0.1.tar.gz 187.1 kB Without provenance Details for kaka_auto-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kaka-auto 1.0.1
File Interpreter ABI Platform Actions
kaka_auto-1.0.1-py3-none-any.whl Python 3 none any Details for kaka_auto-1.0.1-py3-none-any.whl

Total release size: 277.4 kB

Release files / kaka_auto-1.0.1.tar.gz

Download URL kaka_auto-1.0.1.tar.gz
Size 187.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f1f53cc65aba006909dff1547de0f807409ab4da1d1257ac93a631e122e73d53
BLAKE2b-256 checksum
How to use checksums
ef0efc47da7fbaa65d7e21ecd1cd39349110cef31aab0e659dc0ff443361533d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / kaka_auto-1.0.1-py3-none-any.whl

Download URL kaka_auto-1.0.1-py3-none-any.whl
Size 90.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1876ba6e6f4d9360471c66bd69ff6720f74fc2475724af0af317fe02935d28b4
BLAKE2b-256 checksum
How to use checksums
e31f8633be482f962ee1c02634be545fac013d4711236974e4dc463b006c32a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for kaka-auto 1.0.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page