Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 836 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 836 Bytes

firefox-headless-prerender

Use a headless Firefox controlled by Selenium WebDriver, behind a Node.js/Express server, to prerender inventaire.io with more stability than prerender.

Install

Assumes that you have NodeJS >= v18 installed

sudo apt-get install firefox
git clone https://github.com/maxlath/firefox-headless-prerender
cd firefox-headless-prerender

Development

npm install --production
npm run watch

Production

Assume a Linux with systemd

npm install --production
npm run add-to-systemd
sudo systemctl start firefox-headless-prerender