james-proxy / james

Web Debugging Proxy Application
1.42k stars 124 forks source link
debugging-tool electron http http-proxy james proxy

This project is in maintenance mode

Maintainers or forks welcome: the original James team aren't able to spend the same amount of time on James anymore.

We suggest looking at HTTP Toolkit as an actively maintained open-source alternative.


James

Build Status

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 built with hoxy, electron and react

Installing

Download the correct version for your OS and run

All platforms download

Features

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.

HTTPS Proxying

To enable HTTPS support follow the instructions in our wiki

Contributing

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

  1. Clone the repository
  2. npm install
  3. npm start

Other useful npm commands

Guidelines

Communication

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).

Contributors

License

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.