Giter Club home page Giter Club logo

obsidian-android-sync's Introduction

obsidian android sync

Note

  • To be more secure please try to use your own Google Drive API keys
  • Create a pull request to contribute
  • To run it automatically in backgroud you can use crontab or something similar in Termux

Setup

  1. Install Termux and Termux:Widget from F-Droid

  2. Run in Termux

pkg update

pkg upgrade

pkg install git

git clone https://github.com/starfreck/obsidian-android-sync.git

mv obsidian-android-sync/* .

rm -rf obsidian-android-sync

chmod 777 -R .

./install.sh
  1. Once you are done setting up 'rclone', we will update sync paths on config.py

  2. python3 update_config.py "pathA" "pathB"

# Create a folder name 'Obsidian' in root of your Cloud Storage
# Replcae 'gdive' in below command with your given name i.e. 'mega' etc.
# Do not change '/storage/emulated/0/Documents/Obsidian' because Obsidian by default look into Documents folder

python3 ~/update_config.py "gdrive:Obsidian" "/storage/emulated/0/Documents/Obsidian"

# if you mess up then just use "syncrclone --new config.py" to create new config.py
  1. Go to 'Widget' and add new Widget "Sync.sh. See the example here. After that click on new shortcut and your sync will start automatically.

Screenshots

1 2 3 4

Referance

obsidian-android-sync's People

Contributors

starfreck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.