I’ve been thinking about this as well for TTRPG notes and info for myself and others. I have a few raspberry pi laying around and it should be pretty easy to get something like Mediawiki (the same thing Wikipedia uses)some other wiki engine running on one.
The worst I have done is wipe out my home directory. Backups are good, I was able to copy everything back and it was like it never happened