AIBoxPro搜索工具
AI 资讯/Show HN: OpenGravity – A zero-install, BYOK vanilla JS clone of Antigravity
AI公司动态2026年5月11日 20:23来源:Hacker News

Show HN: OpenGravity – A zero-install, BYOK vanilla JS clone of Antigravity

快速了解

<p>Hi. I’m a high school student studying for my GCSEs. I was using Google Antigravity heavily for my side projects, but I kept hitting the usage limits, and getting random "agent terminated" errors. So I decided to try build my own version of the IDE. I love the UI, so I copied it as accurately as possible, and then hooked up some logic into it, including the INCREDIBLY finicky webcontainer api.<p>I tried to keep it super lightweight, no build steps, or dependencies, and now that its open source, I'm hoping people can build things on top of it that arent possible with closed source tools, like complex custom agent workflows.<p>Some screenshots: - <a href="https://github.com/ab-613/OpenGravity/blob/main/examples/screenshot.png?raw=true" rel="nofollow">https://github.com/ab-613/OpenGravity/blob/main/examples/scr...</a> - <a href="https://github.com/ab-613/OpenGravity/blob/main/examples/html%20site%20example.png?raw=true" rel="nofollow">https://github.com/ab-613/OpenGravity/blob/main/examples/htm...</a><p>What it's made from:<p>- Pure Vanilla JS: no react, vue, or build step. Built entirely in plain HTML/CSS/JS to keep it super lightweight.<p>- WebContainer API and xterm.js: Instead of faking a terminal, I (after much pain) hooked up the WebContainer API so the AI agent has a real, in browser linux environment to run shell commands, install dependencies, and edit local files.<p>- BYOK (Bring Your Own Key): API key ALWAYS stays in localStorage.<p>Whats currently happening:<p>- It works, but it's an alpha. The AI can proactively start projects going properly and edit files, but because I built this over a few days before my exams, a lot of the UI dropdowns and buttons are currently just hardcoded placeholders.<p>- I’m open sourcing it early because I think the foundation of a Vanilla JS + WebContainer IDE is really strong, and I'd love to see where the community takes it while I'm doing my exams.<p>- Live demo: <a href="https://opengravity.pages.dev" rel="nofollow">https://opengravity.pages.dev</a> (Zoom out to 80% if not full screen. It will prompt for a gemini api key on load). Start by uploading a folder, then you can fiddle with the terminal and agent, and see how it goes!<p>Would love to hear feedback on the code, the WebContainer integration, or how to improve the agent loop!</p> <hr> <p>Comments URL: <a href="https://news.ycombinator.com/item?id=48100192">https://news.ycombinator.com/item?id=48100192</a></p> <p>Points: 62</p> <p># Comments: 19</p>

🔗 延伸阅读

阅读原文
Hacker News
分享给朋友

📰 你可能也感兴趣

靠AI把股价干涨735%,这家公司开始成批裁掉可替代岗,全员招聘须CEO点头

AI公司动态2026年5月11日 15:54

OpenAI校园网络:学生社团兴趣表

AI公司动态2026年5月11日 10:00

波兰电商平台Allegro与OpenAI达成合作,将生成式AI引入购物体验

AI公司动态2026年5月11日 09:19

2500亿美元的xAI死了,但SpaceXAI的算力游戏才刚开始

AI公司动态2026年5月11日 03:14

摩根大通再次上调韩国Kospi指数目标位,称存储芯片周期等因素构成利好

AI公司动态2026年5月11日 03:08