{"id":50897742,"url":"https://github.com/dvorka-oss/hstr","last_synced_at":"2026-07-03T16:01:22.989Z","repository":{"id":12259790,"uuid":"14877272","full_name":"dvorka-oss/hstr","owner":"dvorka-oss","description":"Bash and Zsh shell history TUI suggest box - easily view, navigate, search and manage your command history.","archived":false,"fork":false,"pushed_at":"2026-05-29T18:08:10.000Z","size":2544,"stargazers_count":4442,"open_issues_count":185,"forks_count":237,"subscribers_count":50,"default_branch":"master","last_synced_at":"2026-06-30T09:16:49.104Z","etag":null,"topics":["bash","c","cli","command-history","history","linux","ubuntu","zsh"],"latest_commit_sha":null,"homepage":"https://projects.mindforger.com/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvorka-oss.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":".github/FUNDING.yaml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"dvorka-floss-lab"}},"created_at":"2013-12-02T22:47:51.000Z","updated_at":"2026-06-29T15:32:46.000Z","dependencies_parsed_at":"2023-02-13T01:31:35.297Z","dependency_job_id":"41211fa7-8645-40b2-9388-ae48d44c5f25","html_url":"https://github.com/dvorka-oss/hstr","commit_stats":{"total_commits":753,"total_committers":58,"mean_commits":"12.982758620689655","dds":"0.44090305444887123","last_synced_commit":"4e02bd81bf928a2609e277efc67a3ba13b0826ce"},"previous_names":["dvorka-oss/hstr","dvorka/hstr"],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/dvorka-oss/hstr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka-oss%2Fhstr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka-oss%2Fhstr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka-oss%2Fhstr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka-oss%2Fhstr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvorka-oss","download_url":"https://codeload.github.com/dvorka-oss/hstr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvorka-oss%2Fhstr/sbom","scorecard":{"id":360950,"data":{"date":"2025-08-11","repo":{"name":"github.com/dvorka/hstr","commit":"59f1b0da642b2dde69b0f2f4594fa2a28fb37713"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":4,"reason":"Found 6/13 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build_ubuntu.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: statements must be separated by \u0026, ; or a newline: test/sh/tiotcsi-learning-bashfu.sh:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_ubuntu.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/dvorka/hstr/build_ubuntu.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 3.1 not signed: https://api.github.com/repos/dvorka/hstr/releases/99975310","Warn: release artifact 3.0 not signed: https://api.github.com/repos/dvorka/hstr/releases/99629723","Warn: release artifact 2.6 not signed: https://api.github.com/repos/dvorka/hstr/releases/85672563","Warn: release artifact 2.5 not signed: https://api.github.com/repos/dvorka/hstr/releases/55223140","Warn: release artifact 2.4 not signed: https://api.github.com/repos/dvorka/hstr/releases/54848225","Warn: release artifact 3.1 does not have provenance: https://api.github.com/repos/dvorka/hstr/releases/99975310","Warn: release artifact 3.0 does not have provenance: https://api.github.com/repos/dvorka/hstr/releases/99629723","Warn: release artifact 2.6 does not have provenance: https://api.github.com/repos/dvorka/hstr/releases/85672563","Warn: release artifact 2.5 does not have provenance: https://api.github.com/repos/dvorka/hstr/releases/55223140","Warn: release artifact 2.4 does not have provenance: https://api.github.com/repos/dvorka/hstr/releases/54848225"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch 'dev/2.6.0'","Warn: branch protection not enabled for branch 'dev/2.5.0'","Warn: branch protection not enabled for branch 'dev/2.4.0'","Warn: branch protection not enabled for branch 'dev/2.3.0'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T10:50:14.393Z","repository_id":12259790,"created_at":"2025-08-18T10:50:14.394Z","updated_at":"2025-08-18T10:50:14.394Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35092185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","c","cli","command-history","history","linux","ubuntu","zsh"],"created_at":"2026-06-16T01:31:30.078Z","updated_at":"2026-07-03T16:01:22.938Z","avatar_url":"https://github.com/dvorka-oss.png","language":"C","funding_links":["https://opencollective.com/dvorka-floss-lab"],"categories":["bash"],"sub_categories":[],"readme":"# HSTR\n\n[![Support on Open Collective](https://img.shields.io/badge/Sponsor-Open%20Collective-blue?style=for-the-badge\u0026logo=open-collective)](https://opencollective.com/dvorka-floss-lab)\n[![GitHub Actions CI for Ubuntu](https://github.com/dvorka-oss/hstr/actions/workflows/build_ubuntu.yml/badge.svg)](https://github.com/dvorka-oss/hstr/actions)\n[![Current release](https://img.shields.io/github/release/dvorka/hstr.svg)](https://github.com/dvorka-oss/hstr/releases)\n[![GitHub issues](https://img.shields.io/github/issues/dvorka/hstr.svg?maxAge=360)](https://github.com/dvorka-oss/hstr/issues)\n[![All releases downloads](https://img.shields.io/github/downloads/dvorka/hstr/total.svg)](https://github.com/dvorka-oss/hstr/releases)\n[![License](https://img.shields.io/github/license/dvorka/hstr?color=%23fe0000)](https://github.com/dvorka-oss/hstr/blob/master/LICENSE)\n\nEasily view, navigate and search your **command history** with shell history TUI suggest box for\n[bash](https://www.gnu.org/software/bash/) and [zsh](CONFIGURATION.md#zsh-history-settings).\n\n[![Shell History Suggest Box](doc/hstr-v2.gif \"Shell History Suggest Box @ YouTube\")](http://www.youtube.com/watch?v=sPF29NyXe2U)\n\n## Description\n\nAre you looking for a command that you used **recently**? Do you\nwant to  avoid the need to write **long commands** over and over\nagain? Are you looking for a tool that is able to manage your\n**favorite** commands?\n\nHSTR (**H**i**ST**o**R**y) is a command line utility that brings improved `bash`/`zsh` command completion\nfrom the history. It aims to make completion **easier** and more **efficient** than \u003ckbd\u003eCtrl-r\u003c/kbd\u003e.\n\nHSTR can also **manage** your command history (for instance you can remove\ncommands that are obsolete or contain a piece of sensitive information)\nor **bookmark** your favorite commands.\n\n\u003c!-- Check [video](http://www.youtube.com/watch?v=sPF29NyXe2U) tutorial. --\u003e\n\n## Packages\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd\u003e\n  \u003ca href=\"https://repology.org/project/hstr/versions\"\u003e\n    \u003cimg src=\"https://repology.org/badge/vertical-allrepos/hstr.svg?columns=4\" alt=\"Packaging status\" align=\"left\"\u003e\n  \u003c/a\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n## Installation\n\nInstall:\n\n* [Ubuntu](INSTALLATION.md#ubuntu)\n* [Debian](INSTALLATION.md#debianmint)\n* [Mint](INSTALLATION.md#debianmint)\n* [Fedora](INSTALLATION.md#fedorarhelcentosscientific)\n* [CentOS](INSTALLATION.md#fedorarhelcentosscientific)\n* [RHEL](INSTALLATION.md#fedorarhelcentosscientific)\n* [Scientific Linux](INSTALLATION.md#fedorarhelcentosscientific)\n* [openSUSE](INSTALLATION.md#opensuse)\n* [Gentoo](INSTALLATION.md#gentoo)\n* [Alpine Linux](INSTALLATION.md#alpine-linux)\n* [Arch](INSTALLATION.md#archmanjaro-linux)\n* [Manjaro Linux](INSTALLATION.md#archmanjaro-linux)\n* [FreeBSD](INSTALLATION.md#freebsd)\n* [Slackware Linux](INSTALLATION.md#slackware)\n* [Void Linux](INSTALLATION.md#void-linux)\n* [Milis Linux](INSTALLATION.md#milis-linux)\n* [Haiku OS](INSTALLATION.md#haiku-os)\n* [macOS](INSTALLATION.md#macos)\n* [nix package manager](INSTALLATION.md#nix-package-manager)\n* [Guix package manager](INSTALLATION.md#guix-package-manager)\n* [MPR package manager](INSTALLATION.md#mpr-package-manager)\n\nBuild:\n\n* [build on any Linux distro](INSTALLATION.md#build-on-any-linux-distro)\n* [build snap](INSTALLATION.md#snap)\n* [build on Ubuntu](INSTALLATION.md#build-on-ubuntu)\n* [build on Debian](INSTALLATION.md#build-on-debian)\n* [build on Fedora](INSTALLATION.md#build-on-fedora)\n* [build on Windows Subsystem for Linux (WSL)](INSTALLATION.md#build-on-wsl)\n* [build on Cygwin](INSTALLATION.md#build-on-cygwin)\n* [build on macOS](INSTALLATION.md#build-on-macos)\n\nTarball:\n\n* [build and install tarball](INSTALLATION.md#build-and-install-tarball)\n\nCheck also [packages](https://pkgs.org/search/?q=hstr) for Linux and Unix.\n\n## Configuration\n\nConfigure HSTR just by running:\n\n```bash\n# bash\nhstr --show-bash-configuration \u003e\u003e ~/.bashrc\n\n# zsh\nhstr --show-zsh-configuration \u003e\u003e ~/.zshrc\n```\n\nFor detailed HSTR configuration documentation please refer to [Configuration](CONFIGURATION.md).\n\n## Tips\nTroubleshooting:\n\n* [Commands chosen in HSTR are not inserted to terminal](INSTALLATION.md#hstr-2x-to-3x-ioctl--tiocsti)\n\nTips and tricks:\n\n* [How to hide commands from your history](./TIPS.md)\n* [How to use command tags for fast lookup](./TIPS.md)\n* [How to curate your favorite commands](./TIPS.md)\n\n\n## In the News\n\nRead about HSTR in:\n\n* [LinuxMagazine](http://www.linux-magazine.com/Issues/2014/164/Bash-History-on-Steroids)\n* [UbuntuGeek](http://www.ubuntugeek.com/tag/hstr-bash-history)\n* [DebianAdmin](http://www.debianadmin.com/hstr-easily-view-navigate-search-and-use-your-command-history-with-shell-history.html)\n* [Tuxdiary](http://tuxdiary.com/2015/02/17/hstr/)\n* [Softpedia](http://linux.softpedia.com/get/Terminals/BASH-Command-History-Completion-103155.shtml)\n* [OSTechNix](https://www.ostechnix.com/hstr-easily-view-navigate-search-manage-commandline-history/)\n\n\n## Documentation\n\nCheck man page:\n\n```bash\nman hstr\n```\n\nUser videos: [Zack](https://www.youtube.com/watch?v=Qd75pIeQkH8), [Dvorka](https://www.youtube.com/watch?v=sPF29NyXe2U), [Yayuuu](https://www.reddit.com/r/commandline/comments/1lo5up5/hstr_tiny_bash_script_that_helps_you_browse_and/), and [Yu-Jie Lin](https://www.youtube.com/watch?v=Qx5n_5B5xUw).\n\n## Bugs\n\nhttps://github.com/dvorka-oss/hstr/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvorka-oss%2Fhstr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvorka-oss%2Fhstr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvorka-oss%2Fhstr/lists"}