chad-bridge
v0.1.0
Published
Connect your local machine to Chad AI on disclosedcapitol.com
Maintainers
Readme
Chad Bridge
Connect your local machine to Chad AI — give Chad access to your filesystem, terminal, and git.
Quick Start
npx chad-bridge --key dc_your_api_keyOr install globally:
npm install -g chad-bridge
chad-bridge --key dc_your_api_key --dir /path/to/projectWhat it does
Chad Bridge creates a secure WebSocket connection between your local machine and Chad AI. This lets Chad:
- Read your code — understand your project structure and file contents
- Write files — create and edit code directly on your machine
- Run commands — execute terminal commands (with your approval)
- Git operations — status, diff, commit, push (writes require approval)
Approval Model
| Action | Auto-Approved | |--------|:---:| | Read files | ✅ | | List directories | ✅ | | Search files | ✅ | | Git status/diff/log | ✅ | | Write/edit files | ❌ | | Delete files | ❌ | | Run commands | ❌ | | Git commit/push | ❌ | | Install dependencies | ❌ |
Write operations show a prompt in your browser and terminal. You must approve before they execute.
Options
-k, --key <key> API key from disclosedcapitol.com/account (required)
-d, --dir <directory> Working directory (default: current directory)
--auto-approve Auto-approve all commands (use with caution)
-v, --verbose Verbose loggingGet your API key
- Go to disclosedcapitol.com/account
- Create an API key
- Use it with
--key
Security
- All communication is encrypted (WSS)
- Write operations require explicit approval
- Bridge only accesses the directory you specify
- No data is stored on our servers — commands execute on your machine
- You can disconnect at any time with Ctrl+C
