MicroJournal: Personal Desktop Microjournaling
I’ve never been a Twitter addict, mostly because my short notes were public there. But I do need to write shit down as it happens. So I decided to write my own microjournaling app as part of my quest to learn more about Bash scripting.

Thus MicroJournal has been born. It’s a small app, that allows you to write down essential (and slightly less essential) notes and observation from command line. Usage is simple:
microj "My note"
After you’ve recorded your note, it will appear in a file under ~/.microj. The directory has a daty-based hiearchy in ~/microj/YYYY/MM/ format. Each date has it’s own file with .microj extension. To read the journal, fire microj up with no arugments. From there, you can quickly access today’s and yesterday’s notes using the r (read) and y (yesterday) shortcuts. Today’s notes are shown by default. If you want to see all notes for the currently selected date, you can press the f key and toggle full mode.
By pressing the d key, you have access to any date. You can type in a full date, or use phrases like -2 days (2 days ago) or last Monday.
You can search the currently loaded date by pressing the g key and typing in your search phrase, or search all dates by pressing Shift+g (i.e. capital G).
You can also press n to enter a new note while in view mode.
Of course, you can quit by pressing q.




