Microblog
Why I keep my notes, logs, and ADRs in terminal
nb, jrnl, adr-tools
I don’t care and keep using Linux for my honest work. Today, I play with some terminal tools for notes, logs, and architecture decisions: nb, jrnl, and adr-tools.
Working from a single environment reduces context switching and keeps the workflow consistent.
Reducing mouse usage helps avoid wrist and shoulder strain (a trackball is a good tip).
CLI tools integrate easily into scripts, pipelines, and Git hooks for semi-automatic updates.
No GUI dependency means the tools work the same on devices.
Looks like another frustration-free setup I’m keeping in my toolbox :)
Tools:
nb - notebooks for more structured notes; bash; folders-based repository nb
jrnl - journal for logging quick notes, envents or ideas; git compatible repository jrnl
adr-tools - add and manage adrs (clone gh repo) repository adr-tools
Examples:
pip install jrnl
jrnl "my note" #add note with current timestamp
jrnl #open editor
jrnl -n 5 #last x entries
jrnl --from "yyyy-mm-dd"
jrnl --to today
jrnl --export json
jrnl --edit
jrnl --encrypt
jrnl --config-file
jrnl my-diary1-custom-name "note1 bla bla"
cat ~/.jrnl_config #show config and all diaries
nb #show diaries list and available commands
nb notebooks # show all diaries
nb create myNotebooksName
nb ls #list notes
nb search
nb add "my note"
nb edit noteId
nb view noteId
nb rm
nb export
