Find

hiSHtory – better shell history

hiSHtory is a better shell history. It stores your shell history in context (what directory you ran the command in, whether it succeeded or failed, how long it took, etc).

This is all stored locally and end-to-end encrypted for syncing to to all your other computers. All of this is easily queryable via the hishtory CLI. This means from your laptop, you can easily find that complex bash pipeline you wrote on your server, and see the context in which you ran it.

The hishtory hooks into the shell in order to track information about all commands that are run. It takes this data and saves it in a local SQLite DB managed via GORM. This data is then encrypted and sent to your other devices through a backend that essentially functions as a one-to-many queue.

This is free and open source software.

Features include:

  • Querying – query hiSHtory by pressing Control+R in your terminal. Search for a command, select it via Enter, and then have it ready to execute in your terminal’s buffer. Or just hit Escape if you don’t want to execute it after all.
  • Enable/Disable – temporarily turn on/off hiSHtory recording.
  • Deletion – delete history entries that you didn’t intend to record.
  • Updating – update the program to the latest version.
  • AI shell assistance – query ChatGPT by prefixing your query with ?.
  • TUI key bindings.
  • Configuration options such as changing the displayed columns, create custom columns, a custom color scheme, and more.
  • Self-hosting – by default, hiSHtory relies on a backend for syncing. All data is end-to-end encrypted, so the backend can’t view your history. But it’s also possible to self-host the hishtory backend.

Website: github.com/ddworken/hishtory
Support:
Developer: David Dworken
License: MIT License

hiSHtory is written in Go. Learn Go with our recommended free books and free tutorials.

Alternatives to history


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted