3 ms·
Plug of basically the same idea except as a pip package: https://github.com/Aperocky/diarycli https://github.com/Aperocky/diarycli `pip install diarycli` Alt
by Aperocky 3y ago
Plug of basically the same idea except as a pip package:
https://github.com/Aperocky/diarycli https://github.com/Aperocky/diarycli
`pip install diarycli`
Alternatively there is a shell version if you are averse to python/pip package manager as well:
https://github.com/Aperocky/diaryman/blob/master/diaryman.sh https://github.com/Aperocky/diaryman/blob/master/diaryman.sh
I've been using this for years, it doesn't have any fancy features - it only reliably opens up/create today's diary in vim whenever I type `diary` in command line. with some minor utilities.
It is life changing - having `diary` where I can type my thoughts into whenever. I maintain a separate one both for work and life - and both are proving invaluable.
- candyman 3y agoThis is an interesting way to do this. I've been using Sublime lately and it's been okay but I need some organization. Does this allow something like "diary [name] [text] where you can add text to any diary with that name and if there is none it creates a new one? I will look at this in more detail next weekend when I am off from work.
- Aperocky 3y agothis is basically exactly what it does. It looks through the folder (i.e. year/month/date.md) and try to find whether today's diary exist. If it does exist it just opens it, otherwise it creates it. The script actually accept other terminal editors if you edit a single line in the package. I imagine it will be easy to change to use sublime as well.