# Hishtory-server

Hishtory-server is a self-hosted development app. HiSHtory is a self-hosted shell history server that turns your terminal command history into a searchable, context-rich database synced across your devices. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1448/hishtory-server

## Description

HiSHtory is a self-hosted shell history server that turns your terminal command history into a searchable, context-rich database synced across your devices. It records the directory each command ran in, whether it succeeded or failed, and how long it took, with all data stored locally and end-to-end encrypted. It's for developers and sysadmins who use bash, zsh, or fish across multiple machines, letting you look up a complex pipeline you ran on your server from your laptop via a command-line interface (CLI).

## Platform availability

Available on 2 of 10 platforms: Unraid, ZimaOS.

## Health score

55/100 (Fair), based on 5 of 5 factors.
- Maintained: 100 (last commit 15 days ago)
- Popular: 30 (30 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)
- Security check: 15 (2 serious findings, 6 minor, CI, tests)

## Security check

2 serious findings: Uses github.com/jackc/pgx/v5 v5.7.2, which has a known critical vulnerability; Uses github.com/jackc/pgx/v5 v5.7.2, which has a known critical vulnerability.
Automated checks on commit 95aa6b0, 21 Oct 2026. Not an audit.

## Links

- Official website: https://hishtory.dev
- Docker Hub: https://hub.docker.com/r/linuxserver/hishtory-server
- GitHub: https://github.com/linuxserver/docker-hishtory-server
- Unraid: https://ca.unraid.net/apps/hishtory-server-1njxxbs0fnxlss?q=hishtory-server

## Common questions

### How do I make the hiSHtory client use my self-hosted backend?

Set the HISHTORY_SERVER environment variable so hiSHtory points at your server.

### What permission settings are needed for the LinuxServer.io container volumes?

Set PUID and PGID to your desired user and group. Make sure the host volume directories are owned by that same user to avoid permission issues.

## Alternatives

- atuin: Atuin is a shell history tool for developers and homelab users that stores commands in a SQLite database, adds search context, and optional…

---
Source: Our Local Host (https://ourlocalhost.com/app/1448/hishtory-server), the self-hosted and open-source app directory.
