How to launch
- Install NodeJS
npm install
npm start
How to use
Send your request to the server with the port 3000 and add your URL to the "url" query string like this:
http://localhost:3000/?url=https://example.org
To show the browser window, set the environment variable PUPPETEER_HEADFUL=1
. To use a proxy,
set the PUPPETEER_PROXY
environment variable, for example PUPPETEER_PROXY=localhost:8080
. To specify user data directory, set PUPPETEER_USERDATADIR=/path/to/dir
.
Docker
Available as a Docker image here: https://quay.io/repository/unixfox/pupflare
docker run -d -p 3000:3000 quay.io/unixfox/pupflare