(´_ゝ`) the dimi-dome

livesync obsidian notes with your nas

Hello friends, been a while.

Today I changed the themes on my VS Code and Obsidian to light mode. Using the Primary theme. It’s something new… I haven’t tried anything light mode for like a decade, it’s time to give it a shot.

Anyway, I also moved away from syncing my notes with google drive finally, and to a self-hosted solution (mostly) using my Ugreen NAS, tailscale as my VPN, and the Self-Hosted LiveSync community plugin for Obsidian. This was mostly for getting my apple phone to be able to sync to these notes as well. But this has the added bonus of allowing my linux machines to livesync, instead of relying on git, and not to mention helps me ever-so-slightly escape the tight grasp of big tech.

Livesync for Obsidian (to work with Linux / IOS)

I went through a bit of an ordeal getting livesync to work across my phone, and devices.

Prerequisites / Technologies used:

UGreen Setup:

After we make sure Docker is installed

CouchDB using Docker

# Create the _users database
curl -X PUT http://your_username:your_strong_password@<YOUR-NAS-IP>:5984/_users

# Create the _replicator database
curl -X PUT http://your_username:your_strong_password@<YOUR-NAS-IP>:5984/_replicator

# Create the _global_changes database
curl -X PUT http://your_username:your_strong_password@<YOUR-NAS-IP>:5984/_global_changes

# Create obsidian vault -- this name will be important later
curl -X PUT http://your_username:your_strong_password@127.0.0.1:5984/obsidian-vault

Tailscale using Docker

Obsidian Setup:

IOS Setup:

Extra notes: