A local database with a command line interface? (sqlite?)

matcha_addict@lemy.lol to Linux@lemmy.ml – 67 points –

Hi all,

I am looking for a local database that is easily accessible via the command line.

It can be SQL or non-SQL

Whats my use case? I want to use it kinda like a second brain. A place to save my notes, my todo lists, my book reading lists, links / articles to read later, etc.

I want it to be a good CLI citizen so that I can script its commands to create simpler abstractions, rather than writing out the full queries every time.

Maybe sqlite is what I need, but is that ideal for my use case?

Edit: removed notes, as evidently they aren't suitable for this and aren't like the rest.

57

You are viewing a single comment

I wouldn't recommend a DB for note taking purpose. You can use Markdown with vim.

Agreed. You can still do tags with filenames like ===Category===Tag 1---Tag 2===Note name.md or some such format.

Perhaps I shouldn't have said note taking. But the rest still applies.