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
Download the correct version for your OS and run
Wildcard URL Mappings
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:
Requests which will not be redirected:
You can also use multiple wildcards in the same URL.
To enable HTTPS support follow the instructions in our wiki
Feel free to open pull requests and issues! If you need inspiration, take a look in the issue section.
Setting up a development environment
The electron instance will automatically reload whenever a change is made
- Clone the repository
Other useful npm commands
npm test: Runs all tests
npm run build: Completely builds the app (no watch)
npm run lint: Checks all JS code against defined code styling rules
npm run dist: Creates a standalone app bundle for all operating systems
- 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)
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.