I've been using TiddlyDesktop, but that thing has some questionable privacy because it's based on Chromium. One time, I had it running in the background while working on something completely unrelated, and I got a Chrome-style popup/alert warning me about a network printer being disconnected. I didn't even have Chrome installed on my machine at the time and it took me a while to realize that it came from TiddlyDesktop.
But besides the privacy issues, TiddlyDesktop only serves local wikis. That's annoying when you have multiple devices.
Also, pro-tip if you're on Ubuntu: the latest golang version in the default repos isn't compatible with this. You'll need to use golang 1.16 or later, which can be installed manually from the website, or installed via apt with a custom PPA (https://github.com/golang/go/wiki/Ubuntu)