展示HN:随意编码会造成混乱,但可以更快地解决。
我已经使用 Cursor、Co-Pilot、ChatGPT、Claude 等工具有一段时间了,现在我们可以通过几个提示“随意编码”整个应用,从构想到执行。<p>我个人尝试过创建一些解决我小问题的副项目,但总是卡在某个点上,陷入无尽的问题循环,无法自行解决。<p>作为一名开发者,我可以更容易地深入代码,自己解决问题,但理解 AI 为我编写的所有代码需要花费大量时间。如果我想继续“随意编码”,我会给它发送我当前网页视图的截图,以及控制台日志,甚至是与某些 API 连接时的网络请求。<p>但即便如此,这也需要相当多的手动努力和时间,因此我决定为自己解决这个问题,创建了 Composer Web(https://github.com/saketsarin/composer-web)。<p>它通过一键将所有日志、请求和网页截图直接发送到你的 Cursor 聊天中,解决了这个问题,且用时不到一秒。<p>我将其开源,反响相当不错。因此,我希望找到一些人来帮助我维护并进一步开发,以支持更多用例,比如 iOS 模拟器日志、AWS 云控制台日志,甚至扩展支持其他开源 IDE,如 Cline、Aider 等。<p>我也欢迎你们对我提出任何反馈和建议。所以请随时在这里评论,或在 GitHub 仓库提供的 Discord 上联系我。<p>希望这能让你的随意编码过程更加轻松、无忧 :D
查看原文
I've been using Cursor, Co-Pilot, ChatGPT, Claude and what not since quite some time now, and we are at a stage where we can just "vibe code" whole apps from idea to execution in a few prompts.<p>I tried this personally to create some side projects that solved little problems for me. But I always got stuck at a point where it just goes into an infinite loop of issues and can't solve the issue by itself.<p>Well I'm a developer, so it's easier for me to dive into the code and solve the problem myself, but that would take a hell lot of time to understand all the code AI wrote for me. If I keep wanna "vibing", I would just give it the screenshot of my current webpage view along with the console logs, and even network requests if its connected to some APIs<p>But even this took quite some manual effort and time, so I decided to solve this problem for myself when I created Composer Web (https://github.com/saketsarin/composer-web)<p>It solves that problem seamlessly by sending all your logs, reqs, and screenshot of your webpage altogether directly to your cursor chat, in just one-click and LESS THAN A SECOND.<p>I made this open source and it kinda blew up. So I'm looking for people to help me maintain this and build it further for more use cases like iOS Simulator logs, AWS Cloud Console logs and even extend the support to other open source IDEs like Cline, Aider, etc.<p>I'm also open to any feedback and suggestions you have for me. So feel free to comment here, or ping me on the discord given on the github repo<p>Hope it makes your vibe coding flow even easier and hassle-free :D