From 28210147346682108c1c01b122e850fa56c55e62 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 21 May 2026 11:46:31 +0200 Subject: [PATCH] add: karakeep cli wrapper --- install/karakeep-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/karakeep-install.sh b/install/karakeep-install.sh index 6a68bd47a..413b57166 100644 --- a/install/karakeep-install.sh +++ b/install/karakeep-install.sh @@ -47,6 +47,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)