{"repo":"mozilla-services/shavar","free":true,"listed":false,"github":"https://github.com/mozilla-services/shavar","clone":"git clone https://github.com/mozilla-services/shavar.git","description":"Tracking Protection update service for Firefox based on Safe Browsing protocol","language":"Python","stars":21,"topics":["python","privacy","security"],"license":"MPL-2.0","category":"security-tools","readme_excerpt":"shavar - a service that speaks Google's safe browsing protocol For more information on safe browsing and the wire protocol this code speaks, see: https://developers.google.com/safe-browsing/developers guide Running locally --------------- For dev testing, create and activate a virtual environment: virtualenv -p python3.7 shavar source shavar/bin/activate Install the necessary dependencies: pip install -r requirements-test.txt Run code style check: flake8 --exclude ./shavar/lib,./shavar/bin,./build,./deactivate,./.local Run unit tests: nosetests -s --nologcapture ./shavar/tests Configure for running locally in a development environment: python setup.py develop Run the service locally: pserve shavar.testing.ini By default the service listens on port the loopback interface, port 6543. If you want to change this, modify the values in the INI file's [server:main] section. Configuration ------------- The shavar service serves changes to a set of hashes of canonicalized URLs. Basic configuration consists of specifying the names of the lists to be served and a section for each of those lists declaring at least the two minimum required configuration directives for each list. Read shavar-server-list-config for more examples of Shavar configurations. Since the tracking protection files (AKA block lists and entity lists) are hosted in S3 by shavar-list-creation, your Shavar dev environment will need to setup AWS keys to retrieve those files. For more information on configuration for boto","default_branch":null,"files":null,"tree":[],"storefront":"/r/mozilla-services","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mozilla-services/shavar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}