Just like on my Macbook, I have a full copy of my source under git. I'm running Hugo and a Node.js-based rsync watcher. It's offline-first and I have both local offline live reload and streaming updates when online in live mode.
@aral You may want to look into BitWarden for syncing passwords. I use it with LineageOS on an old Nexus 5 as well. I self-host the sync backend using: https://github.com/jcs/bitwarden-ruby It's been pretty great (I also used to use 1Password in my Mac days)