https://github.com/saketsarin/composer-web
Cursor extension that forwards frontend errors and screenshots to composer in one-click, making development seamless for you. Download here: https://marketplace.visualstudio.com/items?itemName=SaketSarin.composer-web
https://github.com/saketsarin/composer-web
browser chrome collaborate communityexchange cursor cursor-extension debugging devtools github monitoring network productivity vscode-extension web-development
Last synced: 23 days ago
JSON representation
Cursor extension that forwards frontend errors and screenshots to composer in one-click, making development seamless for you. Download here: https://marketplace.visualstudio.com/items?itemName=SaketSarin.composer-web
- Host: GitHub
- URL: https://github.com/saketsarin/composer-web
- Owner: saketsarin
- License: mit
- Created: 2025-02-13T20:40:22.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T19:21:07.000Z (about 1 month ago)
- Last Synced: 2025-03-29T05:01:43.155Z (about 1 month ago)
- Topics: browser, chrome, collaborate, communityexchange, cursor, cursor-extension, debugging, devtools, github, monitoring, network, productivity, vscode-extension, web-development
- Language: TypeScript
- Homepage: https://discord.gg/cyA7NpTUQS
- Size: 8.57 MB
- Stars: 205
- Watchers: 1
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![]()
Composer Web Extension
A powerful Cursor extension that captures live browser content and logs directly into Composer. Perfect for debugging, documentation, and sharing web content with context.
## Features
- 📸 **Smart Capture**: One shortcut to connect and capture everything
- 📊 **Real-time Monitoring**: Console logs and network requests
- 🔍 **Log Filtering**: Customizable filtering for console logs
- 🎯 **Multi-tab Support**: Select from any open tab in your debugging browser
- 📱 **iOS Simulator Integration** (Beta): Capture iOS simulator screenshots
- ⚡ **Advanced Options**: Additional commands for specific capture needs
- 🎛️ **Keybinding Management**: Customize keybindings directly from the new settings panel.## How It Works
1. **Connect to a Tab**:
- Press `Cmd/Ctrl + ;` or click the connect button in the status bar
- Select your target tab from the list
- The extension starts monitoring console logs and network requests2. **Monitor Activity**:
- The status bar shows which tab is being monitored
- All console logs and network requests are collected in real-time
- Logs persist until you clear them or disconnect3. **Capture State**:
- Press `Cmd/Ctrl + ;` again or click the capture button
- The extension captures everything:
- A full-page screenshot
- All console logs since connection
- All network requests since connection
- Everything is sent directly to Composer4. **iOS Simulator Integration** (Beta):
- Enable in Settings Panel under "Beta Features"
- Connect to a running iOS simulator
- Capture screenshots from iOS apps
- Send directly to Composer for AI assistance## Quick Start
1. Launch Chrome with remote debugging:
```bash
# macOS
open -n -a "Google Chrome" --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug-profile# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=%TEMP%\chrome-debug-profile# Linux
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug-profile
```2. Press `Cmd/Ctrl + ;` to connect and capture!
## Additional Features
Available through Command Palette (`Cmd/Ctrl + Shift + P`) or keyboard shortcuts:
- Clear logs: `Cmd/Ctrl + Shift + ;`
- Send only logs: `Cmd/Ctrl + '`
- Send only screenshot: `Cmd/Ctrl + Shift + '`
- iOS Simulator: Available in command palette when enabled## Usage Tips
1. **Status Bar Indicator**:
- 🔌 Not Connected: Click to connect to a tab
- 👁️ Connected: Click to capture current tab state
- 📱 iOS Simulator: Shows connected simulator status2. **Best Practices**:
- Wait for page to load completely
- Clear logs when starting new session
- Use fresh Chrome profile for best results
- Use specific commands when you need just logs or screenshots
- **Keybinding Panel**: Access the keybinding panel via the Command Palette to manage and customize keybindings.
- **Beta Features**: Enable beta features like iOS simulator integration in the Settings Panel## Troubleshooting
1. **Can't Connect?**
- Ensure Chrome is running with debugging flag
- Check if port 9222 is available
- Try restarting Chrome2. **Session Disconnected?**
- The extension will automatically detect stale sessions and show a notification
- Click the status bar item to reconnect
- No need to restart Cursor - just reconnect when prompted3. **Incomplete Capture?**
- Wait for all content to load
- Scroll through the page once
- Check console for errors## Requirements
- Cursor (latest version)
- Google Chrome/Chromium
- Node.js ≥ 18.0.0## Contributing
We welcome contributions from the community! Here's how you can help:
### 🐛 Found a Bug?
- **Ensure the bug hasn't already been reported** by searching our [Issues](../../issues)
- If you can't find an existing issue, [open a new bug report](../../issues/new?template=bug_report.md) using our bug report template### 💡 Have a Feature Idea?
- Check our [Issues](../../issues) to see if it's already suggested
- If not, [create a feature request](../../issues/new?template=feature_request.md) using our feature request template### 🛠️ Want to Contribute Code?
1. Read our [Contributing Guide](CONTRIBUTING.md)
2. Fork the repository
3. Create your feature branch
4. Make your changes
5. Open a [Pull Request](../../pulls) using our PR templateFor more details, check out our:
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Contributing Guidelines](CONTRIBUTING.md)## License
MIT - See LICENSE file for details