Skip to content
/ starter Public

A tool for packaging and storing Chrome extensions are used with Xvfb

License

Notifications You must be signed in to change notification settings

wabarc/starter

Starter

Go Reference Releases

Starter is a tool for packaging and storing Chrome extensions are used with Xvfb.

Background

Websites may contain challenges such as paywalls and various CAPTCHAs, and quite well solutions including puppeteer-extra do not work in all cases. It is hoped that this project will provide a solution that, to some extent, reproduces the real browser workplace.

How it works

  1. Packaging Chrome extensions into the binary.
  2. Launching Chrome to load extensions with a specified directory to stores user data.
  3. Launch a remote debugging browser with the flag --user-data-dir={workspace}/UserDataDir.

Note: remote debugging address is default to listen on 0.0.0.0:9222.

Prerequisite

  • Go (requires Go 1.18 or later)
  • GNU Make
  • Docker/Podman

Building

File the secrets of buster to hack/secrets.json

make build

Installation

sh <(wget https://github.com/wabarc/starter/raw/main/install.sh -O-)

Or

curl -fsSL https://github.com/wabarc/starter/raw/main/install.sh | sh

Extensions

License

This software is released under the terms of the GNU General Public License v3.0. See the LICENSE file for details.