That's assuming you're using dynamically linked libraries/shared libraries. They're talking about "vendoring" the library into a statically linked binary or its own app-specific DLL.
Logseq to a local directory that I synchronize with my phone using SyncThing. It works great, and the fact that it's like a personal wiki feels right to me.
That said, if I were self hosting on a server, I'd probably host a personal MediaWiki instance.