This repository has been archived by the owner. It is now read-only.
experimental legal language checker for third-party services
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/legalese
spec
.gitignore
.rspec
.travis.yml
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE.md
README.md
check_tos.rb
scan.rb
screenshot.png
to_csv.rb

README.md

Legalese Build Status

Experimental checker for legal text that determines whether 18F can use a third-party service or not. Checks the following:

  • If the site has a Privacy Policy
  • If the site has a Terms of Service, and if it contains the following clauses:

screenshot

Usage

Requires Ruby 1.9+.

  1. Clone this repository and cd into the directory.

  2. Create a urls.txt file with a list of sites to check, one on each line. 18F, for example, is collecting a list of potential services in this spreadsheet (private; use the URL column).

  3. Run

    bundle
    bundle exec ruby scan.rb