{"repo":"pawamoy/shell-history","free":true,"listed":false,"github":"https://github.com/pawamoy/shell-history","clone":"git clone https://github.com/pawamoy/shell-history.git","description":"Visualize your shell usage with Highcharts!","language":"Python","stars":115,"topics":["visualization","highcharts","bash","web","history","flask","zsh","analysis"],"license":"ISC","category":"cli-tools","readme_excerpt":"Shell History Inspired by bamos/zsh-history-analysis. Visualize your usage of Bash/Zsh through a web app thanks to Flask and Highcharts! Duration Length Type Exit code Hourly Daily Over time Markov chain Top commands Post your charts ideas in this issue ! - Requirements - Installation - Setup - Usage - Some technical info - How it works - History file format - How we get the values - License Requirements Shell History requires Python 3.6 or above. To install Python 3.6, I recommend using pyenv . Installation With pip : With pipx : Setup shellhistory needs a lot of info to be able to display various charts. The basic shell history is not enough. In order to generate the necessary information, you have to enable the shell extension. At shell startup, in .bashrc or .zshrc , put the following: ... and now use your shell normally! If you want to stop shellhistory , simply run shellhistory disable . Note: for performance reasons, you can also use the static, absolute path to the source file. Indeed, calling shellhistory-location spawns a Python process which can slow down your shell startup. Get the path once with shellhistory-location , and use . . In my case it's . /.local/pipx/venvs/shellhistory/lib/python3.6/site-packages/shellhistory/shellhistory.sh . Usage Launch the web app with shellhistory-web . Now go to http://localhost:5000/ and enjoy! You will need Internet connection since assets are not bundled. Some technical info How it works When you enter a command, shellhistory ","default_branch":null,"files":null,"tree":[],"storefront":"/r/pawamoy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pawamoy/shell-history/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}