Skip to content

inventaire/firefox-headless-prerender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A web server to prerender inventaire.io

Resources

Stars

Watchers

Forks