8
submitted 3 weeks ago by remustan37@sh.itjust.works to c/rust@lemmy.ml

Hi everyone I was thinking of creating a backend module that has functione for a note taking(search, sort, etc). So anyone can implement a ui on top of it.

I have some basic understanding of rust (made a just-working chip-8 emulator). But I've never used SQL or other database.

Is this plausible? Is there a similar project that I can use as reference? What are the mistakes I should avoid?

you are viewing a single comment's thread
view the rest of the comments
[-] baod_rate@programming.dev 1 points 2 weeks ago

Note that Obsidian parses all the files and uses the browser's built in database to store indexed metadata and links between note files. It's how they have a responsive search function. You could either use sqlite, ad-hoc your way with flat-files.

Of course, you could parse, walk links, and search through all files on the fly all the time. Text files at personal-notes scale should cache really well, and it might still be faster without the browser-tech overhead, but it's a toss-up

this post was submitted on 02 May 2026
8 points (100.0% liked)

Rust Programming

9281 readers
1 users here now

founded 7 years ago
MODERATORS