Shameless plug, my version of YABHA (yet another bash history app):
<a href="https://github.com/andmarios/bashistdb" rel="nofollow">https://github.com/andmarios/bashistdb</a><p>Written in go, uses sqlite and can work locally or remotely. In the latter case you can send history from many accounts and search globally. Transport encryption is based on NaCl. One binary serves all roles.<p>Doesn't store other information than command line and time but this is what I need most of time.<p>The main pain point behind its creation was searching in history. There is a global flag (search in all accounts, -g), the wild card is SQL's wild card (%). Less frequently used but very helpful, content search (-A, -B, -C, like grep). Also regexp is supported though very rarely is needed.