Package Details: hister 0.21.0-1

Git Clone URL: https://aur.archlinux.org/hister.git (read-only, click to copy)
Package Base: hister
Description: Web history on steroids - blazing fast, content-based search for visited websites
Upstream URL: https://github.com/asciimoo/hister
Keywords: client search-engine server
Licenses: AGPL-3.0-or-later
Submitter: InsidiousFiddler
Maintainer: ISSOtm
Last Packager: ISSOtm
Votes: 3
Popularity: 0.68
First Submitted: 2026-02-20 02:13 (UTC)
Last Updated: 2026-10-27 12:03 (UTC)

Pinned Comments

ISSOtm commented on 2026-09-09 00:49 (UTC)

I accept PRs and issues for this package at https://codeberg.org/ISSOtm/PKGBUILDs/src/branch/master/hister :)

Latest Comments

ISSOtm commented on 2026-09-09 00:49 (UTC)

I accept PRs and issues for this package at https://codeberg.org/ISSOtm/PKGBUILDs/src/branch/master/hister :)

ISSOtm commented on 2026-09-08 21:54 (UTC)

One major difference is that, AFAICT, the upstream service is designed for system-level installation, whereas the service we provide is for user-level activation (thus it cannot use User=, among many others). So I would think, at minimum, that we would distribute both instead. I see your proposed diff edits the upstream to provide both, though I think we should rather use .patch files to get loud failures on upstream refactorings.

On top of that, upstream requires a hardcoded user instead of using DynamicUser=; I'd prefer the latter, but I don't know all the implications yet.

Either way, you can submit diffs to https://codeberg.org/ISSOtm/PKGBUILDs/src/branch/master/hister, that may be more convenient! ^^ (If you do so, please edit it out of your message, so the comment history remains easier to browse in the future ✌️)

L0ric0 commented on 2026-09-08 18:00 (UTC) (edited on 2026-09-08 20:00 (UTC) by L0ric0)

Could you replace the hister.service provided by the package with the one provided by upstream?

It is in the repo under contrib/systemd/hister.service

https://github.com/asciimoo/hister/blob/master/contrib/systemd/hister.service

Here is a diff for fixing up the upstream service for user/system usage and a hister user is added for the system service

diff --git a/PKGBUILD b/PKGBUILD
index 12fbfa3..334805c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Eldred Habert <arch@(my first name).fr>
 # Former maintainer: Insidious Fiddler <aur[at]codycody31[dot]dev>
 pkgname=hister
-pkgver=0.18.0
+pkgver=0.19.0
 pkgrel=1
 pkgdesc="Web history on steroids - blazing fast, content-based search for visited websites"
 arch=('x86_64' 'aarch64')
@@ -12,14 +12,25 @@ makedepends=('go' 'npm')
 install=hister.install
 options=(!lto)
 source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
-        "hister.service")
-sha256sums=('2554e7e0426b3f46a92ddba43aa9a57da55d4c6bc2edf1eeaaaa3a844196e880'
-            'c1f3851a79baf1eab7d5d40ee9aaffa53fef4a2938e5a293c542f73134e645da')
+        "hister.sysusers")
+sha256sums=('59cbe6d03a7e7783e4922ea03fbbbe812701c50eb5f49f6a3c42d9480ebdd2ba'
+            '57280ce53f29279dec2a62f9b7a49dd97daa5f1ad877529b3a44c7469a8e6446')

 _ghrepo="asciimoo/hister"

 prepare() {
     cd "$srcdir/$pkgname-$pkgver"
+
+    sed -i -e 's|/usr/local/bin|/usr/bin|' "contrib/systemd/hister.service"
+
+    sed -e '/User=hister/D' \
+        -e '/Group=hister/D' \
+        -e '/StateDirectory=hister/D' \
+        -e '/Environment/D' \
+        -e '/ProtectHome/D' \
+        -e 's/WantedBy=multi-user.target/WantedBy=default.target/' \
+        "contrib/systemd/hister.service" > "hister-user.service"
+
     export GOPATH="$srcdir"
     export GOFLAGS="-modcacherw"
     go mod download -x
@@ -47,7 +58,9 @@ build() {
 package() {
     cd "$srcdir/$pkgname-$pkgver"
     install -Dm755 hister "$pkgdir/usr/bin/hister"
-    install -Dm644 "$srcdir/hister.service" "$pkgdir/usr/lib/systemd/user/hister.service"
+    install -Dm644 "contrib/systemd/hister.service" "$pkgdir/usr/lib/systemd/system/hister.service"
+    install -Dm644 "hister-user.service" "$pkgdir/usr/lib/systemd/user/hister.service"
+    install -Dm644 "$srcdir/hister.sysusers" "$pkgdir/usr/lib/sysusers.d/hister.conf"
     install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

     install -Dm644 hister.bash "$pkgdir/usr/share/bash-completion/completions/hister"
diff --git a/hister.sysusers b/hister.sysusers
new file mode 100644
index 0000000..f4e03e2
--- /dev/null
+++ b/hister.sysusers
@@ -0,0 +1 @@
+u! hister - "Hister" -

k4lizen commented on 2026-08-24 03:20 (UTC)

huh sorry that's already done, I misread the PKGBUILD. thanks!

k4lizen commented on 2026-08-24 03:16 (UTC)

Could the systemd service also be put into the correct dir?

https://github.com/asciimoo/hister/pull/515/changes

ISSOtm commented on 2026-02-27 20:12 (UTC)

The checksum issue has been fixed. Thank you!

link2xt commented on 2026-02-23 14:13 (UTC)

The license should be AGPL-3.0-or-later instead of AGPL-3.0-only according to this: https://github.com/asciimoo/hister/commit/620d6030a5dbfed105ed5a67401e1c1e07c3bef9

link2xt commented on 2026-02-22 20:23 (UTC)

I also have problem with SHA256 checksum not matching, I had to change it to 2361e0bb8504a413c7026626fc40bb9991e6016f02a1c8673cd11bdcaef89861, because checksum 03f94f107f783f8252704f89903af05a3dd7d7665e50daefefcd3185d46f4e31 from the PKGBUILD does not match. It could be that author has moved the tag in the repository after the PKGBUILD update.

ISSOtm commented on 2026-02-22 17:55 (UTC)

The package fails to build for me, due to the SHA signature not matching for the hister archive itself (not the service file).