Show HN: Dnote – Instantly Capture Your Coding Wisdom
dnote.io
dnote.io
So I made a CLI to keep track of my engineering microlessons with minimal friction, without leaving the command line. Next step is to build automated digest email so that I actually remember my lessons.
I wrote more about why and how I am building it here: https://sungwoncho.io/making-dnote
I've been wanting to actually write an identical tool but for a daily diary.
I noticed a small typo:
> Reinforce your knowledge effor[t]lessly
If you could like or down vote notes, and if you could publish notes to channels ( i checked and you already have that, dnote use, to make a book ), and subscribe to devs channels it would be cool.
I also think like a vim plugin that could bring up dnotes on Promise when you ctrl-something on the word Promise in your code, and a way to full text search, and if you automatically surfaced notes at intervals for learning, could be good ideas for this.
Pinging your personal server every time someone runs your CLI tool is not something people would expect or be happy to learn about after the fact.
I understand you're curious how many people are using your tool, but this isn't the way to go about it.
Not OP, but what is the correct way to go about it?
https://github.com/dnote-io/cli/blob/master/main.go#L272
This looks like the only place that you're doing a network request, and it really slows down the program.
I plan to either remove it in the next patch or sending heartbeat less frequently. In terms of privacy, how do you feel about it?
echo "you can write dev tools as shell functions" >>.notes
Would be pretty close to the same thing?1. being able to organize notes by "books" 2. being able to use it cross-platform (since both `echo` and `>>` don't exist in powershell)
Is not that not most applications though? It would be possible to do it yourself, but the application simplifies that process. Does not need to do more than so.
echo "don't ever forget the second >" > .notes
(Don't Do it...)
/tmp $ echo foo > test
/tmp $ echo bar > test
-bash: test: cannot overwrite existing fileIt is just a small part of my note keeping system, but I have often found it really convienient to be able to jot "asides" in the terminal like this.
And one day you forget the second > and boom. There go your notes. Or at least the notes before the last backup.
function dnote () {
echo "$1" >> ~/.notes
} vim ~/dev/.note
and navigated to an an appropriate section whenever I wanted to write down something new I learned.I'm a firm believer in not adding needless features just to stay busy. For example, I use DEVONThink, which has not really received any significant feature updates in a few years! I've also never felt 'bad' about the long period in which there was no development on Sublime Text.
But Quiver is far from 'good enough' for me. The popup-style search is nowhere close what I want, there's no keyboard shortcut to indent list items (at least not in Markdown mode), and there are tons of ways in which the app can and needs to be improved.
I bought it mostly because of its promise, and because the storage format is really nice. Furthermore, building a cross-platform Quiver (perhaps with Electron/React Native) with some specific DEVONThink-like features is high on my list of itches I've been meaning to scratch. But until I do so, or until active development on Quiver becomes evident, I can't help but feel slightly disappointed.
All that said I'm ultimately happy to have supported a developer who put out something nice with a great data format! Just being grumbly, I guess.
Give the free demo a try and see if it works for you.
Even more impressive considering that I absolutely and unreasonably loathe websites that mess with my scrolling, which yours appears to do. May I suggested turning that off :-)?
Anyways, I'll try it out and get back to you!
Edit: Ha! Squashed the js that was causing the scroll jacking. Thanks for the bug report ;)
Edit: Where can I file bug reports? :)
Also 0.2.4 should drop in a few days that fixes a ton of bugs. You can follow along on our roadmap here: https://trello.com/b/Mk4OWPJo
I think using something like `echo "note" >> .note` or Dnote can be good for writing a short oneliners and getting back to the original task, without losing focus.
$ qr
show available quickref files (in directory $QR)
$ qr topic
show all lines from $QR/topic.txt
a "topic" can be anything, but generally something like a language (py),
program (blender), package (django), command (git). also things like audio,
pdf manipulation, CLI image editing.
$ qr topic pattern
show all lines from topic.txt that match regex pattern
$ qr topic term1 term2 ...
show all lines from topic.txt that match all terms
$ qr add topic "line with spaces"
append "line with spaces" to topic.txt
$ qr edit [topic1 [topic2 ...]]
open specified topics with $EDITOR
I don't personally see much value in sharing/aggregating the note files themselves, because it's all about personalized keywords.Thanks for sharing!
echo "crap" >> notes.md
It even supports markdown :D # Good bye, everything up to this point
echo "crap" > notes.md
Or are in another directory notes() {
echo $1 >> $HOME/notes.md
}
Now `notes 'blah blah'` wherever.I have a bunch of small functions like this for various things in my day-job, it helps a lot.