Need to go to the bathroom? But Opus 4.5 might be done with that big task soon? Want to eat lunch? But there's more tokens left before they reset right after lunch?
A real-time mobile interface for monitoring and interacting with Antigravity chat sessions.
It's a simple system, but pretty hacky.
The mobile monitor operates through three main components:
The server connects to Antigravity via Chrome DevTools Protocol (CDP) and periodically captures snapshots of the chat interface:
- Captures all CSS styles to preserve formatting, sends CSS only once bc its huge
- Captures the HTML of the chat interface
- Buttons and everything that you wont be able to click
- Polls every 3 seconds and only updates when content changes
Antigravity must be run in chrome with remote debugging enabled. Messages typed in the mobile interface are injected directly into Antigravity:
- Locates the Antigravity chat input editor
- Inserts the message text and triggers submission
- Handles the input safely without interfering with ongoing operations
A lightweight web server provides the mobile UI:
- WebSocket connection for real-time updates
- Auto-refresh when new content appears
- Send messages directly from your phone
Start Antigravity with Chrome DevTools Protocol enabled:
antigravity . --remote-debugging-port=9000(You will get this message: "Warning: 'remote-debugging-port' is not in the list of known options, but still passed to Electron/Chromium." that's fine)
npm installnode server.jsOpen your browser in the bathroom and navigate to:
http://<your-local-ip>:3000
Problems setting up? Don't know how to do a step? Can't find an explanation? Open Shit-Chat folder in antigravity and tell the agent what issues you are having. It can read the code in one go.
This is over local network, so it will not work if you are on a different network, unless you use a VPN or tailscale or something.
I have tried keeping it simple and not adding any extra features, but if you want to add more features, feel free to do so, because of how simple it is it should be pretty easy. You might just want to use the server.js and just use the API it exposes to interact with open chatwindows with your own client.