Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This looks very well done. In particular the web bookmark database is something I have been thinking about doing myself.

One thing that I would do differently is how titles are handled.

`nb` will store the title in front-matter metadata and set the filename to a slug (spaces to underscore etc.). For externally added files, both metadata and markdown level 1 headings take precedence over filename. If neither are specified, `nb list` will show both filename (with extension) and first line of content.

I have used markdown-based notes since notational velocity came out 20 years ago. Along the way I have used many different tools, and have come to prefer a filesystem-centric approach where the title is used as filename if at all possible, and the only override is explicit front-matter metadata.

This approach makes it easier to work with the notes as simple files on your phone and in the terminal.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: