I just pushed this (very) small project. It's a note taking cli python program, which will works (at least) on python 2.4, 2.7 and 3.9.
It's heavily inspired by inc[0], that I discovered in this post[1] (that was posted to hn a few months ago[2], thanks hn :)).
The goal here is to store knowledge using simple txt files. If you provide a name to the cli, the txt will be saved under "name.txt", and if you keep it blank, it will save a file named after today's date (%Y-%m-%d.txt). You can search for content, and it will be sorted by last accessed first. The "date in the name" thing is cool (from my pov) because I may remember a concept or something by it's date.
add cat & ls features
add default extension env var
add ability to define ext of a new file
update help txt
add examples to help txt
remove ugly exit_code var in bash commands
add autocomplete script
Now I can see all the files with `n ls` or some files with `n ls text`.
I can even edit a file very quickly by doing `n [tab][tab]` and selecting the file I want to edit!
I kind of think I want to write my own that integrates with org-roam.
I like the concept of networked notes, but find I don't take enough of them because of the effort involved in doing so. Making it easier to capture the information would be great.
I'd probably also want to integrate with Anki for the notes that I want to eventually commit to memory.
> I don't take enough of them because of the effort involved in doing so
And then the effort of launching a GUI or a big program (so 1-5 seconds) just to retrieve a command or a line of text. With a (lightweight) terminal-based solution, you just grep the file or use whatever is available to find the information faster.
4 comments
[ 3.1 ms ] story [ 24.3 ms ] threadI just pushed this (very) small project. It's a note taking cli python program, which will works (at least) on python 2.4, 2.7 and 3.9.
It's heavily inspired by inc[0], that I discovered in this post[1] (that was posted to hn a few months ago[2], thanks hn :)).
The goal here is to store knowledge using simple txt files. If you provide a name to the cli, the txt will be saved under "name.txt", and if you keep it blank, it will save a file named after today's date (%Y-%m-%d.txt). You can search for content, and it will be sorted by last accessed first. The "date in the name" thing is cool (from my pov) because I may remember a concept or something by it's date.
I also spent way too much time writing the help.
[0]: https://github.com/thesephist/inc
[1]: https://thesephist.com/posts/inc/
[2]: https://news.ycombinator.com/item?id=27667538
Here's the content of the git commit msg:
Now I can see all the files with `n ls` or some files with `n ls text`.I can even edit a file very quickly by doing `n [tab][tab]` and selecting the file I want to edit!
I kind of think I want to write my own that integrates with org-roam.
I like the concept of networked notes, but find I don't take enough of them because of the effort involved in doing so. Making it easier to capture the information would be great.
I'd probably also want to integrate with Anki for the notes that I want to eventually commit to memory.
> I don't take enough of them because of the effort involved in doing so
And then the effort of launching a GUI or a big program (so 1-5 seconds) just to retrieve a command or a line of text. With a (lightweight) terminal-based solution, you just grep the file or use whatever is available to find the information faster.