I didn't know about it. I already have a self-hosted git so I definitely will try!
https://github.com/anyproto/anytype-ts
For me is a multi-device replacement for Obsidian (which I use a lot), but I'm waiting for better self-hosting support. As of now you have to recompile the mobile clients to point to your own server, which sucks...
Most drives nowadays are SED enabled, you could just set a random password and lock them