Get started
This guide walks through installing DraftMesh, creating an account, connecting a vault, and checking sync progress.
Requirements
- Obsidian installed on your device
- An existing Obsidian vault, or a new vault you want to sync
- Access to an DraftMesh sync server URL
- The BRAT community plugin for installing beta Obsidian plugins
1. Install DraftMesh with BRAT
DraftMesh is distributed as an Obsidian plugin. During beta testing, install it with BRAT.
- Open Obsidian.
- Go to
Settings -> Community plugins. - Turn off
Restricted modeif needed. - Browse community plugins and install
BRAT. - Open
Settings -> BRAT. - Choose
Add Beta plugin. - Paste the DraftMesh plugin repository URL.
- Install and enable the plugin.
After installation, open Settings -> Community plugins and make sure DraftMesh is enabled.
2. Configure the sync server
- Open
Settings -> DraftMesh. - In
Connection Settings, setSync serverto the DraftMesh server URL. - Use the full URL, including the protocol, for example
https://sync.example.com.
If the server URL is wrong or unavailable, login, registration, and sync will fail.
3. Register an account
- In
Settings -> DraftMesh, findAccount. - Select
Sign up. - Enter your email address and password.
- Select
Continue. - Check your email for the 6-digit verification code.
- Enter the code and select
Create account.
After the account is created, sign in from the same settings panel if you are not already logged in.
4. Create a sync vault
- In
Settings -> DraftMesh, select the vault button next to your account. - The
Vaultswindow opens. - Select
Create vault. - Enter a
Vault name. - Enter a
Vault password. - Select
Create.
The vault password is used when connecting devices to this sync vault. Keep it somewhere safe. If you add DraftMesh to another device, you will need the same account and vault password.
5. Connect the local vault
- In the
Vaultswindow, find the vault you created. - Select
Connect. - Enter the vault password.
- Wait for the confirmation notice.
Your local Obsidian vault is now linked to the remote DraftMesh vault. Local notes are not deleted when you connect, disconnect, or switch DraftMesh vaults.
6. Start sync
- Return to
Settings -> DraftMesh. - Find
Sync status. - Turn the sync toggle on.
DraftMesh will begin reconciling local and remote state. The first sync can take longer if the vault has many files.
7. Check sync progress
DraftMesh adds a status bar indicator while sync is active, complete, or interrupted.
- Select the DraftMesh status bar indicator to open
Sync progress. - Enable
Reconcile progressin settings if you want more detailed reconcile stages and file transfer details. - If the indicator reports an error, open it to see the interruption message.
- Use
Sync logs -> Viewin settings when you need more diagnostic detail.
Add another device
Repeat the installation steps on the new device, then:
- Set the same
Sync server. - Log in with the same account.
- Open
Vaults. - Select
Connecton the existing vault. - Enter the vault password.
- Turn sync on.
Wait for Sync progress to settle before making large edits on multiple devices.
Deploy to Cloudflare Pages
The documentation site is built with VitePress.
From the website/docs directory:
npm install
npm run buildUse these Cloudflare Pages settings for the documentation site.
| Setting | Value |
|---|---|
| Framework preset | VitePress |
| Build command | npm run build |
| Build output directory | .vitepress/dist |
| Root directory | website/docs |
For local preview:
npm run dev