timwis 6 years ago

Thanks for sharing! I'm one of those folks who has a directory of text file notes (they happen to be markdown files). Looking at the site, though, it's not clear why I would want to use this. It demonstrates 4 commands: (edit: not sure why my markdown isn't rendering in this comment)

* `hawth list`: why wouldn't I just use `ls`?

* `hawth show`: this would be `cat`

* `hawth append`: this would be `>>` (e.g. `echo foo >> note.md`)

* `hawth delete`: this would be `rm`, no?

Maybe there's more to it than the site shows, but just wanted to share my feedback at first glance. Hope it's helpful!

  • kixpanganiban 6 years ago

    This. I've also toyed with the idea of implementing my own flat-file notes manager, but I always get stuck at the question "how is this better than just bash?"

    According to the Bitbucket source, here are the commands that it supports: https://bitbucket.org/hawth/hawth/src/7e189c62bae6f459bc648b...

    Maybe someday it will implement note taking features such as tagging, links, and so on -- but for now, a combination of bash commands seems to be a little more robust. Good idea though.

  • sametmax 6 years ago

    Not if you target windows as well. After all, python is highly portable.

    Besides, having your own command allow you to add goodies such as stats, various formatting and ergonomic tweaks and abstract from the file system. A useful feature if you ever decide to use other backends or make an api.

    • olskool 6 years ago

      UNIX shells are available on Windows. I use git bash.

kaushalmodi 6 years ago

For Emacs users, if you haven't yet checked out, look at the robust and mature Org mode and Org Capture.