{"repo":"DovieW/obsidian-android-sync","free":true,"listed":false,"github":"https://github.com/DovieW/obsidian-android-sync","clone":"git clone https://github.com/DovieW/obsidian-android-sync.git","description":"Automated Obsidian sync setup for Android using Git (SSH), Termux, and Tasker.","language":"Shell","stars":78,"topics":["android","git","obsidian","termux","tasker"],"license":"GPL-3.0","category":"mobile-apps","readme_excerpt":"Obsidian Android Sync Easily sync your Obsidian vaults on Android using Git (SSH) + Termux, with automation and shortcuts using Tasker. It works by syncing a vault when the Obsidian app is opened (or brought up from recents) and when it's closed (or if you just switch to another app). The sync is done using the excellent git-sync script by simonthum. I made a slight change to it so there's a copy of it being used here. To prevent conflicts, I recommend you add the following lines to your .gitignore file in all your vaults that you'll be syncing using Git. If you notice a plugin has a file which is often in conflict, you'll want to add that as well (remember to un-track these files first with git rm --cached ): To stop conflicts from happening with your note files, you can create a .gitattributes file in the root of your vaults with the following content. It will basically always accept both changes for .md files. Termux Setup 1. Install F-Droid. 2. Install Termux, Termux:Tasker, and Termux:API apps from F-Droid (NOT from the Play Store). The next steps will mostly ask you to run commands in Termux. 3. Run termux-setup-storage and give access to files. 4. Run pkg update && pkg upgrade -y && pkg install -y git openssh termux-api to install packages. Press Enter any time it pauses with a question. 5. Run mkdir -p /storage/emulated/0/repos/Obsidian to create the directories used for repositories. 6. Run git clone https://github.com/DovieW/obsidian-android-sync.git /storage/shared","default_branch":null,"files":null,"tree":[],"storefront":"/r/DovieW","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DovieW/obsidian-android-sync/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}