Hi
I don't know whether you have seen TiddlyServer by Arlen Beiler but I think you should check it out. It seems to match your requirements:
It is really good. I have used it on several devices (windows, linux, android) running as a local server via nodejs. I have been keeping wikis and static files on cloud storage for syncing and it has been working fine. I am pretty sure you can also run it on a server and access it from other devices. In that case, running it behind a proper webserver like nginx with reverse proxy is recommended. I think this was already in the documentation on github.
Hope this helps.
-Altug