From 473283a6527ee2e1c110a89368f48b4c66637c7b Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Sun, 5 Apr 2026 18:21:46 +0100 Subject: [PATCH 1/5] Update README with ARM64 installation instructions Add installation instructions for ARM64 architecture. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index cc7a728..6d995f8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,13 @@ Render Html to PDFs using [Pagedjs](https://github.com/pagedjs/pagedjs-cli) and npm install -g pagedjs-cli ``` +### ARM64 + +``` +sudo dnf install -y chromium +PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true CHROME_PATH=/usr/bin/chromium-browser PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser npm install +``` + ## Generating a PDF ``` From 560693fe4c23af1d4ff3198a4978af4d18a1c91b Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Sun, 5 Apr 2026 20:19:30 +0100 Subject: [PATCH 2/5] Add instructions for clearing Puppeteer cache --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6d995f8..df43efc 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ npm install -g pagedjs-cli ### ARM64 ``` +rm -rf $HOME/.cache/puppeteer/* sudo dnf install -y chromium PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true CHROME_PATH=/usr/bin/chromium-browser PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser npm install ``` From ebf6410eef9478623bd9f366115dbfbe7394f61d Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Sun, 5 Apr 2026 20:20:00 +0100 Subject: [PATCH 3/5] Modify npm install command for pagedjs-cli Updated installation command to include global flag for pagedjs-cli. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df43efc..8f9283b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ npm install -g pagedjs-cli ``` rm -rf $HOME/.cache/puppeteer/* sudo dnf install -y chromium -PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true CHROME_PATH=/usr/bin/chromium-browser PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser npm install +PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true CHROME_PATH=/usr/bin/chromium-browser PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser npm install -g pagedjs-cli ``` ## Generating a PDF From f94570ebdb3c00ecd6c19123edfa3425af709d48 Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Mon, 6 Apr 2026 08:58:33 +0100 Subject: [PATCH 4/5] Update gulp installation command in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f9283b..b36f566 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Link and build the JS ``` npm install npm link -npm install -g gulp +npm install gulp gulp watch ``` From 4a821f9cbbec84564aae993a75cdd69dd8f4abf5 Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Mon, 6 Apr 2026 10:18:51 +0100 Subject: [PATCH 5/5] Update README with ARM64 instructions and gulp install Added instructions for ARM64 architecture and updated gulp installation command. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b36f566..82db468 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true CHROME_PATH=/usr/bin/chromium-browser PUPP pagedjs-cli ./path/to/index.html -o result.pdf ``` +### ARM64 + +``` +PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true CHROME_PATH=/usr/bin/chromium-browser PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser pagedjs-cli ./path/to/index.html -o result.pdf +``` + ## Options ``` @@ -66,7 +72,7 @@ Link and build the JS ``` npm install npm link -npm install gulp +npm install -g gulp gulp watch ```