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

Rust Programming

9300 readers
1 users here now

founded 7 years ago
MODERATORS
 

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?

top 5 comments
sorted by: hot top controversial new old
[–] nous@programming.dev 2 points 1 month ago (1 children)

You can just use the filesystem and markdown files. That is a common way for applications to store note type data locally. This is what tools like Obsidian do and has the advantage of being easy to get the notes out if you want to use a different tool.

[–] racketlauncher831@lemmy.ml 1 points 1 month ago

And just use a filesystem that supports snapshot and bam! You've got version control too.

[–] RustyNova@lemmy.world 1 points 1 month ago

Is it a fully local backend? If so, you don't need a database. JSON could be enough.

[–] alfredon996@feddit.it 1 points 1 month ago* (last edited 1 month ago)

Yes, there is Helix Notes, the backend is written in Rust

https://codeberg.org/ArkHost/HelixNotes

[–] dessalines@lemmy.ml 1 points 1 month ago

Rust already has one of the best text editors: helix.

Then just take notes in markdown.