Getting a screenshot
php ./bin/run.php take:screenshot
git clone
this repository.- Download composer:
curl -s https://getcomposer.org/installer | php
- Install dependencies:
php composer.phar install
Copy .env.dist
to .env
and enter values for an url to grab URL
, a key for Browshot API BROWSHOT_KEY
and a file for sqlite database DB_DATABASE
Taking a screenshot:
php ./bin/run.php take:screenshot
It will be stored in a screenshots
directory. The destination folder could be changed in a config/settings.php
file under a screenshots_dir
key.
To run a web application launch a docker container:
docker-compose up -d
This app is licensed under the MIT license.