{"id":33326774,"url":"https://github.com/elad12390/antigravity-proxy","last_synced_at":"2026-03-01T22:04:53.577Z","repository":{"id":325255804,"uuid":"1100457766","full_name":"elad12390/antigravity-proxy","owner":"elad12390","description":"Intercept Google Antigravity IDE API calls and use your own Gemini API token","archived":false,"fork":false,"pushed_at":"2025-11-20T10:00:10.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-20T12:03:01.827Z","etag":null,"topics":["antigravity","api-interception","gemini-api","https-proxy","mitm","mitmproxy","proxy","python","ssl-interception"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elad12390.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-20T09:59:35.000Z","updated_at":"2025-11-20T11:00:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/elad12390/antigravity-proxy","commit_stats":null,"previous_names":["elad12390/antigravity-proxy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/elad12390/antigravity-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elad12390%2Fantigravity-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elad12390%2Fantigravity-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elad12390%2Fantigravity-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elad12390%2Fantigravity-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elad12390","download_url":"https://codeload.github.com/elad12390/antigravity-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elad12390%2Fantigravity-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29986242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T21:06:37.093Z","status":"ssl_error","status_checked_at":"2026-03-01T21:05:45.052Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antigravity","api-interception","gemini-api","https-proxy","mitm","mitmproxy","proxy","python","ssl-interception"],"created_at":"2025-11-20T12:00:22.319Z","updated_at":"2026-03-01T22:04:53.570Z","avatar_url":"https://github.com/elad12390.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Antigravity Proxy\n\n\u003e **STATUS: Work In Progress - NOT WORKING**\n\nA MITM proxy experiment to intercept Google Antigravity IDE API calls and use your own Gemini API token.\n\n## Current Status\n\n**This project does not work with the current version of Antigravity.**\n\n### Why It Doesn't Work\n\n1. **Antigravity doesn't use the public Gemini endpoint** (`generativelanguage.googleapis.com`)\n   \n2. **It uses an internal Google endpoint:**\n   ```\n   https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:streamGenerateContent?alt=sse\n   ```\n\n3. **The connection flow is more complex** - there's a handshake followed by a socket-based/TLS flow, so a basic proxy setup won't reliably intercept the traffic.\n\n### What Was Attempted\n\n- MITM proxy with mitmproxy\n- HTTP_PROXY/HTTPS_PROXY environment variables\n- DNS-level interception via /etc/hosts\n- Binary patching of the language server\n\nNone of these approaches successfully intercept and modify the API requests.\n\n## Repository Contents\n\nThis repo contains the experimental code and documentation from the investigation:\n\n- `mitmproxy-addon.py` - The proxy addon (works for standard googleapis.com, not Antigravity's internal endpoint)\n- `docs/` - Documentation from the investigation\n- `scripts/` - Helper scripts\n\n## Contributing\n\nPRs welcome if someone wants to investigate further. Key areas to explore:\n\n1. How does Antigravity establish the connection to `daily-cloudcode-pa.sandbox.googleapis.com`?\n2. Is there certificate pinning involved?\n3. Can the binary be patched to use a different endpoint?\n\n## Related Issues\n\n- [Issue #1: Working or WIP?](https://github.com/elad12390/antigravity-proxy/issues/1)\n\n## License\n\nMIT License - see [LICENSE](LICENSE)\n\n## Disclaimer\n\nThis project is for educational and research purposes only. Ensure compliance with:\n- [Google's Terms of Service](https://policies.google.com/terms)\n- [Gemini API Terms](https://ai.google.dev/gemini-api/terms)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felad12390%2Fantigravity-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felad12390%2Fantigravity-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felad12390%2Fantigravity-proxy/lists"}