This is a plugin for Obsidian that allows you to synchronize your notes across multiple devices.
- Synchronize notes across multiple devices.
- Automatic synchronization when changes are detected.
- Manual synchronization option.
- Clone this repository.
- Make sure your NodeJS is at least v16 (
node --version
). - Run
npm i
oryarn
to install dependencies. - Run
npm run dev
to start compilation in watch mode. - Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/self-sync/
.
- Connect your Android device to your laptop via USB.
- Open Obsidian on your Android device.
- In Chrome, you should now see a section called WebView in md.obsidian. Click on inspect.
- Go to Chrome and type:
chrome://inspect
.
This project uses Typescript for type checking and documentation. The repo depends on the latest plugin API (obsidian.d.ts) in Typescript Definition format, which contains TSDoc comments describing what it does.
To build this project, run the build
script in the package.json file:
npm run build
This project uses the Hot-Reload Plugin for Obsidian.md Plugins. This plugin automatically watches for changes to the main.js
or styles.css
of any plugin whose directory includes a .git
subdirectory or a file called .hotreload
, and then automatically disables and re-enables that plugin once changes have stopped for about three-quarters of a second.
For more information, see the Hot-Reload Plugin README.