{"repo":"davidkopp/termux-scripts","free":true,"listed":false,"github":"https://github.com/davidkopp/termux-scripts","clone":"git clone https://github.com/davidkopp/termux-scripts.git","description":"Termux scripts to simplify syncing of Git repositories with Android devices","language":"Shell","stars":66,"topics":["git","obsidian","termux"],"license":"CC0-1.0","category":"mobile-apps","readme_excerpt":"Termux scripts for syncing Git repositories This repo includes scripts to simplify the setup of syncing Git repositories on Android devices using Termux. Termux is an Android terminal emulator and Linux environment app. The original purpose for me was to auto-sync my Obsidian vault between devices with Git. The idea to use Termux for automatic syncing came from Rene Schallner: Syncing your Obsidian vault to Android via an encrypted GitHub repository For syncing I'm now using the script git-sync.sh by Simon Thum: simonthum/git-sync Why use Termux? There are many ways to sync git repositories with Android devices. However, in my experience, this setup with git inside the Termux environment is the most flexible and reliable. Alternatives: - Obsidian community plugin Obsidian Git: Great on desktop, but the mobile version has some limitations that make it a bad choice for me. - Android app MGit: No auto-sync in the background possible, has problems with storage permissions (see issue 620). - Android app GitJournal: No auto-sync in the background possible. - Syncthing: Generally a great solution for syncing! However, in my opinion you shouldn't use Syncthing to sync a Git repository. Also, I don't like having a file synced multiple times in the background while I'm editing it. Setup Preparation - Install Tasker, Termux, Termux Widget and Termux Tasker - Inside Termux, install some required packages: - Install an editor of your choice. See available text editors in Termux. We use na","default_branch":null,"files":null,"tree":[],"storefront":"/r/davidkopp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/davidkopp/termux-scripts/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."}