UNPKG

zcf

Version:

Zero-Config Code Flow - One-click configuration tool for Code Cli

164 lines (118 loc) 6.78 kB
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] [![Claude Code][claude-code-src]][claude-code-href] [![codecov][codecov-src]][codecov-href] [![JSDocs][jsdocs-src]][jsdocs-href] [![Ask DeepWiki][deepwiki-src]][deepwiki-href] <div align="center"> <img src="./src/assets/banner.webp" alt="Banner"/> <h1> ZCF - Zero-Config Code Flow </h1> <p align="center"> <b>English</b> | <a href="README_zh-CN.md">中文</a> | <a href="README_ja-JP.md">日本語</a> | <a href="CHANGELOG.md">Changelog</a> **✨ Full Documentation**: [ZCF Docs](https://zcf.ufomiao.com/) > Zero-config, one-click setup for Claude Code & Codex with bilingual support, intelligent agent system and personalized AI assistant </p> </div> ## ♥️ Sponsor AI API [![Sponsor AI API](./src/assets/302.ai-en.jpg)](https://share.302.ai/gAT9VG) [302.AI](https://share.302.ai/gAT9VG) is a pay-as-you-go enterprise AI resource hub that offers the latest and most comprehensive AI models and APIs on the market, along with a variety of ready-to-use online AI applications. --- [![GLM](./src/assets/GLM-en.png)](https://z.ai/subscribe?ic=8JVLJQFSKB) This project is sponsored by Z.ai, supporting us with their GLM CODING PLAN. GLM CODING PLAN is a subscription service designed for AI coding, starting at just $3/month. It provides access to their flagship GLM-4.7 model across 10+ popular AI coding tools (Claude Code, Cline, Roo Code, etc.), offering developers top-tier, fast, and stable coding experiences. Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB --- <table> <tbody> <tr> <td width="180"><a href="https://www.packyapi.com/register?aff=zcf"><img src="./src/assets/packycode.png" alt="PackyCode" width="150"></a></td> <td>Thanks to PackyCode for sponsoring this project! PackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more. PackyCode provides special discounts for our software users: register using <a href="https://www.packyapi.com/register?aff=zcf">this link</a> and enter the "zcf" promo code during recharge to get 10% off.</td> </tr> <tbody> </table> ## 🚀 Quick Start - Recommended: `npx zcf` opens the interactive menu and guides you through install/update. - Common commands: ```bash npx zcf i # Full initialization: install + workflows + API/CCR + MCP npx zcf u # Update workflows only npx zcf --lang zh-CN # Switch interface language (example) ``` - Non-interactive example (provider preset): ```bash npx zcf i -s -p 302ai -k "sk-xxx" ``` More usage, options, and workflows: see documentation. ## 📖 Full Documentation - https://zcf.ufomiao.com/ ## 💬 Community Join our Telegram group for support, discussions, and updates: [![Telegram](https://img.shields.io/badge/Telegram-Join%20Chat-blue?style=flat&logo=telegram)](https://t.me/ufomiao_zcf) ## 🙏 Acknowledgments This project is inspired by and incorporates work from: - [LINUX DO - New Ideal Community](https://linux.do) - [CCR](https://github.com/musistudio/claude-code-router) - [CCometixLine](https://github.com/Haleclipse/CCometixLine) - [ccusage](https://github.com/ryoppippi/ccusage) - [BMad Method](https://github.com/bmad-code-org/BMAD-METHOD) Thanks to these community contributors for sharing their amazing projects! ## ❤️ Support & Sponsors If you find this project helpful, please consider sponsoring its development. Your support is greatly appreciated! [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/UfoMiao) <table> <tr> <td><img src="/src/assets/alipay.webp" width="200" alt="Alipay" /></td> <td><img src="/src/assets/wechat.webp" width="200" alt="WeChat Pay" /></td> </tr> </table> ### Our Sponsors A huge thank you to all our sponsors for their generous support! - [302.AI](https://share.302.ai/gAT9VG) (first corporate sponsorship 🤠) - [GLM](https://z.ai/subscribe?ic=8JVLJQFSKB) (first AI model sponsorship 🤖) - [PackyCode](https://www.packyapi.com/register?aff=zcf) (first API proxy service sponsor 🧝🏻‍♀️) - Tc (first sponsor) - Argolinhas (first ko-fi sponsor ٩(•̤̀ᵕ•̤́๑)) - r\*r (first anonymous sponsor 🤣) - \*\*康 (first KFC sponsor 🍗) - \*东 (first coffee sponsor ☕️) - 炼\*3 (first Termux user sponsor 📱) - [chamo101](https://github.com/chamo101) (first GitHub issue sponsor 🎉) - 初屿贤 (first Codex user sponsor 🙅🏻‍♂️) - Protein (first 1688 sponsor 😏) - [musistudio](https://github.com/musistudio) (first open source project author sponsor, the author of [CCR](https://github.com/musistudio/claude-code-router) 🤩) - [BeatSeat](https://github.com/BeatSeat) (community expert 😎, provided $1000 Claude credits) - [wenwen](https://github.com/wenwen12345) (community expert 🤓, provided daily $100 Claude&GPT credits) - 16°C coffee (My best friend 🤪, offered ChatGPT Pro $200 package) ### Promotion Thanks Thanks to the following authors for promoting this project: - 逛逛 GitHub, article: https://mp.weixin.qq.com/s/phqwSRb16MKCHHVozTFeiQ - Geek, tweet: https://x.com/geekbb/status/1955174718618866076 ## 📄 License [MIT License](LICENSE) --- ## 🚀 Contributors <a href="https://github.com/UfoMiao/zcf/graphs/contributors"> <img src="https://contrib.rocks/image?repo=UfoMiao/zcf" /> </a> <br /><br /> ## ⭐️ Star History If this project helps you, please give me a ⭐️ Star! [![Star History Chart](https://api.star-history.com/svg?repos=UfoMiao/zcf&type=Date)](https://star-history.com/#UfoMiao/zcf&Date) <!-- Badges --> [npm-version-src]: https://img.shields.io/npm/v/zcf?style=flat&colorA=080f12&colorB=1fa669 [npm-version-href]: https://npmjs.com/package/zcf [npm-downloads-src]: https://img.shields.io/npm/dm/zcf?style=flat&colorA=080f12&colorB=1fa669 [npm-downloads-href]: https://npmjs.com/package/zcf [license-src]: https://img.shields.io/github/license/ufomiao/zcf.svg?style=flat&colorA=080f12&colorB=1fa669 [license-href]: https://github.com/ufomiao/zcf/blob/main/LICENSE [claude-code-src]: https://img.shields.io/badge/Claude-Code-1fa669?style=flat&colorA=080f12&colorB=1fa669 [claude-code-href]: https://claude.ai/code [codecov-src]: https://codecov.io/gh/UfoMiao/zcf/graph/badge.svg?token=HZI6K4Y7D7&style=flat&colorA=080f12&colorB=1fa669 [codecov-href]: https://codecov.io/gh/UfoMiao/zcf [jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-1fa669?style=flat&colorA=080f12&colorB=1fa669 [jsdocs-href]: https://www.jsdocs.io/package/zcf [deepwiki-src]: https://img.shields.io/badge/Ask-DeepWiki-1fa669?style=flat&colorA=080f12&colorB=1fa669 [deepwiki-href]: https://deepwiki.com/UfoMiao/zcf