As there is no API endpoints for the livestreaming feature on X. We created a Chrome extension designed to monitor and capture chat events from X (formerly Twitter) in real-time. The extension provides a clean, modern interface with live monitoring capabilities.
- Real-time chat monitoring
- User avatar and message capture
- Clean, modern UI with X-style design
- Start/Stop monitoring functionality
- Background processing of messages
- Duplicate message filtering
- Local storage integration
Extension popup showing the ready state with "Start Monitoring" button
Extension actively monitoring a Bitcoin live stream chat with real-time messages
The extension being used to monitor a live Bitcoin price watch party:
- Stream: "$125K WATCH PARTY WITH @KRAKENDESKTOP"
- Viewers: 6.2M views
- Real-time chat monitoring and message capture
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
scrapper-extndirectory
popup.html- Extension popup interfacepopup.js- Popup interaction logiccontent.js- Content script for webpage interactionbackground.js- Background service workermanifest.json- Extension configuration
- Open the extension by clicking its icon in the Chrome toolbar
- Navigate to X (Twitter) in your first tab
- Open the chat you want to monitor in a second tab
- Click "Start Monitoring" in the extension popup
- The extension will begin capturing chat messages
- activeTab
- tabs
- scripting
- storage
json [ "http://localhost:/", "https://localhost:/", "https://x.com/", "https://.x.com/" ]
To modify the extension:
- Make your changes to the source files
- Reload the extension in
chrome://extensions/ - Test your changes
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
//to be added //while working