Skip to content
Proyek

Tentang

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

Pengembangan web dan aplikasi

Cara angka ini diukur

Yang dapat Anda lakukan

  • 📸 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

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Composer Web Logo Composer Web Extension

Demo

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 requests
  2. 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 disconnect
  3. 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 Composer
  4. 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:

    # 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 status
  2. 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 Chrome
  2. 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 prompted
  3. 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
  • If you can't find an existing issue, open a new bug report using our bug report template

💡 Have a Feature Idea?

🛠️ Want to Contribute Code?

  1. Read our Contributing Guide
  2. Fork the repository
  3. Create your feature branch
  4. Make your changes
  5. Open a Pull Request using our PR template

For more details, check out our:

License

MIT - See LICENSE file for details

Jelajahi proyek terkait

Memuat…