It shouldn't be hard. As I said, I did mine with just HTML with some m4 macros for common variables and partials. I build my entire site and upload it with a "make install" command. A self-hosted wiki on a Pine64 shouldn't be much harder. :)
Yeah, that's what I'm thinking. There are plenty of wiki-like frameworks out there that run on a web server.