8000
Skip to content

s403o/ground-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Ground Control (to Major Tom)

"Take your protein pills and put your helmet on." A zero-trust local script to check if your Antigravity quotas are still floating or crashing back to Earth.

Terminal Output of Ground Control

πŸ“‘ What is this?

You're a vibe coder. You don't need a heavy browser extension spying on your code. You just need a quick vibe check on your usage limits.

This script hijacks your local language_server connection (politely) to tell you exactly how much juice you have left.

⚑️ Quick Start

Copy-paste this into your terminal while Antigravity is open. No install wizard, no nonsense.

# 1. Grab the script
curl -o check_quotas.sh https://raw.githubusercontent.com/s403o/ground-control/main/check_quotas.sh

# 2. Make it run
chmod +x check_quotas.sh

# 3. Launch!
./check_quotas.sh

πŸ›  How It Works (The Magic)

  1. πŸ•΅οΈβ€β™‚οΈ Spy Mode: Finds the hidden language_server process on your machine.
  2. πŸ”‘ Lockpick: Extracts the ephemeral CSRF token straight from the process arguments.
  3. πŸ”Œ Wiretap: Scans local ports to find where the server is listening.
  4. πŸ“ž Phone Home: Calls the local gRPC endpoint directly (localhost only, promise!).
  5. 🎨 Vibe Check: Renders a beautiful ASCII bar chart because we like pretty things.

πŸ“Š The Goods

  • Zero Config: It just works.
  • Privacy First: What happens on localhost, stays on localhost.
  • Detailed Metrics:
    • Plan Status: Are you Pro or No?
    • Reset Timer: Exact countdown to the second.
    • Visual Bars: Green means go, Red means stop coding and touch grass.

πŸ“‹ Requirements

  • macOS or Linux
  • curl (you have this)
  • jq (you might need this: brew install jq)
  • lsof (standard issue)

🀝 Troubleshooting

"It says 'Could not find process'?"

Antigravity needs to be open, chief. If the IDE is closed, the server is dead.

"jq not found?"

Yeah, you need jq. It's like sed but for JSON and actually readable. brew install jq


Verified for Antigravity v0.1+

About

πŸš€ Zero-trust local script to vibe-check your Antigravity quotas. No extensions, no APIs, just localhost magic.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

0