Maybe try Obsidian? It works completely offline, it's free, and its stores your data as a folder of markdown files. It should cover your personal wiki / Zettelkasten needs, plus, if you're willing to spend some time on learning the Tasks plugin, you can implement a pretty decent GTD-like system on it.