this post was submitted on 23 Jul 2024
65 points (97.1% liked)

Linux

48640 readers
1672 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 4 months ago (1 children)

Using a database for notes is like going 2km in a plane.

You can use any relational database for this though but why would you subject yourself to this?

[–] [email protected] 2 points 4 months ago (2 children)

I think you're right about notes, but what about the other use cases?

[–] [email protected] 1 points 4 months ago

Obsidian has a huge number of plug-ins, that cover a wide range of uses. I also use Zettel Notes as a quick md file editor and that has the ability to capture pages in markdown to read later. And/or you can use Omnivore.

[–] [email protected] 1 points 3 months ago

If you are generally interested in designing databases its a good exercise to try and build one yourself. That is the only situation I recommend you go this route