Remote Browser Save

Using WebRTC to connect to puppeteer which running on remote server.

Project README

Remote Browser

Using WebRTC to connect to puppeteer which running on remote server.

Notice

This project is still under developing, open issue if you encounter any bug.

Following is known bug:

  • Do not support file download.
  • Bad performance.

Screenshot

duckduckgo

Installation

  1. clone this repo git clone https://github.com/bepsvpt-me/remote-browser.git
  2. run chrome-dependencies-installer.sh as root to install chrome dependencies(only test on Ubuntu 19.10)
  3. run yarn install or npm install to install node dependencies
  4. copy .env.example to .env and setup environment variables

Start Server

Run following command to start server:

xvfb-run -a --server-args="-screen 0 1x1x24 -ac -nolisten tcp +extension RANDR" yarn serve

Daemon

We have provide pm2 ecosystem config file, just follow commands below.

start pm2 instance

./node_modules/.bin/pm2 start ecosystem.config.cjs

save process list

./node_modules/.bin/pm2 save

setup startup script

./node_modules/.bin/pm2 startup

You can find more information from pm2 document.

Resources

License

This project is licensed under GNU Affero General Public License v3.0 only.

Open Source Agenda is not affiliated with "Remote Browser" Project. README Source: bepsvpt-me/remote-browser
Stars
48
Open Issues
2
Last Commit
1 year ago
License

Open Source Agenda Badge

Open Source Agenda Rating