Skip to content

wang-muhan/antigravity-interface

Repository files navigation

Antigravity Interface (AGI)

English · 简体中文

Version GitHub stars GitHub issues License

Proxy interface for Antigravity. Bypass server firewalls by securely routing remote traffic through local or designated gateways.

Note: This version only supports Linux remote servers.


Features

  • Automated Proxy Setup: Deploys mgraftcp and configures proxies automatically.
  • SSH Reverse Tunnel: Routes traffic through your local proxy via SSH port forwarding.
  • Process Redirection: Automatically intercepts and redirects language server processes.

Quick Start

  1. Install the Antigravity Interface extension on your local Antigravity.
  2. Connect to your remote Linux server using Antigravity Remote - SSH.
  3. Install the extension again on the remote server (found in the Extensions view under the SSH section).
  4. Execute the Developer: Reload Window command (or restart Antigravity) to ensure all services are properly initialized.
  5. Configure your localProxyPort in settings (e.g., 7890) to match your local proxy service.

Extension Settings

Setting Description
enableLocalForwarding Enable SSH reverse tunnel forwarding.
localProxyPort Local proxy port on your computer.
remoteProxyHost Proxy host address on the remote server.
remoteProxyPort Proxy port on the remote server.

Requirements

  • SSH access to the remote server.
  • Linux remote server (x86_64 or arm64).
  • A local proxy running on your computer (e.g., Clash, V2Ray).