ythx-101 / grok-bridge
Local REST API + CLI bridge for Grok on macOS: drives your signed-in grok.com Safari tab via AppleScript JavaScript injection so scripts and AI agents can query Grok without an API key. Python stdlib only, no Accessibility permission by default, binds 127.0.0.1. 把 Safari 里的 Grok 变成本地 API。
Why this job: works in the areas we cover, but does not say which job it does
What it does
Use --doctor --json when another tool or agent needs structured setup diagnostics.
Get started
python3 scripts/grok_bridge.py --doctor You need: macOS with Safari; Logged into grok.com (free or SuperGrok); Safari > Settings > Advanced > Show features for web developers ✓
- Maintenance
- Active
- Last commit 2 days ago
- Stars
- 163
- On GitHub
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v3.1.1
- Released 6 months ago
- Built with
- Python
- 84% of the code
Is it looked after?
- Contributors
- 1
- Last 90 days
- Issues
- 80% closed
- 1 still open
- Pull requests
- 0 merged
- 0 waiting
- Releases
- 2
- 2 in the last year
- No contributing guide
- No security policy
- No code of conduct
More: languages, topics and project record
Languages
- Python 84%
- Shell 16%
Topics
- ai-agents
- ai-tools
- applescript
- browser-automation
- cli
- grok
- grok-api
- javascript-injection
- llm
- local-api
- macos
- python
Project record
- JobOther AI tools
- StatusListed
- Commits11
- Forks24
- Watching1
- Stars in 28 days+1
- CreatedMar 6, 2026
- First seen by usNov 14, 2026
- CheckedNov 14, 2026
