https://github.com/activesphere/httpolice-devtool
A lint tool for HTTP. Uses vfaronov/httpolice.
https://github.com/activesphere/httpolice-devtool
Last synced: 6 months ago
JSON representation
A lint tool for HTTP. Uses vfaronov/httpolice.
- Host: GitHub
- URL: https://github.com/activesphere/httpolice-devtool
- Owner: activesphere
- Created: 2016-08-25T09:19:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T23:09:09.000Z (almost 6 years ago)
- Last Synced: 2025-09-29T16:52:22.205Z (10 months ago)
- Language: CSS
- Homepage:
- Size: 599 KB
- Stars: 6
- Watchers: 10
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTTPolice-devtool
HTTPolice-devtool is a lint-tool for the HTTP.
It intercepts and sends the HTTP headers from your browser to a server running [httpolice](https://github.com/vfaronov/httpolice) where they are analysed, and a detailed report is sent back to the browser where it's displayed.
### Install
You can install the extension (in chrome browser) from [Chrome Store](https://chrome.google.com/webstore/detail/httpolice-devtool/hnlnhebgfcfemjaphgbeokdnfpgbnhgn). You should also consider running a local server (more on that below)
### Screenshot

### Run your own server
The server is available in `PYPI`. To install and run it, simply run
`pip install hpoliced`
`hpoliced` This will try to run the server at port `8080`
`hpoliced -p ` To run the server at a different port
Now change the server URL in the extension (see below)
>The extension is set to use a remote server by default, which can be easily changed to use one that runs on local computer.
>1. Find and click on `H` in the top right corner of Chrome toolbar.
>2. Select `Options` from under the menu. This will show a box where you can set your own server address.
### Build (Optional)
To build the extension locally, run these commands
```
$ git clone https://github.com/activesphere/httpolice-devtool.git
$ cd httpolice-devtool
$ npm install
$ npm run build
```
This will build the extension under `builds` directory. Follow [this guide](http://stackoverflow.com/a/24577660) to install it in Chrome as an unpackaged extension.