Go to file
2021-12-01 10:10:39 +08:00
.github/workflows artifact has styles 2021-11-10 01:06:00 +08:00
docs many docs 2021-11-15 00:35:56 +08:00
src remove assert 2021-12-01 01:49:07 +08:00
tests more misc 2021-11-28 12:18:44 +08:00
.editorconfig force editors 2021-10-23 15:48:42 +08:00
.gitattributes test for enc 2021-11-06 12:57:40 +08:00
.gitignore ignore more 2021-11-15 23:36:44 +08:00
.prettierignore avoid rewriting dist main.js 2021-10-24 20:40:30 +08:00
esbuild.config.mjs define clientID or AppKey by env var 2021-11-29 01:03:17 +08:00
LICENSE add license 2021-10-21 09:53:20 +08:00
manifest.json 0.1.9 2021-12-01 01:50:00 +08:00
package.json 0.1.9 2021-12-01 01:50:00 +08:00
README.md fix typo 2021-11-30 00:44:26 +08:00
styles.css basic dropbox auth flow 2021-11-28 16:28:52 +08:00
tsconfig.json esbuild is way faster 2021-11-27 14:49:07 +08:00
versions.json 0.1.9 2021-12-01 01:50:00 +08:00
webpack.config.js inject env var in webpack 2021-12-01 10:10:39 +08:00

Remotely Save

This is yet another unofficial sync plugin for Obsidian.

Disclaimer

!!!Caution!!!

As of November 2021, the plugin is considered in BETA stage. DO NOT USE IT for any serious vaults. Backup your vault before using this plugin. Don't be surprise to data loss!

Features

  • Amazon S3 or S3-compatible, and Dropbox services are supported. Webdav supports on the half way.
  • Obsidiain Mobile supported. Vaults can be synced across mobile and desktop devices with the cloud service as the "broker".
  • End-to-end encryption supported. Files would be encrypted using openssl format before being sent to the cloud if user specify a password.
  • Minimal Intrusive.
  • Fully open source under Apache-2.0 License.
  • Sync Algorithm open for discussion.

Limitations

  • Users have to trigger the sync manually. This design is intentional because the plugin is in beta, and it's better for users to be exactly aware of the running of this plugin.
  • "deletion" operation can only be triggered from local device. It's because of the "minimal intrusive design". May be changed in the future.
  • No Conflict resolution. No content-diff-and-patch algorithm. All files and folders are compared using their local and remote "last modified time" and those with later "last modified time" wins.
  • Cloud services cost you money. Always be aware of the costs and pricing.
  • All files or folder starting with . (dot) or _ (underscore) are treated as hidden files, and would NOT be synced. It's useful if you have some files just staying locally. But this strategy also means that themes / other plugins / settings of this plugin would neither be synced.

Download and Install

  • Option #1: BuildCI Every artifacts are placed in the "Summary" under every successful builds.
  • Option #2: Besides manually downloading the files, you can also use Obsidian42 - BRAT to install this plugin.
  • Option #3: The pluin would be submitted to the official "community plugin list" in near future.

Usage

s3

  • Prepare your S3 (-compatible) service information: endpoint, region, access key id, secret access key, bucket name. The bucket should be empty and solely for syncing a vault.
  • Configure (enable) CORS for requests from app://obsidian.md and capacitor://localhost and http://localhost. It's unfortunately required, because the plugin sends requests from a browser-like envirement. And those addresses are tested and found on desktop and ios and android.
  • Download and enable this plugin.
  • Enter your infomation to the settings of this plugin.
  • If you want to enable end-to-end encryption, also set a password in settings. If you do not specify a password, the files and folders are synced in plain, original content to the cloud.
  • Click the new "switch" icon on the ribbon (the left sidebar), every time you want to sync your vault between local and remote. (No "auto sync" yet.)
  • Be patient while syncing. Especially in the first-time sync.

Dropbox

  • This plugin's function for Dropbox is not as mature as functions for S3.
  • This plugin is NOT an official Dropbox product. The plugin just uses Dropbox's public API.
  • After the authorization, the plugin can read your name and email (which cannot be unselected on Dropbox api), and read and write files in your Dropbox's /Apps/obsidian-remotely-save folder.
  • If you decide to authorize this plugin to connect to Dropbox, please go to plugin's settings, and choose Dropbox then follow the instructions.
  • Password-based end-to-end encryption is also supported.

webdav

  • webdav support is buggy (as of now, 20211122) and considered experimental, so it's hidden by default. Highly recommend to use the more stable s3.
  • If you decide to give it a try, open settings, and click "Choose service" area five times, then a Notice should show up. Close and open settings again then you will be able to select webdav.
  • Currently webdav server should enable CORS for requests, because of technical limitations of mobile.