/gudecks-screenshot

Take screenshots of website using puppeteer.

Primary LanguageJavaScriptMIT LicenseMIT

Usage

  1. Install operating system dependencies (see below)
  2. npm install
  3. npm run start
  4. Visit localhost:3000/<YOUR_DECK_CODE> to dynamically render your deck

Requires the following packages to be installed in Ubuntu 20:

  • libnss3
  • libatk1.0-0
  • libatk-bridge2.0-0
  • libcups2
  • libxkbcommon0
  • libxcomposite1
  • libxdamage1
  • libxfixes3
  • libxrandr2
  • libgbm1
  • libpango-1.0-0
  • libcairo2
  • libasound2

Tested on WSL Ubuntu 22 in Windows 10.

See also https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/debian/dist_package_versions.json