Go to file
2022-04-24 19:57:01 +02:00
Docker Checkpoint 2022-04-24 19:57:01 +02:00
.gitignore First working webservice 2022-04-24 17:24:27 +02:00
get-text-position.py Simple highlight of the set-cookies header. 2022-03-06 22:37:08 +01:00
index.js Checkpoint 2022-04-24 19:57:01 +02:00
package-lock.json First working webservice 2022-04-24 17:24:27 +02:00
package.json First working webservice 2022-04-24 17:24:27 +02:00
README.md Checkpoint 2022-04-24 19:57:01 +02:00

Screenshot service

Dependencies

  • Xvfb
  • fluxbox
  • firefox-beta

Building

docker image build -t headless-fox Docker

Running a single analysis

BASE_URL=http://localhost:3000 docker run -i -v $PWD/static:/opt/static  headless-fox ./script3.sh '{"url": "pearson.pl", "third_party_domains": ["hotjar.com", "cookielaw.org"]}' 123

Running the server

BASE_URL=http://localhost:3000 node .