HackerTrans
トップ新着トレンドコメント過去質問紹介求人

ab613

no profile record

投稿

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

github.com
106 ポイント·投稿者 ab613·2 か月前·30 コメント

コメント

ab613
·2 か月前·議論
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!
ab613
·2 か月前·議論
Thank you so much! I really appreciate it!
ab613
·2 か月前·議論
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!
ab613
·2 か月前·議論
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!
ab613
·2 か月前·議論
[dead]
ab613
·2 か月前·議論
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.
ab613
·2 か月前·議論
I completely agree! Its so frustrating that providers (google, openai, anthropic) silo their $20/month consumer subscriptions away from their API access. It would be amazing if paying that flat fee gave you a 'personal API key' to use in open source UIs like this.

Unfortunately, we're stuck with standard API keys for now. Though I believe that google aistudio has decent free limits on gemini 3 flash with the free api keys? If you're just doing personal coding, you can easily plug a free api key into OpenGravity and basically use it as much as you want without paying a dime!

(I think its like 250 requests per day maybe?)
ab613
·2 か月前·議論
Just realised, I was worried that the logo I made (see README) wouldnt work with this name, but then I realised it could actually go quite well being a "0"! (And yes, I know, it looks a bit like an avocado...)
ab613
·2 か月前·議論
Haha exactly! 'yeah, no IDE installed, just coding in zero gravity.' I might actually have to rebrand it this weekend then.
ab613
·2 か月前·議論
Thanks so much! Going to need it haha.
ab613
·2 か月前·議論
that... is a way better name. I might honestly have to rename the repo to that after I finish my exams!
ab613
·2 か月前·議論
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.