Skip to content

VS Code extension that bridges Antigravity sessions to mobile for uploads and voice-to-text

License

Notifications You must be signed in to change notification settings

cafeTechne/antigravity-link-extension

Repository files navigation

Antigravity Link (VS Code Extension)

Open VSX Version Open VSX Downloads GitHub Stars License: MIT

GitHub repo: https://github.com/cafeTechne/antigravity-link-extension

Open VSX: https://open-vsx.org/extension/cafetechne/antigravity-link-extension

Bring your Antigravity sessions to your phone. Upload files, dictate prompts, and control multiple active Antigravity chats from a mobile-friendly interface.

Who this is for

  • Teams who want a simple, secure mobile companion for Google's Antigravity IDE.
  • Power users who want fast uploads and voice-to-text on the go.
  • New developers who want a zero-config way to interact with a running Antigravity session.

What you get

  • File upload into the active Antigravity chat.
  • Voice-to-text input from mobile (HTTPS required for mic permissions).
  • Active instance switching for multiple Antigravity windows.
  • Local-only server with token authentication.

Demo photos

Demo 1 Demo 2 Demo 3
Demo 4 Demo 5 Demo 6
Demo 7

Quick start

  1. Start Antigravity with remote debugging enabled. This is required; sessions launched without this flag are not discoverable by the extension.

Example (Windows, Start Menu shortcut path):

& "C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Antigravity\Antigravity.lnk" --remote-debugging-port=9000

Replace <username> with your Windows username. Multiple Antigravity sessions are supported, but every window must be launched with this command.

  1. In VS Code, run: Antigravity Link: Start Server

  2. Then run: Antigravity Link: Show QR Code

  3. Scan the QR code with your phone. Your mobile UI is ready.

  4. Your phone may warn that the connection is unsafe because the certificate is self-signed. This is expected for local HTTPS. Use your browser's "Advanced" or similar option to proceed (wording differs between Safari/Chrome/Firefox).

Commands

Command Description
Antigravity Link: Start Server Starts the local bridge server.
Antigravity Link: Stop Server Stops the server.
Antigravity Link: Show QR Code Displays the connection QR code.

Settings

Setting Default Description
antigravityLink.port 3000 Port for the local bridge server.
antigravityLink.autoStart false Start the server on VS Code launch.
antigravityLink.useHttps true Serve over HTTPS for mic access.

Standalone vs workspace assets

This extension is self-contained. It ships its own public/ assets and uploads/ folder and does not require the parent npm run dev build.

If your workspace contains public/ or uploads/, the extension will prefer those paths automatically. This makes it easy to customize the mobile UI or keep uploads in your project root, but it also means behavior can differ between workspaces.

How it works (high level)

  • The extension starts a local server (HTTP or HTTPS).
  • It discovers Antigravity targets via the Chrome DevTools Protocol (CDP).
  • Your phone connects to the mobile UI and sends upload/command requests.
  • The extension injects into the selected chat target and saves files to uploads/.

Security and privacy

  • The server runs locally and is authenticated with a token.
  • HTTPS is enabled by default to allow microphone access on mobile.
  • No data is sent to third-party services by this extension.

Troubleshooting

  • No instances found: Make sure every Antigravity window was launched with the --remote-debugging-port command shown above.
  • Can't connect from mobile: Ensure your phone and computer are on the same network.
  • Uploads save but don't appear in chat: Switch to the correct Active Instance in the mobile UI.

FAQ

  1. It does not work unless Antigravity is launched with the debug port. Use the exact launch command shown in the Quick start section. Any Antigravity window started without --remote-debugging-port cannot be discovered or controlled.

  2. Can I run multiple sessions? Yes. Multiple Antigravity windows are supported as long as each one is launched with the command shown above.

Contributing

We are accepting pull requests and actively looking for contributors. If you want to help, check the TODOs in the codebase or open an issue to discuss ideas. See CONTRIBUTING.md for setup and PR notes.

License

MIT. See LICENSE.

Acknowledgments

Inspired by early community projects including: