hishtory

#OpenSource

Product information

hiSHtory is an advanced shell history tool designed to enhance your command-line experience by making your shell history synced, queryable, and contextual. It stores detailed information about each command you run, including the directory, success or failure status, and duration. This data is stored locally and end-to-end encrypted, enabling seamless syncing across multiple devices.

The tool allows you to easily query your history using a variety of search parameters through the hiSHtory CLI. For instance, you can search for commands by keywords, execution context, user, exit code, and date range. Additionally, it offers a terminal user interface (TUI) accessible via Control+R, where you can search and select commands to execute or delete.

hiSHtory also supports advanced features such as AI shell assistance via ChatGPT, customizable key bindings, and the ability to add custom columns and color schemes. Users can disable specific features like Control+R integration or configure the tool to filter duplicate entries and set default search filters.

For those who prefer offline usage, hiSHtory can be installed without syncing capabilities. It also supports self-hosting for users who want complete control over their data. The backend is simple to set up, using either SQLite or Postgres for persistence.

The tool is written in Go and hooks into your shell to track command data, storing it in a local SQLite database managed via GORM. This data is then encrypted and synced across devices through a backend server, ensuring that your history is always available and secure.

hiSHtory is open-source and contributions are welcome. It is built with security in mind, using AES-GCM for encryption and respecting shell conventions by not recording commands prefixed with a space.

Pricing

Pricing information is not available