├── .dockerignore ├── .github └── workflows │ └── nodejs.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── config ├── blacklist.dat ├── mshots.conf └── schemas.dat ├── docker-compose-core.yml ├── docker-compose-dev-override.yml ├── lib ├── blacklist.js ├── constants.js ├── master.js ├── mshots.js ├── snapshot.js ├── twitter.js └── worker.js ├── mshots_ctl.sh ├── package.json ├── public_html ├── .htaccess ├── class-mshots.php ├── icons │ ├── 401.jpg │ ├── 403.jpg │ ├── 404.jpg │ ├── archive.jpg │ ├── audio.jpg │ ├── document.jpg │ └── video.jpg └── index.php ├── scripts └── performance-test │ ├── .gitignore │ ├── README.md │ ├── locustfile.py │ └── requirements.txt └── tests ├── MshotsTest.php ├── mock-content ├── long-site.html └── normal-site.html ├── phpunit.xml └── snapshot.test.js /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/README.md -------------------------------------------------------------------------------- /config/blacklist.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/config/blacklist.dat -------------------------------------------------------------------------------- /config/mshots.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/config/mshots.conf -------------------------------------------------------------------------------- /config/schemas.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/config/schemas.dat -------------------------------------------------------------------------------- /docker-compose-core.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/docker-compose-core.yml -------------------------------------------------------------------------------- /docker-compose-dev-override.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/docker-compose-dev-override.yml -------------------------------------------------------------------------------- /lib/blacklist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/blacklist.js -------------------------------------------------------------------------------- /lib/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/constants.js -------------------------------------------------------------------------------- /lib/master.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/master.js -------------------------------------------------------------------------------- /lib/mshots.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/mshots.js -------------------------------------------------------------------------------- /lib/snapshot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/snapshot.js -------------------------------------------------------------------------------- /lib/twitter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/twitter.js -------------------------------------------------------------------------------- /lib/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/lib/worker.js -------------------------------------------------------------------------------- /mshots_ctl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/mshots_ctl.sh -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/package.json -------------------------------------------------------------------------------- /public_html/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/.htaccess -------------------------------------------------------------------------------- /public_html/class-mshots.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/class-mshots.php -------------------------------------------------------------------------------- /public_html/icons/401.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/401.jpg -------------------------------------------------------------------------------- /public_html/icons/403.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/403.jpg -------------------------------------------------------------------------------- /public_html/icons/404.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/404.jpg -------------------------------------------------------------------------------- /public_html/icons/archive.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/archive.jpg -------------------------------------------------------------------------------- /public_html/icons/audio.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/audio.jpg -------------------------------------------------------------------------------- /public_html/icons/document.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/document.jpg -------------------------------------------------------------------------------- /public_html/icons/video.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/icons/video.jpg -------------------------------------------------------------------------------- /public_html/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/public_html/index.php -------------------------------------------------------------------------------- /scripts/performance-test/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ -------------------------------------------------------------------------------- /scripts/performance-test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/scripts/performance-test/README.md -------------------------------------------------------------------------------- /scripts/performance-test/locustfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/scripts/performance-test/locustfile.py -------------------------------------------------------------------------------- /scripts/performance-test/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/scripts/performance-test/requirements.txt -------------------------------------------------------------------------------- /tests/MshotsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/tests/MshotsTest.php -------------------------------------------------------------------------------- /tests/mock-content/long-site.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/tests/mock-content/long-site.html -------------------------------------------------------------------------------- /tests/mock-content/normal-site.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/tests/mock-content/normal-site.html -------------------------------------------------------------------------------- /tests/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/tests/phpunit.xml -------------------------------------------------------------------------------- /tests/snapshot.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/mShots/HEAD/tests/snapshot.test.js --------------------------------------------------------------------------------