All Projects → jcsalterego → Historian

jcsalterego / Historian

Licence: other
Command-line utility for managing shell history in a SQLite database.

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Historian

Polemicas E Tretas Dev
As polêmicas e tretas 🇧🇷 versionadas
Stars: ✭ 258 (-50.67%)
Mutual labels:  history
Resh
Rich Enhanced Shell History - Contextual shell history for zsh and bash
Stars: ✭ 310 (-40.73%)
Mutual labels:  history
Git Quick Stats
▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
Stars: ✭ 5,139 (+882.6%)
Mutual labels:  history
Frontexpress
An Express.js-Style router for the front-end
Stars: ✭ 263 (-49.71%)
Mutual labels:  history
Slack History Export
A NPM module that allows slack users export their history
Stars: ✭ 284 (-45.7%)
Mutual labels:  history
Mtg Arena Tool
An MTG Arena deck and statistics manager
Stars: ✭ 327 (-37.48%)
Mutual labels:  history
Curatescape
A set of add-ons for the Omeka content management system, designed specifically for location-based narrative content, and compatible with (optional) paid Curatescape mobile applications.
Stars: ✭ 39 (-92.54%)
Mutual labels:  history
Unix History Repo
Continuous Unix commit history from 1970 until today
Stars: ✭ 4,851 (+827.53%)
Mutual labels:  history
Adamantium Thief
🔑 Decrypt chromium based browsers passwords, cookies, credit cards, history, bookmarks, autofill. Version > 80 is supported.
Stars: ✭ 283 (-45.89%)
Mutual labels:  history
Symbolic Execution
History of symbolic execution (as well as SAT/SMT solving, fuzzing, and taint data tracking)
Stars: ✭ 395 (-24.47%)
Mutual labels:  history
Tongjian
资治通鉴易读版
Stars: ✭ 268 (-48.76%)
Mutual labels:  history
Browser
Create Elm programs that run in browsers!
Stars: ✭ 284 (-45.7%)
Mutual labels:  history
History Master
📈📉📊A Firefox/Chrome extension to visualize browsing history, sync among different browsers!
Stars: ✭ 356 (-31.93%)
Mutual labels:  history
Rxgalleryfinal
图片选择库,单选/多选、拍照、裁剪、压缩,自定义。包括视频选择和录制。
Stars: ✭ 2,798 (+434.99%)
Mutual labels:  history
Stacklabel
🔥空祖家的堆叠标签(以下碎念:一开始起名字“StackLabel”没想太多结果被人吐槽Stack是整齐堆叠的意思...........好吧这是我的锅不过现在要改也来不及了,好用就行了...吧?
Stars: ✭ 471 (-9.94%)
Mutual labels:  history
Unix History Make
Code and data to create a git repository representing the Unix source code history
Stars: ✭ 258 (-50.67%)
Mutual labels:  history
History Search Multi Word
Multi-word, syntax highlighted history searching for Zsh
Stars: ✭ 314 (-39.96%)
Mutual labels:  history
Keep A Changelog
If you build software, keep a changelog.
Stars: ✭ 5,065 (+868.45%)
Mutual labels:  history
Mobx Router
A simple router for MobX + React apps
Stars: ✭ 489 (-6.5%)
Mutual labels:  history
History
📝 Go: A Documentary | https://golang.design/history
Stars: ✭ 370 (-29.25%)
Mutual labels:  history

historian

Command-line utility for managing shell history in a SQLite database.

~/.bash_history is deduped and imported into a database.

Requirements

  • SQLite
  • a home directory

Installation

Download and 1) add the directory to your $PATH

export PATH="$PATH:/Users/jerry/historian"

or 2) add hist as an alias.

alias hist="/Users/jerry/historian/hist"

Getting Started

Import your ~/.bash_history

$ hist import

Super Installation

Add hist import to your .profile (assuming hist is in your path):

$ echo hist import >> ~/.profile

This will import your .bash_history every time you launch a new shell.

Usage

Show config:

$ hist config
version:      0.0.2
bash_history: /Users/jerry/.bash_history
db:           /Users/jerry/.historian.db
sqlite3:      /opt/local/bin/sqlite3

Search:

$ hist search monsters
690
    echo a zombie with no conscience >> ~/monsters
689
    echo ghoul >> ~/monsters
688
    echo goblin >> ~/monsters
687
    echo lochness >> ~/monsters

Search (shorthand):

$ hist /monsters
690
    echo a zombie with no conscience >> ~/monsters
689
    echo ghoul >> ~/monsters
688
    echo goblin >> ~/monsters
687
    echo lochness >> ~/monsters

View log:

$ hist log
1020
    rm -f README.md
1019
    emacs README.md
1018
    rm -rf .git

Pitfalls

Live like your db file could be corrupted at any time.

Be wary of running specially crafted hist commands or against ~/.bash_history files.

Cool Things in the Future

  • export to append to ~/.bash_history
  • scrub items from history
  • set or autodetect configs
  • other shells than bash
  • timestamp support
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].