gonote
https://github.com/almondheil/gonote
I wasn’t happy with all the parts about how my python script worked, and I wanted to write something in Go to get a better handle on the language. So this seemed like the perfect candidate!
This is a similar deal as the old py-note, but with some new features I’m pretty proud of:
-
Clearer command line flags, now done with spf13/cobra
-
YAML frontmatter, rather than my own hacked-together format. (adrg/frontmatter and yaml.v3)
-
Parallel reading of note frontmatters, which helps things work a good deal faster when there’s a lot of notes.
- I got about a 2x speedup over ~10k notes with 4 goroutines, which seemed like a sweet spot to me. I’m probably just bottlenecked by I/O speeds now.