Syncthing
For a setup to have files synced (eg. for Obsidian) you can use Syncthing as to decentralized sync between various devices.
sudo apt install syncthing
sudo apt-get -y install syncthing
systemctl --user start syncthing.service
systemctl --user enable --now syncthing
Local Dashboard: http://127.0.0.1:8384/
Don't forget to set a user authentication for the local dashboard to protect yourself.