@darius There's always Emacs org-mode, and more specifically org-roam which is a Roam clone in org mode. Its just a bunch of plaintext files, so easily synced using whatever file sync solution you want (SyncThing, NextCloud, etc)
I haven't been using org mode very long myself so I cant say much about it yet, but there's an endless amount of articles about notetaking with org mode (with or without org-roam) out there.
@operand (cc'ing @rrix who also recommended org-mode/org-roam)
My biggest fear about org-mode is it seems like the kind of thing where you can lose yourself spending more time configuring the tool than actually researching. One of the things I liked about roam is I *couldn't* configure it much, which forced me to actually do my research instead.
Also the idea of learning emacs after 20 years of vim use seems daunting. I have no preference, I picked vim at random in 2000, but it's scary.