diff options
| author | Mael <mael.primet@gmail.com> | 2025-06-22 19:08:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 18:08:21 +0100 |
| commit | c70d64d4cde2bf2acc5c4164eef79c40fd58aa42 (patch) | |
| tree | ebf43f4e486b339dcabc4e64a19daac24e419a44 /karakeep-linux.sh | |
| parent | 727c7f227037f5e4f013173c07812891a58f1b58 (diff) | |
| download | karakeep-c70d64d4cde2bf2acc5c4164eef79c40fd58aa42.tar.zst | |
feat(workers): migrate from puppeteer to playwright (#1296)
* feat: convert to playwright
Convert crawling to use Playwright instead of Chrome.
- Update Dockerfile to include Playwright
- Update crawler worker to use Playwright API
- Update dependencies
* feat: convert from Puppeteer to Playwright for crawling
* feat: update docker-compose
* use separate browser context for better isolation
* skip chrome download in linux script
* readd the stealth plugin
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
Diffstat (limited to 'karakeep-linux.sh')
| -rw-r--r-- | karakeep-linux.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karakeep-linux.sh b/karakeep-linux.sh index e07b3bd3..073c3908 100644 --- a/karakeep-linux.sh +++ b/karakeep-linux.sh @@ -223,7 +223,7 @@ install_karakeep() { mv karakeep-"$RELEASE" "$INSTALL_DIR" && cd "$APP_DIR"/web corepack enable export NEXT_TELEMETRY_DISABLED=1 - export PUPPETEER_SKIP_DOWNLOAD="true" + export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true" export CI="true" $shh pnpm i --frozen-lockfile $shh pnpm build @@ -433,7 +433,7 @@ update_karakeep() { fi corepack enable export NEXT_TELEMETRY_DISABLED=1 - export PUPPETEER_SKIP_DOWNLOAD="true" + export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true" export CI="true" cd "$APP_DIR"/web && $shh pnpm i --frozen-lockfile $shh pnpm build |
