Re:Why I Like Obsidian
by Waterluvian on Wednesday January 17, 2024 @08:33AM
(#39027416)
I love Obsidian for being a dead simple UI for managing my markdown files. I’ve found that the cloud features are not for me. What I need is to wire it more organically up to a GitHub repo.
[ Parent
| on HN ]
I use this setup. My notes folder is a git repo, I have a private repo on GitHub as backup. Then two moving parts.
a backup.sh script, which boils down to: `cd ${obfolder}; git add .; git commit -m "auto backup $(date +%Y%m%d%H%M%S)"; git push`. Give it a `chmod +x` and it's ready.
a crontab entry: `1 17 * * * ${obfolder}/backup.sh`, which is "at 5:01pm every day, run the backup script.
${obfolder} is the actual path of the vault directory and I haven't had to think about it in years.
I've done exactly this, and set up a cron job to sync regularly. Still very sub-optimal imo.
Re:Why I Like Obsidian
by have_faith on Wednesday January 17, 2024 @09:06AM
(#39027825)
I'm just using the icloud sync, do you use git repo feature with your notes? or is it just a dumb store.