mirror of
https://github.com/blackboxprogramming/context-bridge.git
synced 2026-03-16 23:57:16 -05:00
Agent Coordination: - Epimetheus (Architect) identity assigned and registered - Connected to PS-SHA-∞ memory system (4,059 entries) - Task claimed from marketplace - Broadcasting to other agents Launch Documentation Created: - PUBLISH_TO_NPM.md - Complete npm publishing guide - STRIPE_LIVE_SETUP.md - Stripe live mode setup guide - AGENT_COORDINATION_REPORT.md - Full status and next steps - EPIMETHEUS_SESSION_COMPLETE.md - Session summary - Added all previous documentation to repo Launch Status: 98% Complete Blocked on: User actions (npm login + Stripe products) Ready: Screenshots, testing, submissions, announcements Next Steps: 1. User: npm login && npm publish (10 min) 2. User: Create Stripe products (5 min) 3. Capture 5 screenshots (15 min) 4. Manual testing on 4 platforms (20 min) 5. Submit to Chrome Web Store (30 min) 6. Launch announcements (10 min) Total time to launch: ~90 minutes Agent Body: qwen2.5-coder:7b (open source) Memory Hash: 4e3d2012 Collaboration: ACTIVE Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Context Bridge Browser Extension
One-click context injection for AI assistants
A Chrome/Edge extension that adds an "Insert Context" button to Claude, ChatGPT, Copilot, and Gemini.
Features
- ✨ One-Click Injection: Button appears in AI chat interfaces
- 🎯 Works Everywhere: Claude, ChatGPT, Copilot, Gemini
- 🔄 Persistent: Set once, use everywhere
- 🎨 Beautiful UI: Gradient button that matches Context Bridge branding
- ✅ Visual Feedback: Shows when context is injected
- 📋 Clipboard Support: Copy your context URL easily
Supported AI Platforms
- ✅ Claude.ai - claude.ai
- ✅ ChatGPT - chat.openai.com, chatgpt.com
- ✅ Microsoft Copilot - copilot.microsoft.com
- ✅ Google Gemini - gemini.google.com
Installation
From Chrome Web Store (Coming Soon)
- Visit Chrome Web Store
- Click "Add to Chrome"
- Done!
Manual Installation (For Testing)
- Clone this repo or download the
extension/folder - Open Chrome and go to
chrome://extensions - Enable "Developer mode" (top right)
- Click "Load unpacked"
- Select the
extension/directory - Done!
Setup
1. Get Your Context URL
Option A: Use the CLI (recommended)
npm install -g @context-bridge/cli
context login
context init
context url --raw
Option B: Use the Website
- Go to context-bridge.pages.dev
- Create your context
- Copy the raw URL
2. Configure Extension
- Click the Context Bridge icon in your browser toolbar
- Paste your context URL
- Click "Save"
3. Use It!
- Go to Claude, ChatGPT, or any supported AI
- Look for the colorful "Insert Context" button
- Click it to inject:
Read [your-url] first, then help me with: - Continue typing your question!
How It Works
- Content Scripts: Injected into each AI platform
- Button Injection: Finds the input area and adds the button
- URL Storage: Your context URL is stored via
chrome.storage.sync - Context Insertion: Clicking the button inserts the context message
- Visual Feedback: Button shows checkmark when context is inserted
Development
Structure
extension/
├── manifest.json # Extension manifest (V3)
├── background/
│ └── service-worker.js # Background logic
├── content/
│ ├── claude.js # Claude content script
│ ├── chatgpt.js # ChatGPT content script
│ ├── copilot.js # Copilot content script
│ ├── gemini.js # Gemini content script
│ └── styles.css # Shared styles
├── popup/
│ ├── popup.html # Extension popup
│ ├── popup.css # Popup styles
│ └── popup.js # Popup logic
└── icons/ # Extension icons
Testing
- Load unpacked extension
- Set a test context URL
- Visit each supported AI platform:
- claude.ai
- chat.openai.com
- copilot.microsoft.com
- gemini.google.com
- Verify button appears
- Click button and verify text insertion
- Check visual feedback (checkmark)
Debugging
Check if loaded:
// In console on AI platform
console.log('Context Bridge loaded?', !!document.querySelector('.context-bridge-button'));
Check storage:
// In extension popup console
chrome.storage.sync.get(['rawUrl'], console.log);
Reload after changes:
- Go to
chrome://extensions - Click refresh icon on Context Bridge
- Reload AI platform page
Permissions
- storage: Store context URL
- activeTab: Access current tab when button clicked
- host_permissions: Inject content scripts on AI platforms
Privacy
- No tracking: We don't collect any data
- Local storage: Context URL stored locally in browser
- No server: Everything runs in your browser
- Open source: Code is fully visible
Compatibility
- Chrome: 88+
- Edge: 88+
- Brave: 88+
- Opera: 74+
- Arc: Yes
- Firefox: Coming soon (Manifest V2)
- Safari: Coming soon
Troubleshooting
Button doesn't appear
- Check if extension is enabled
- Refresh the AI platform page
- Check console for errors
- Make sure you're on a supported platform
Context not injecting
- Make sure context URL is set in popup
- Check if URL is valid (GitHub Gist raw URL)
- Try clicking button again
Extension not syncing
- Make sure you're logged into Chrome
- Check if sync is enabled in Chrome settings
- Try manually entering URL on each device
Publishing
Chrome Web Store
- Create developer account ($5 one-time fee)
- Zip the extension folder
- Upload to Chrome Web Store
- Fill in description, screenshots
- Submit for review (1-3 days)
Chrome Web Store Listing
- Name: Context Bridge
- Description: One-click context injection for AI assistants
- Category: Productivity
- Screenshots: Show button on Claude, ChatGPT
- Icon: 128x128 gradient icon
Roadmap
- Publish to Chrome Web Store
- Firefox support (Manifest V2)
- Safari support (Safari App Extension)
- Context preview in popup
- Multiple context profiles
- Quick edit mode
- Auto-update context from gist
- Keyboard shortcuts
- Custom insertion templates
Related Projects
- CLI: @context-bridge/cli - Terminal tool for managing contexts
- Website: context-bridge.pages.dev - Marketing + web creator
- API: Cloudflare Worker for context creation
Contributing
Contributions welcome! To add support for a new AI platform:
- Create
content/platform-name.js - Add to manifest.json:
{ "matches": ["https://platform.com/*"], "js": ["content/platform-name.js"] } - Implement button injection logic
- Test thoroughly
- Submit PR
License
MIT
Links
Made with ❤️ by Context Bridge