# ddworken/hishtory

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/ddworken-hishtory).**

3,027 stars · 62 forks · Go · mit

## Links

- GitHub: https://github.com/ddworken/hishtory
- Homepage: https://hishtory.dev
- awesome-repositories: https://awesome-repositories.com/repository/ddworken-hishtory.md

## Topics

`bash` `cli` `fish` `golang` `history` `shell` `zsh`

## Description

Hishtory is a shell command database and terminal history search tool that captures, records, and manages historical shell sessions. It functions as a synchronized history manager, providing a terminal interface to filter and search saved commands by text, host, user, or date.

The project distinguishes itself by integrating large language models to suggest probable shell commands when traditional history searches fail to find a result. It also provides cross-device history synchronization, mirroring command history between a local terminal and a remote backend.

The system covers command line workflow and session privacy, allowing users to control command recording and delete specific history entries. It includes a terminal user interface with customizable layouts, color schemes, and key bindings.

## Tags

### Development Tools & Productivity

- [Shell Command Databases](https://awesome-repositories.com/f/development-tools-productivity/shell-command-databases.md) — A local storage system for capturing, recording, and managing historical shell sessions across different environments.
- [Shell Command Search](https://awesome-repositories.com/f/development-tools-productivity/shell-command-search.md) — Provides a specialized system for retrieving and recalling previously executed shell commands.
- [Shell Event Tracking](https://awesome-repositories.com/f/development-tools-productivity/event-hooks/shell-event-tracking.md) — Intercepts shell execution events via environment hooks to automatically record commands into a database.
- [Shell History Managers](https://awesome-repositories.com/f/development-tools-productivity/shell-history-managers.md) — Replaces standard shell history files with a searchable database enhanced by LLM suggestions.
- [Shell History Search Engines](https://awesome-repositories.com/f/development-tools-productivity/shell-history-search-engines.md) — Provides a high-performance terminal interface for filtering and searching saved shell commands.
- [Shell History Synchronizers](https://awesome-repositories.com/f/development-tools-productivity/shell-history-synchronizers.md) — Synchronizes shell history across multiple machines via a remote backend. ([source](https://hishtory.dev))
- [Terminal User Interfaces](https://awesome-repositories.com/f/development-tools-productivity/terminal-user-interfaces.md) — Features an interactive terminal user interface for browsing and managing recorded command history.
- [Command Suggestion Tools](https://awesome-repositories.com/f/development-tools-productivity/terminal-shell-cli/cli-tooling-frameworks/command-suggestion-tools.md) — Provides LLM-powered suggestions to help users find or generate the correct shell commands.

### Part of an Awesome List

- [Command Line Productivity](https://awesome-repositories.com/f/awesome-lists/productivity/command-line-productivity.md) — Enhances terminal productivity through advanced filtering and efficient retrieval of historical commands.

### Data & Databases

- [Persistent Relational Storage](https://awesome-repositories.com/f/data-databases/sqlite-storage-adapters/persistent-relational-storage.md) — Uses a local SQLite database to persist shell command metadata and execution timestamps.

### Software Engineering & Architecture

- [Client-Server Architectures](https://awesome-repositories.com/f/software-engineering-architecture/client-server-architectures.md) — Synchronizes local command history with a remote backend using a client-server architectural pattern.

### Artificial Intelligence & ML

- [AI Assistants](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-assistants.md) — Integrates a language model to provide intelligent shell command suggestions when history searches fail. ([source](https://hishtory.dev))

### Security & Cryptography

- [Command History Privacy](https://awesome-repositories.com/f/security-cryptography/command-history-privacy.md) — Controls which commands are recorded and allows for the deletion of sensitive history entries.

### System Administration & Monitoring

- [Recording Controls](https://awesome-repositories.com/f/system-administration-monitoring/execution-history-auditors/reverse-execution-simulation/record-and-replay-debugging/data-stream-recording-and-replay/shell-session-recorders/recording-controls.md) — Provides the ability to start or stop the capture of shell commands to manage session recording. ([source](https://hishtory.dev))
