Show HN: OpenGravity – A zero-install, BYOK vanilla JS clone of Antigravity
By
ab613
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.
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.
Some screenshots: - https://github.com/ab-613/OpenGravity/blob/main/examples/scr... - https://github.com/ab-613/OpenGravity/blob/main/examples/htm...
What it's made from:
- Pure Vanilla JS: no react, vue, or build step. Built entirely in plain HTML/CSS/JS to keep it super lightweight.
- 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.
- BYOK (Bring Your Own Key): API key ALWAYS stays in localStorage.
Whats currently happening:
- 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.
- 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.
- Live demo: https://opengravity.pages.dev (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!
Would love to hear feedback on the code, the WebContainer integration, or how to improve the agent loop!
Comments URL: https://news.ycombinator.com/item?id=48100192
Points: 4
# Comments: 1
You might also wanna read

Google Launches Antigravity: Agent-First Development Tool Powered by Gemini 3 Pro
Google has announced Antigravity, a new development tool that uses Gemini 3 Pro and other third-party models to create an 'agent-first' codi
Open Computer Use: Open-Source Desktop Automation Tool for AI Agents via MCP
Open Computer Use is an open-source tool that turns local desktop automation into a standard MCP (Model Context Protocol) service. It allows
mi: A 30-line zero-config CLI autonomous coding agent for bug fixes and refactoring
mi is a minimalist 30-line autonomous coding agent that functions as a zero-config CLI tool for bug fixes and refactoring. Built as a single
