HackerTrans
热门最新趋势评论往期问答秀出招聘

celrenheit

176 声望加入于 11年前

提交

Show HN:Clawk – 为编码代理提供一次性 Linux 虚拟机,而不是您的笔记本电脑

github.com
177 分·作者 celrenheit·14小时前·140 评论

评论

celrenheit
·11小时前·讨论
[dead]
celrenheit
·11小时前·讨论
事实上,clawk 就是这样运行的:代理进程(claude/codex)在 Linux 客户机的 PTY 上运行,而不是在 macOS 上运行。
celrenheit
·11小时前·讨论
我的荣幸!你可以在这里找到我的分支:https://github.com/clawkwork/gvisor-tap-vsock - 差异很小,只是 TCP/UDP/ICMP 转发器中的一个钩子,在拨号之前咨询允许列表
celrenheit
·12小时前·讨论
mostly macOS out of the box. I've tested it on linux and it worked but it's not my daily driver. I'll make the platform scope clearer in the README
celrenheit
·12小时前·讨论
[dead]
celrenheit
·12小时前·讨论
这有两个方面。首先是安全问题,这一点已经有很多评论涉及到了。第二点,也是对我来说最重要的一点:我的测试会启动 Docker 容器,而我正在构建一个 Kubernetes 工具(argocd/flux 风格),需要在沙箱中建立一个真正的集群。在容器中,这意味着 Docker-in-Docker,这总让人感觉很笨拙。虚拟机只是一个普通的 Linux 盒子,Docker 和 k8s 在其中运行,就像在其他地方一样。独立用户无法做到这一点,它只能共享一个内核和主机上已经安装的任何东西。
celrenheit
·12小时前·讨论
[dead]
celrenheit
·12小时前·讨论
以前没见过yoloai。我真的很喜欢 new/diff/apply/destroy 工作流程,这很有趣。对于我自己的需求,我所追求的两件事是多存储库工作树(一个沙箱跨越多个存储库,每个沙箱都有自己的工作树)和我完全控制的单个网络受限虚拟机路径,而不是许多后端(我一开始有许多后端,但向它们添加网络过滤很尴尬)。
不过,有很多重叠之处,干得好,我会通读你的。
celrenheit
·13小时前·讨论
谢谢你,这意味着很多!
celrenheit
·13小时前·讨论
谢谢!根本没有数据包防火墙,没有 iptables/nftables。在 macOS 上,VM 的 NIC 是 Virtualization.framework 文件句柄设备。该守护进程运行 gvproxy,它会终止来宾的连接并将其重新拨号为主机套接字,因此我在拨号之前使用允许列表进行过滤。
需要注意的是,因为您专门询问了 root:这是 macOS 路径,并且只有在 fd NIC 的情况下它才有效。 Linux 上的 Firecracker 只支持 TAP,需要 root,所以我确实使用了 sudo,但只是针对设备。过滤仍然是相同的用户空间允许列表。
celrenheit
·3个月前·讨论
Launched today, this HN thread is the first public mention. Zero paying users yet, just finished building it over the past few weeks as a solo project.

If you want to try it: code `HNPRELAUNCH` on checkout, first month free, then 19€/mo (cancel anytime from your Stripe receipt). Limited to the first 20 redemptions, expires in a week.

Honest feedback on what breaks would mean a lot.
celrenheit
·3个月前·讨论
The 19€/mo is infra only. Claude Code inside the VM signs in via OAuth to the user's own Anthropic account. I'd love to explore bundling open models (Qwen, etc..) into the subscription down the line, but that needs product validation first, not going to ship something I'm not sure people actually want.
celrenheit
·3个月前·讨论
Shameless plug: https://clawk.work/

`ssh you/repo/[email protected]` → jump directly into Claude Code (or Codex) with your repo cloned and credentials injected. Firecracker VMs, 19€/mo.

POC, please be kind.