https://github.com/akhiljay/akamai_devpops_ext
Chrome Dev Tools Extension for proxying requests and terminal access
https://github.com/akhiljay/akamai_devpops_ext
chrome chrome-browser chrome-dev chrome-extension dev devpops-ext eventemitter nodejs prototype proxy proxy-requests tools
Last synced: 8 months ago
JSON representation
Chrome Dev Tools Extension for proxying requests and terminal access
- Host: GitHub
- URL: https://github.com/akhiljay/akamai_devpops_ext
- Owner: akhiljay
- License: mit
- Created: 2018-03-29T20:02:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-03T19:00:17.000Z (about 8 years ago)
- Last Synced: 2025-08-09T04:36:12.581Z (8 months ago)
- Topics: chrome, chrome-browser, chrome-dev, chrome-extension, dev, devpops-ext, eventemitter, nodejs, prototype, proxy, proxy-requests, tools
- Language: CSS
- Homepage:
- Size: 2.05 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chrome Dev Tools Extension for Proxying requests & Accessing Terminal
> This chrome dev tool extension is a combination of three open sourced exts
1. A NodeJs app that enabled terminal access within chrome dev tools, so you can invoke PAPI and other Akamai APIs directly from the terminal.
2. A Chrome proxy that routes all your browser traffic from chrome over to an IP address or hostname of your preference. It's a powerful tool to have if you need to route traffic over to localhost reverse proxies for testing and running browser automation taks all from within a dev tools extension.
3. Adds Akamai pragma headers automatically to all the requests so it can help you debug your issues.
## Installation
1. `npm install -g devpops_ext` This is the NodeJS app that the extension speaks with to pass the terminal commands you type inside the extension
2. Run `devpops_ext` in your terminal window. You should see the following msg
> if you get the error below
/usr/local/lib/node_modules/devpops_ext/node_modules/socket.io/lib/store.js:35
Store.prototype.__proto__ = EventEmitter.prototype;
^
Then please visit the "/usr/local/lib/node_modules/devpops_ext/node_modules/socket.io/lib/" folder via terminal and run the command below. This will replace "EventEmitter" usage with the "require event", use of EventEmitter has been deprecated since Node 7
`sudo find . -type f -name '*.js' -exec sed -i '' -e "s/process.EventEmitter/require('events')/g" {} +`
>if everything goes well, you will get the message below
mymacbook:~ username$ devpops_ext
info - socket.io started
Devpops_ext! back-end is running. Install the Chrome extension or open http://localhost:9173
3. Open Chrome browser and type in chrome://extensions, turn on developer mode (top right hand corner) and then click on "load unpacked", choose the "chrome" folder within the unzipped akamai-devops folder and click select.
4. Open Chrome's DevTools and find the Devpops tab
(Keep in mind that when you run the backend of Devpops_ext! the app is available at http://localhost:9173/)
## Screenshots
I: Landing Page

II: Multiple way to configure proxy settings

III: Use terminal right inside your Chrome browser

IV: Setup Automated browser test tasks within the extension
