You are not logged in.

#1 2026-04-21 09:06:04

brontosaurusrex
Senior Associate, Middle Office
Registered: 2015-09-29
Posts: 2,806
Website

Note taking script, the cli version

https://raw.githubusercontent.com/bront … s/bin/note

Needs: fzf, ripgrep

note h
  note n "title"          → new note with explicit title
  note "text"             → create/reopen note
  note l                  → list
  note o                  → open (fzf)
  note s                  → search (rg|fzf)
  note c                  → cat latest n notes
  note rm                 → move to .trash
  note pull               → git pull
  note push               → git push
  note --longhelp | less  → full help
  note h                  → this help

This is v2, which tries to simplify ux/flow, so basically

note this is a new note

should be valid command. $EDITOR will be used as text editor, otherwise it will try helix (hx), configure as needed. Very early stage, behavioral comments appreciated. Shellcheck is happy with it, but there will be bugs.

p.s. By default notes are stored in $HOME/notes, configure as needed.

scrot of '"note open" fzf tui' note.png

Offline

#2 2026-04-23 14:46:18

greenjeans
Member
Registered: 2025-01-18
Posts: 350
Website

Re: Note taking script, the cli version

Very nice! Little note-taking apps are just so handy, can't believe I did without one for so long.

Offline

#3 2026-04-23 16:42:35

brontosaurusrex
Senior Associate, Middle Office
Registered: 2015-09-29
Posts: 2,806
Website

Re: Note taking script, the cli version

^I just pushed some cosmetic changes to make that fzf tui look a little more consistent between 'search' and 'open'. Also testing some git auto-sync idea. Also it should now work with older versions of fzf, like the one in bookworm (0.38.0).

Offline

Board footer

Powered by FluxBB