Federation is much more interesting when there is more than just my server and people have said that there is community interest so I put the code for the server I use on GitHub here
https://github.com/OokTech/SecureWikiServer
Requirements:
- A vps that can run node
- HTTPS certificate and key files (it can be self-signed but you and anyone else who connects will have to set the browser to accept it.)
It probably could use more documentation, but unless someone is actually going to use it than I am not going
A quick overview of what the server can do:
- Secure login
- Multiple authentication levels
-- Each authentication level can have different access to wikis
-- Access to each wiki can be granular (view, edit and individual admin functions can be set separately for each authentication level)
-- You can define as many authentication levels as you want
- The server can act as a plugin library
- Use Bob with all of its features
- Serve non-tiddlywiki things like a normal https server
- You can extend the web socket server as well to add more functionality