展示HN:Kimiflare,Kimi K2.6作为Cloudflare Workers AI的编码代理

1作者: sinameraji大约 1 个月前原帖
嘿,HN,我是Sina。 我有一些Cloudflare的积分将在5月14日到期,不知道该如何处理。当Kimi K2.6发布并在Workers AI上可用时,我决定用它构建一个开源的Claude代码克隆。对此我没有多想。(有人问我是否知道OpenCode,老实说,我是在构建这个之后才了解到它们的,但它们看起来真的很棒。) 总之,Kimiflare是一个CLI编码助手,基本上是Claude代码,但由Kimi K2.6在Cloudflare Workers AI上提供支持。 目前版本是v0.57.0,已经获得了超过12,000次的npm下载,137个GitHub星标,以及来自4位贡献者的PR(包括Marshall Thompson在FeatherJS中的Zed/ACP集成)。积分是Cloud层存在的唯一原因,因此一旦它们在周四到期,我将停止该服务,项目将继续作为开源/自带密钥(BYOK)进行。 我将向在积分到期之前注册的每位用户赠送500万代币——无需信用卡。您在注册时选择Cloud选项时,将自动获得这些代币。 代码库: [https://github.com/sinameraji/kimiflare](https://github.com/sinameraji/kimiflare) 安装:npm i -g kimiflare 欢迎随时提问。 附言:我在Kimiflare的前2-3次提交中使用了Claude代码,然后从v0.3.0开始使用Kimiflare自我构建,以实现最大程度的自我使用。这是一次有趣的经历。
查看原文
hey HN, this is sina.<p>i&#x27;ve had some cloudflare credits expiring on may 14 and was wondering what to do with them. when kimi k2.6 dropped and it was available on workers ai, i figured i&#x27;d build an open-source claude code clone with it. didn&#x27;t think too much about it. (people asked if i know about opencode and tbh i learned about them only after i built this. but they seem really brilliant.)<p>anyway, kimiflare is a CLI coding agent, basically claude code but powered by kimi k2.6 on cloudflare workers ai.<p>it&#x27;s at v0.57.0 and has gotten 12k+ npm downloads, 137 github stars, and PRs from 4 contributors (including a zed&#x2F;ACP integration from marshall thompson at featherjs). the credits are the only reason the cloud tier exists, so once they expire on thursday i&#x27;m sunsetting it and the project continues as open source &#x2F; BYOK.<p>i&#x27;m giving away 5M tokens per user to anyone who signs up before the credits expire — no credit card needed. you&#x27;ll automatically get the tokens when you sign up and choose the Cloud option when prompted by the cli.<p>repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;sinameraji&#x2F;kimiflare" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sinameraji&#x2F;kimiflare</a> install: npm i -g kimiflare<p>happy to answer anything.<p>p.s. i used claude code for the first 2-3 commits in kimiflare, then used kimiflare to build itself from v0.3.0 onwards for maximum dogfooding. it&#x27;s been a fun experience.