frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/ab-613/opengravity
6•ab613•1h ago
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

kushalpandya•9m ago
Should've named it ZeroGravity to stay true to its design goals.
ab613•2m ago
that... is a way better name. I might honestly have to rename the repo to that after I finish my exams!
ab613•4m ago
Edit: A mod suggested I add in how I actually use this! Right now, its honestly just a massive side project that serves as a fun distraction from my GCSE revision. But I mainly use it to test out quick HTML/CSS/JS ideas in my browser when I get an idea, without needing to boot up a full dev environment or worry about rate limits.

Byron Allen to Buy a Controlling Stake in BuzzFeed

https://www.nytimes.com/2026/05/11/business/media/buzzfeed-byron-allen.html
1•jaredwiener•49s ago•0 comments

Coloradan can plug his brain into a computer

https://www.denverpost.com/2026/05/10/colorado-brain-computer-interface/
1•rolph•2m ago•0 comments

Through the looking glass of benchmark hacking

https://poolside.ai/blog/through-the-looking-glass
1•jxmorris12•3m ago•0 comments

Meta-Meta-Prompting: The Secret to Making AI Agents Work

https://twitter.com/garrytan/status/2053127519872614419
1•gmays•4m ago•0 comments

Why Airport Security Feels Random

https://yusufaytas.com/why-airport-security-feels-random
5•legallytired•8m ago•0 comments

Dead internet theory: AI-generated articles using MCP [video]

https://vimeo.com/1191324557
1•linksku•10m ago•0 comments

No more Access Denied – I am TrustedInstaller(2023)

https://fourcore.io/blogs/no-more-access-denied-i-am-trustedinstaller
1•rolph•10m ago•0 comments

AI Hype vs. AI Reality

https://fixingtao.com/2026/05/ai-hype-vs-ai-reality/
1•gslepak•12m ago•0 comments

Agent View in Claude Code

https://claude.com/blog/agent-view-in-claude-code
2•elffjs•13m ago•0 comments

New US counterterror strategy focuses on cartels but omits right-wing extremism

https://www.pbs.org/newshour/show/new-u-s-counterterror-strategy-focuses-on-drug-cartels-but-omit...
3•latexr•18m ago•1 comments

TanStack NPM Packages Compromised

https://github.com/TanStack/router/issues/7383
7•varunsharma07•19m ago•0 comments

I Built an AliExpress Homelab, Is It Surprisingly Good or Total E-Waste?

https://the-diy-life.com/i-built-an-aliexpress-homelab-is-it-surprisingly-good-or-total-e-waste/
1•bdcravens•19m ago•0 comments

From E-Waste to AI Powerhouse: Upcycling Smartphones for On-Device AI

https://www.gesellschaft-zur-entwicklung-von-dingen.de/challenge
2•luckow•20m ago•1 comments

Ads Are Coming to Apple Maps This Summer: Here's What to Expect

https://www.macrumors.com/2026/04/24/apple-maps-ads-what-to-expect/
3•celsoazevedo•20m ago•0 comments

Apple's iOS 26.5 Update Patches More Than 50 Security Flaws

https://www.macrumors.com/2026/05/11/ios-26-5-security-fixes/
1•celsoazevedo•22m ago•1 comments

Manuals Plus: The Wrap-Up

https://ascii.textfiles.com/archives/5833
1•kencausey•22m ago•0 comments

I let AI build a tool to help me figure out what was waking me up at night

https://martin.sh/i-let-ai-build-a-tool-to-help-me-figure-out-what-was-waking-me-up-at-night/
4•showmypost•24m ago•0 comments

People turning to gambling or fraud in response to rigged/unfair system

https://greyenlightenment.com/2026/05/04/people-turning-to-gambling-or-fraud-in-response-to-rigge...
2•paulpauper•24m ago•0 comments

Teen Boys and Young Men Are Injecting Peptides in Search of Perfection

https://www.wsj.com/health/wellness/boys-peptides-stacks-looksmaxxing-trevor-larcom-835e58cd
2•JumpCrisscross•25m ago•0 comments

Stay indoors warning issued across three US states as toxic smog fills the air

https://www.dailymail.com/sciencetech/article-15809079/stay-indoors-warning-arizona-texas-califor...
1•Bender•25m ago•0 comments

Linux 7.1-Rc3 Released with Many Networking Changes

https://www.phoronix.com/news/Linux-7.1-rc3-Released
1•Bender•27m ago•0 comments

Linux 7.0.6 Released to Finish Mitigating the Dirty Frag Vulnerability

https://www.phoronix.com/news/Linux-7.0.6-Released
1•Bender•28m ago•0 comments

Cash register makers seek 1% food tax rate, citing extra time needed for 0% rate

https://www.japantimes.co.jp/news/2026/04/29/japan/politics/japan-food-tax-cut-challenges/
4•PaulHoule•28m ago•1 comments

Native Instruments Is Bought Out

https://www.the-berliner.com/berlin/native-instruments-sold-to-inmusic/
2•mrzool•29m ago•0 comments

Token Budgeting: How to Think About AI Cost Control

https://www.vantage.sh/blog/ai-token-budgeting
1•StratusBen•30m ago•0 comments

The 45% Hidden ROI of Automation No One Puts in the Business Case

https://sneakbug8.com/vertical-spillover-effect/
1•SneakBug8•31m ago•0 comments

Beneath the Linux surface: the Unix legacy, a lively ecology

https://club.unix.rocks/commentary/under-linux/
1•fcambus•31m ago•0 comments

Seeking technical co-founder (USA) – B2B global trade platform

https://www.ventraa.com/
1•rithwik29345•31m ago•0 comments

Kicking the Tires: A Voluntary Path to Pre-Deployment AI Vetting

https://www.lawfaremedia.org/article/kicking-the-tires--a-voluntary-path-to-pre-deployment-ai-vet...
1•yurivish•31m ago•0 comments

What breaks when you ask an LLM for JSON (288 model outputs tested)

https://thecrosswalk.news/what-breaks-when-you-ask-an-llm-for-json/
2•ndcorder•31m ago•0 comments