Package Details: hoarder 0.22.0-1

Git Clone URL: https://aur.archlinux.org/hoarder.git (read-only, click to copy)
Package Base: hoarder
Description: A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
Upstream URL: https://github.com/hoarder-app/hoarder
Licenses: AGPL-3.0-or-later
Submitter: evine
Maintainer: evine
Last Packager: evine
Votes: 3
Popularity: 0.29
First Submitted: 2024-05-27 09:59 (UTC)
Last Updated: 2025-02-03 01:44 (UTC)

Latest Comments

StefanT commented on 2025-02-28 18:10 (UTC)

For some reason I do not understand this fails to build for me when pnpm tries to apply the included patch for xcode. I had to remove the patch from the package.json file and apply it old school with patch.

index 7162ae4..ee96b95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,6 +37,7 @@ prepare() {
         echo "Please uninstall 'yarn' first..."
         exit 1
     fi
+    sed -i 's,"xcode@3.0.1": "patches/xcode@3.0.1.patch",,' hoarder/package.json
 }

 build() {
@@ -50,6 +51,7 @@ build() {
     cd "${pkgname}"
     corepack use $(jq -r '.packageManager' package.json)
     pnpm install
+    patch -p1 -N -i $PWD/patches/xcode@3.0.1.patch -d node_modules/xcode
     cd packages/db
     pnpm dlx @vercel/ncc build migrate.ts -o ../../db_migrations
     cp -R drizzle ../../db_migrations

evine commented on 2025-02-03 01:45 (UTC)

@kageyama This will not delete DATA_DIR.

kageyama commented on 2025-01-27 07:37 (UTC)

DATA_DIR - The path for the persistent data directory. This is where the db and the uploaded assets live.

In the service file DATA_DIR=/var/lib/hoarder and these's .tmpfiles for this directory. Won't this delete the data_dir ?

evine commented on 2024-09-04 01:56 (UTC) (edited on 2025-01-18 10:48 (UTC) by evine)

  • Do not use nodejs 22.7.0/22.8.0 to make.
  • After upgrading nodejs, you need to recompile.
  • Can't install yarn.

evine commented on 2024-05-27 10:01 (UTC) (edited on 2024-06-14 05:23 (UTC) by evine)

  • If you want to search full text, you can install meilisearch and set relative environment variables before starting hoarder.
  • If you want to automatically tag, you can install ollama and set relative environment variables, or set Open-AI api key environment variables.
  • Environment variables can be set in /etc/hoarder/hoarder.env according to https://docs.hoarder.app/configuration. The environment variables that are not specified in /etc/hoarder/hoarder.env need to be added by yourself.
  • Run sudo systemctl enable --now hoarder.target to start hoarder after installed.
  • hoarder-cli has been separated as a separate package.