James is an HTTP Proxy and Monitor that enables developers to view and intercept requests made from the browser. It is an open-source alternative to the popular developer tool Charles
James is build with hoxy, electron and react
Download the correct version for your OS and run
The electron instance will automatically reload whenever a change is made
- Clone the repository
npm install
npm run build
npm start
To use wildcards in the "url to map" field, put a "*" between two adjacent slashes. For example:
http://foo.com/version/*/app.js -> http://localhost:8000/app.js
Requests which will be redirected:
http://foo.com/version/1/app.js
http://foo.com/version/26.8/app.js
http://foo.com/version/spaghetti/app.js
Requests which will not be redirected:
http://foo.com/version/app.js
http://bar.com/version/1/app.js
You can also use multiple wildcards in the same URL.
To enable HTTPs support follow the instructions in our wiki
npm run build
: Completely builds the appnpm run watch
: Watches JS, SASS and resource files, transpiling/copying them automatically. Lints sources on-changenpm run lint
: Checks all JS code against defined code styling rulesnpm run test
: Runs all testsnpm run package
: Creates a standalone app bundle for all operating systems
We're using Matrix for communication, and you can use the Vector.im client to join the room. (If it doesn't load when you click "join", refresh the page).
Feel free to open pull requests and issues! If you need inspiration, take a look in the issue section.
- Make sure that no tests are failing
- Always add tests for new features
- Make sure that there are no linting errors in your code (use
npm run lint
)
- @davidneat
- @klipstein
- @mitchhentges
- @nerdbeere
- @tomitm
The MIT License (MIT)
Copyright (c) 2015 Julian Hollmann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.