hstr-rs VS atuin

Compare hstr-rs vs atuin and see what are their differences.

hstr-rs

hstr, but with paging, Unicode, and fuzzy matching (by overclockworked64)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
hstr-rs atuin
5 54
145 17,775
- 8.6%
0.0 9.7
6 months ago 2 days ago
Rust Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hstr-rs

Posts with mentions or reviews of hstr-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-02.
  • hstr-rs: A minimum hstr clone in Rust
    5 projects | /r/rust | 2 May 2022
    Another hstr-rs even.
  • Show r/rust: History suggest box for your shell
    1 project | /r/rust | 23 Mar 2021
  • Does anyone want to do a code review?
    1 project | /r/rust | 21 Feb 2021
  • Show HN: History suggest box for your shell
    4 projects | news.ycombinator.com | 26 Dec 2020
    hstr-rs is a shell history suggest box that provides quick access to the commands in your shell history. Just search for the command you want to execute (regex mode is supported), or, if you don't precisely know what you're looking for, you can browse through the commands until you find the one you want to execute. Apart from this, you can delete unwanted entries from your history, too, and more. It should work on all terminals ranging from linux term to xterm. It was initially made for bash but it should work as well with zsh, ksh, and tcsh, too.

    I use it on a daily basis.

    Check out the README for instructions if you want to try it out.

    Suggestions, bug reports, etc. are welcome.

    Let me know what you think:

    https://github.com/adder46/hstr-rs

atuin

Posts with mentions or reviews of atuin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • Ask HN: Any tool for managing large and variable command lines?
    8 projects | news.ycombinator.com | 25 Apr 2024
    I've heard good things about atuin

    https://github.com/atuinsh/atuin

  • ohmyzsh VS atuin - a user suggested alternative
    2 projects | 22 Feb 2024
    The shell history autocomplete seems to be better than the one that comes with Oh My Zsh.
  • Atuin – Magical Shell History
    6 projects | news.ycombinator.com | 21 Feb 2024
    Atuin is lovely, although I found some of its defaults pretty annoying until I changed them:

    - It turns out I basically never want fuzzy search through my command history, and certainly not by default. I gave it a try for a couple weeks but it was very frustrating to be searching for a particular command, type in the exact prefix, and have the thing I was looking for hidden among hundreds of irrelevant entries. Solution: search_mode = "fulltext" in Atuin's config.toml

    - Having a full screen pop-up appear whenever I hit up was really jarring, especially since I have a habit of hitting up a few times when I'm at the command line thinking of what I need to do next, to sort of refresh my memory on what I was just doing; the popup very effectively destroyed that chain of thought. Solution: eval "$(atuin init bash --disable-up-arrow)" in .bashrc

    These are pretty minor issues and it's possible my preferences are just different from most!

    Atuin now works really nicely for me. My only outstanding issues are:

    - Under mosh the UI ends up corrupting the screen; apparently this is really more of a mosh bug (no alternate screen support) and you can work around it by having tmux/screen running: https://github.com/atuinsh/atuin/issues/1324

    - I still don't have a great model in my head of how sync works and find myself occasionally force-syncing across a few systems until I convince myself everything is in the same state.

    - It would be nice to have some kind of settings sync so I don't have to make the config changes mentioned above on 10 different systems. Surprisingly I don't see a feature request for this yet so maybe I'll go open one...

    Anyway I don't want these issues to stop people from trying Atuin – it's a really nice piece of software. I almost never make changes to the default environment so I consider it a testament to how useful it is that I've added it to all the systems I use regularly!

  • Fly through your shell history
    6 projects | news.ycombinator.com | 11 Jan 2024
  • Atuin replaces your existing shell history with a SQLite database
    1 project | news.ycombinator.com | 9 Jan 2024
  • fish-shell: the user-friendly command-line shell
    24 projects | news.ycombinator.com | 26 Aug 2023
    They recently added sqlite backed history. You can also use atuin[1] for more advanced usecases.

    [1]: https://github.com/atuinsh/atuin

  • Atuin: Sync and search shell history
    1 project | /r/opensource | 20 Aug 2023
  • Ask HN: Share a shell script you like
    17 projects | news.ycombinator.com | 13 Aug 2023
  • Returning `Result<()>`
    1 project | /r/learnrust | 11 Jun 2023
    I was studying the Atuin crate, and I noticed the following pattern:
  • Kera Desktop: open-source, cross-platform, web-based desktop environment
    7 projects | news.ycombinator.com | 9 Jun 2023
    You might be interested in https://github.com/ellie/atuin

    > Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands.

What are some alternatives?

When comparing hstr-rs and atuin you can also consider the following projects:

fzf - :cherry_blossom: A command-line fuzzy finder

mcfly - Fly through your shell history. Great Scott!

peco - Simplistic interactive filtering tool

promkit - A toolkit for building interactive prompt in Rust

zsh-histdb - A slightly better history for zsh

zoxide - A smarter cd command. Supports all major shells.

ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.

hstr-rs - A minimum hstr clone in Rust

hstdb - Better history management for zsh. Based on ideas from https://github.com/larkery/zsh-histdb.