3 ms·
Thanks for linking that. Some noticeable differences between my script and theirs are: 1. Mine is a zero dependency ~20 line bash script. 2. Mine dates your
by nickjj 6y ago
Thanks for linking that.
Some noticeable differences between my script and theirs are:
1. Mine is a zero dependency ~20 line bash script.
2. Mine dates your files like YYYY-MM.txt for easy access later on and then appends to the file for a specific month.
3. Mine is designed to be used from the command line with the least amount of effort possible while giving you the most flexibility you can realistically ask for. Mine has no sub commands. You can add 1 line notes by just typing `notes hey this is my cool note` or run `notes` without arguments to open this month's notes file in your $EDITOR. It also supports taking input from stdin so you can save the output of programs or your clipboard into your notes.
There's no built in things like searching because you can grep your plain text notes at your leisure, and since the files are dated that means you can go in there and delete your notes as needed too. There's also no git integration built into the tool because your notes directory is literally a directory of plain text files. You can choose to `git init` a git repo in there if you'd like. The note tool works the same with or without it being a git repo.
This tool was created after ~20 years worth of plain text note taking. There hasn't been a commit to the project in a year because the script is basically done and works. I use it every day. There's no need to add features into it like encryption or backups because that can be handled elsewhere such as putting the notes directory into Dropbox or having a backup script reference that directory to backup (personally I rsync it with a bunch of other directories to an external HD in a daily cron job).