Compare commits

..

4 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
a28fec825b Update CHANGELOG.md (#14664)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-22 21:47:08 +00:00
Sam Heinz
69aa93a83a workflows: update workflows, templates to support arm64. (#14653)
* set 'var_arm64' to no in all ct scripts

* update files in .github to support arm64
2026-05-23 07:46:44 +10:00
community-scripts-pr-app[bot]
fcd77d9332 Update CHANGELOG.md (#14657)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-22 17:20:49 +00:00
Tobias
202f1c7e84 add: karakeep cli wrapper (#14618)
* add: karakeep cli wrapper

* Create /usr/bin/karakeep if it doesn't exist

* add: ejs for yt-dlp

* add: ejs for yt-dlp

* Fix pip install command for yt-dlp-ejs

* Fix pip install command to use STD variable

* rm python3 dep

* rm python3 dep

* ensure_dependencies

* add: deno

* add: deno

* rm: not needed msg block
2026-05-22 19:20:18 +02:00
3 changed files with 35 additions and 0 deletions

View File

@@ -478,12 +478,17 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- Docmost: Fix duplicate STORAGE_DRIVER [@MickLesk](https://github.com/MickLesk) ([#14645](https://github.com/community-scripts/ProxmoxVE/pull/14645))
- Profilarr: pin Deno version to v2.7.5 [@MickLesk](https://github.com/MickLesk) ([#14632](https://github.com/community-scripts/ProxmoxVE/pull/14632))
- #### ✨ New Features
- add: karakeep cli wrapper [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14618](https://github.com/community-scripts/ProxmoxVE/pull/14618))
- #### 💥 Breaking Changes
- OpenCloud: v7.0.0 changes [@vhsdream](https://github.com/vhsdream) ([#14650](https://github.com/community-scripts/ProxmoxVE/pull/14650))
- #### 🔧 Refactor
- workflows: update workflows, templates to support arm64. [@asylumexp](https://github.com/asylumexp) ([#14653](https://github.com/community-scripts/ProxmoxVE/pull/14653))
- SoulSync: setup Node v22 and build WebUI [@MickLesk](https://github.com/MickLesk) ([#14639](https://github.com/community-scripts/ProxmoxVE/pull/14639))
- Refactor: Dispatcharr [@MickLesk](https://github.com/MickLesk) ([#14313](https://github.com/community-scripts/ProxmoxVE/pull/14313))

View File

@@ -54,6 +54,25 @@ function update_script() {
if grep -q '^ExecStart=/usr/bin/node\s\+dist/index\.mjs$' /etc/systemd/system/karakeep-workers.service; then
sed -i -E 's#^(ExecStart=/usr/bin/node\s+dist/)index\.mjs$#\1index.js#' /etc/systemd/system/karakeep-workers.service
systemctl daemon-reload
fi
if [ ! -f /usr/bin/karakeep ]; then
cat <<'EOF' >/usr/bin/karakeep
#!/usr/bin/env node
import('/opt/karakeep/apps/cli/dist/index.mjs')
EOF
chmod +x /usr/bin/karakeep
fi
if ! command -v pip >/dev/null 2>&1 || ! pip show yt-dlp-ejs >/dev/null 2>&1; then
msg_info "Installing external JavaScript Extension for yt-dlp"
ensure_dependencies python3-pip
$STD pip install -U yt-dlp-ejs
msg_ok "Installed external JavaScript Extension for yt-dlp"
fi
if ! command -v deno &>/dev/null; then
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(uname -m)-unknown-linux-gnu.zip"
fi
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep" "tarball"

View File

@@ -20,11 +20,13 @@ $STD apt install -y \
chromium \
graphicsmagick \
ghostscript \
python3-pip \
ffmpeg
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "monolith" "Y2Z/monolith" "singlefile" "latest" "/usr/bin" "monolith-gnu-linux-x86_64"
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp-nightly-builds" "singlefile" "latest" "/usr/bin" "yt-dlp_linux"
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(uname -m)-unknown-linux-gnu.zip"
setup_meilisearch
fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep" "tarball"
@@ -32,6 +34,10 @@ cd /opt/karakeep
MODULE_VERSION="$(jq -r '.packageManager | split("@")[1]' /opt/karakeep/package.json)"
NODE_VERSION="24" NODE_MODULE="pnpm@${MODULE_VERSION}" setup_nodejs
msg_info "Installing external JavaScript Extension for yt-dlp"
$STD pip install -U yt-dlp-ejs
msg_ok "Installed external JavaScript Extension for yt-dlp"
msg_info "Installing karakeep"
export PUPPETEER_SKIP_DOWNLOAD="true"
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true"
@@ -47,6 +53,11 @@ cd /opt/karakeep/apps/cli
$STD pnpm install --frozen-lockfile
$STD pnpm build
$STD pnpm store prune
cat <<'EOF' >/usr/bin/karakeep
#!/usr/bin/env node
import('/opt/karakeep/apps/cli/dist/index.mjs')
EOF
chmod +x /usr/bin/karakeep
export DATA_DIR=/opt/karakeep_data
karakeep_SECRET=$(openssl rand -base64 36 | cut -c1-24)