Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sidorares/crmux
Chrome developer tools remote protocol multiplexer.
https://github.com/sidorares/crmux
Last synced: 7 days ago
JSON representation
Chrome developer tools remote protocol multiplexer.
- Host: GitHub
- URL: https://github.com/sidorares/crmux
- Owner: sidorares
- License: mit
- Created: 2013-10-07T09:44:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T04:51:46.000Z (8 months ago)
- Last Synced: 2025-01-31T00:13:59.162Z (15 days ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 123
- Watchers: 9
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - sidorares/crmux - Chrome developer tools remote protocol multiplexer. (JavaScript)
README
# crmux
Chrome developer tools remote protocol multiplexer.
Chrome does not allow more then one developer tools connection to the a tab. **crmux** multiplexes incoming connections into single websocket connection and transparently matches and translates JSON-RPC request and response message IDs from single local range to multiple remote ranges of ID'. Events are dispatched to all clients.
![crmux in Terminal](https://f.cloud.github.com/assets/173025/1279477/322e3122-2f38-11e3-8dfc-d9bb1b76d6e0.png)
## Install
With [node.js](http://nodejs.org/) and the npm package manager:npm install crmux -g
You can now use `crmux` from the command line.
## Connecting
Start chrome with remote protocol enabled:
```
google-chrome --remote-debugging-port=9222
```Start `crmux`:
```
$> crmux
```Now you can attach more than one devtools client on port 9223 ( browse to `http://localhost:9223/` to see list of inspectable tabs )
## See also
- [crconsole](https://github.com/sidorares/crconsole) - console developer tools client and REPL.
- [chrome-remote-interface](https://github.com/cyrus-and/chrome-remote-interface) - node.js client library for [Chrome DevTools Remote Debugging Protocol](https://developers.google.com/chrome-developer-tools/docs/protocol/1.0/), also features simple REPL.