Is it possible to monitor provider like Antigravity in a server? #15
-
|
I wonder if it is possible to monitor Antigravity from a server or device with no Antigravity installed/opened? I primarily use the AG in my main devices, but I want to monitor its usage from a single device (e.g. my home server). Is it possible to do this? If yes, what should I set up in the server? This tool seems to be the replacement of OpenUsage. Kudos and nice work! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hey @KennFatt, thanks for the kind words! Short answer: You can't monitor Antigravity remotely from a device that doesn't have it installed - onWatch works by auto-detecting the locally-running Antigravity language server process on the same machine. However, you can install Antigravity on your home server and log into your account there. Once it's running, onWatch will auto-detect the process and track your quotas automatically. Setting up Antigravity on your server
Setting up onWatchOnce Antigravity is running on the same machine: # In ~/.onwatch/.env
ANTIGRAVITY_ENABLED=trueThen start onWatch: onwatchIt automatically finds the running Antigravity process, extracts the connection details, and starts monitoring - no manual token setup needed. Other providersA similar approach works for Claude Code and Codex too - install the CLI on your server, log in, and onWatch will auto-detect the credentials from local config files. For Copilot and Z.ai, you just need API tokens set as env vars - no local CLI installation needed. Hope that helps! Let me know if you run into any issues. |
Beta Was this translation helpful? Give feedback.
Hey @KennFatt, thanks for the kind words!
Short answer: You can't monitor Antigravity remotely from a device that doesn't have it installed - onWatch works by auto-detecting the locally-running Antigravity language server process on the same machine.
However, you can install Antigravity on your home server and log into your account there. Once it's running, onWatch will auto-detect the process and track your quotas automatically.
Setting up Antigravity on your server