There are a couple more features I want to add to Wiki.js to improve the experience.
Hey! Are you a public learner in need of a Wiki where you can post all of your incremental writing? Look no further! Here's a guide on how to set up Wiki.js on a Digital Ocean droplet which you can edit using Obsidian.
NOTE: THIS GUIDE IS NOT FINISHED YET!
We are going to be setting up Wiki.js using Digital Ocean, a cloud hosting service. The setup process is pretty painless - the Wiki.js developers have actually set up a pre-configured environment that you can automatically install onto your server.
Wiki.js works great on even the smallest Droplet size (1GB RAM + 1 CPU), which costs $5 per month as of March 2021. Plus you can always upgrade to a more powerful server in the future if you need to.
Note that for this part of the setup you will need to use SSH to login to your Digital Ocean droplet and run some commands to complete the installation.
Options > Files and Links > New Link Format should be set to "Absolute path in Vault".
Turn off Options > Files and Links > Use [[Wikilinks]].
Wiki.js doesn't use the [[Wikilinks]] link format.
You will want to create a .gitignore file in the root of your git repository.
.obsidian
commit.sh
edit_links.py
When you are ready to save changes you have made, you can run the commit.sh file. This will edit all of the links in your markdown files into the correct format for Wiki.js and commit your changes to GitHub. Wiki.js will pull the changes from GitHub once every minute, and then you can see your changes on your Wiki.