Skip to content

yokohama/oreshic-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OreshicRecord

Overview

OreshicRecord is a CLI-based knowledge management tool inspired by the concept of the Akashic Records.
It is designed for engineers who work primarily in the Linux terminal environment.
PowerShell support is planned as a future extension.

The name comes from Ore (, meaning I in Japanese) + Record.

Let's Keep happy hacking and Keep growing forever!!


Highlights

Knowledge Accumulation

Record commands and notes seamlessly from the CLI.

  • command
    Store daily investigation and operational commands as reproducible logs.

  • track
    Associate logs with a current working task (track).

  • writeup
    Manage free-form writeups with full-text search and listing.

Example:

ors record -t "Run ping 3 times" ping -c 3 8.8.8.8

Knowledge Utilization

Extract and execute stored commands using search options.

Example:

ors search query ping          // search by keyword
ors search query ping 1        // show details of entry 1
ors search query ping 1 --run  // execute entry 1

Install

Requirements


Install from source

git clone https://github.com/yokohama/OreshicRecord.git
cd OreshicRecord
cargo install --path .

After installation, the binary will be located at:

$HOME/.cargo/bin

Add Cargo bin to PATH

If the ors command is not found, add it to your PATH.

For bash

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

For zsh

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Verify installation:

which ors

Setting

Environment Variables

export ORS_RECORDS_DIR=/path/to/your/records
export EDITOR=nvim
export MD_VIEWER=glow

Prepare Directory Structure

mkdir -p $ORS_RECORDS_DIR/commands
mkdir -p $ORS_RECORDS_DIR/tracks
mkdir -p $ORS_RECORDS_DIR/writeups

Final structure:

$ORS_RECORDS_DIR/
  commands/
  tracks/
  writeups/

First Run

ors --help

Example output:

Usage: ors <COMMAND>

Commands:
  record
  set
  unset
  search
  help

Options:
  -h, --help
  -V, --version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages