Code Monkey home page Code Monkey logo

storydb's Introduction

๐Ÿš€ - Vault cmd-line terminal app

  • That project can read bash/zsh history or might any plain text file content and store it into SQLite, Which offers a convenient and effective method for organizing and retrieving command-line typed.
  • The convenience of TUI empowers you to browse and search your 'history' using simple key strokes, enhancing the convenience of accessing and scrutinizing your previous commands.

Installation

  • Download the binary through Latest version and place storydb into /bin or Clone the project and run go run build
  • You can overwrite your currently crt+r by bind '"\C-r": "\C-a storydb \C-j"' put it in your global variable as /etc/profile or $HOME/profile
  • Running sysctl -w dev.tty.legacy_tiocsti=1 if your kernel is 6.2 or above. There is a reason why kernel devs disabled it. Reason

You can conveniently explore and interact with your command-line history, making it easier to recall past commands, analyze usage patterns, and improve your workflow in the terminal.

โŒจ๏ธ Button Mapping

Key Event
k, shift+tab, โ†‘ up
ctrl+d, โ†’ page right
j, โ†“ down
ctrl+s, โ† page left
enter select row to fill term
ctrl+c, q bring down finder or quit
alt+s sync/load history file
ctrl+r reset finder text input
f bring up finder text input

Set up

  • You must set up export storydb=$(tty) in your global variable profile that is usually located at /etc/profile or $HOME
  • Your bash/zsh history file should be set up as export HISTFILE=$HOME/.bash_history or export HISTFILE=$HOME/.zsh_history

Requirements

  • Go 1.20+

storydb's People

Contributors

grrlopes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

fairhopeweb

storydb's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.