Live data from Hacker News

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

github.com

31–39 of 39 posts

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

#31
post #18

Wow, I can't believe this hit the front page! Its past midnight here in the UK and I have to be up early for GCSEs, so I'm heading to sleep. I'll read and reply to all your comments and questions first thing in the morning! Thank you all so much for the amazing feedback and stars so far.

Best of luck to you! My son is doing them too. This is a great project btw. Doing this sort of stuff teaches you far better than endless lessons.

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

#34

Nice project. For the agent loop, the two UX pieces I'd make impossible to miss are: 1) a plan/checkpoint before file writes, and 2) a diff/revert view after each tool run. WebContainer is great for "run it and see", but state can get fuzzy fast. The more the UI shows exactly what changed and why, the safer it feels to trust the agent.

This is very helpful feedback. You're totally right, when WebContainers run a real environment, the state gets fuzzy fast. A diff/revert view before the agent executes would be a good idea to implement into the UI to build trust. I'm going to open a github issue for this right now so hopefully someone in the community can pick it up while I'm revising!

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

#35
post #23

But... does it clone Antigravity's commitment to storing keys at well known locations on disk in plain text?

haha, definitely not! That was one of my main motivations for the BYOK approach. In OpenGravity, your API key stays on local storage the whole time, nothing to do with a server!

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

#36
post #18

Wow, I can't believe this hit the front page! Its past midnight here in the UK and I have to be up early for GCSEs, so I'm heading to sleep. I'll read and reply to all your comments and questions first thing in the morning! Thank you all so much for the amazing feedback and stars so far.

You're gonna smash it. Regardless of what your GCSE results are, stuff like this is what will take you far in life. All the best for your exams, but don't lose any sleep over them either.

Thank you so much! I really appreciate it!

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

#37

Is there any other editor that comes close to JetBrain's Git integration? All I see is forks of forks of VSCode, and I'm wondering what the incremental gain of yet another does-the-basic-text-editing editors we need. This is in no way directed at OP, but it seems like a lot of wheels spinning around the world and surprisingly little progress at the Pareto limit.

Just to clarify on the vscode point, this actually isn't a vscode fork at all! It's built entirely from scratch in plain HTML/CSS/vanilla JS. But I completely agree about git UI, getting a really clean intuitive git integration working with the WebContainer filesystem is a huge priority for the roadmap.

But with the source being so light, it should hypothetically be very easy to implement features such as this nicely, without the massive overhead of navigating a HUGE codebase.

When you properly fork vscode, you have to wrestle with millions of lines of TS, strict extension APIs, complex IPC layers, and deep dependency injection trees just to change core UI behaviors.

(I googled that)

With OpenGravity, because it's just DOM manipulation and straightforward JS, adding custom native UI for Git would be way way simpler to wire up!

If you want to take a stab at implementing it, PRs are definitely welcome!

Post reply on HN