the-markup / blacklight-collector

GNU General Public License v3.0
201 stars 36 forks source link

Blacklight-Collector

NOTE: This repo contains some, but not all, of the code backing Blacklight. It may not be very useful on its own. We're thinking about ways to move more of the functionality into this package in order to make it more generally useful.

For more information about the blacklight-collector please read our methodology.

blacklight-collector is available on npm. You can add it to your own project with the following command.

npm i @themarkup/blacklight-collector

If you are interested in running it locally you can clone this repository and follow the instructions below.

Build

nvm use

npm install

npm run build

Usage

npm run example.

Results are stored in demo-dir by default

Collector configuration

collect takes the following arguments:

Inspection Result

blacklight-collector creates a few different assets at the end of an inspection, these include:

Blacklight would not be possible without the work of OpenWPM and the EU-EDPS's website evidence collector