Get Vync up and running in under 10 minutes. No server required!
- Bun installed (for development)
- Google Cloud account (free tier works)
- Obsidian installed
- Go to Google Cloud Console
- Click "New Project" (or select existing project)
- Name it "Obsidian Vync" (or your preference)
- Click "Create"
- In the left sidebar, go to "APIs & Services" → "Library"
- Search for "Google Drive API"
- Click on it and press "Enable"
- Go to "APIs & Services" → "Credentials"
- Click "Create Credentials" → "OAuth 2.0 Client ID"
- If prompted, configure OAuth consent screen:
- User Type: External
- App name: Vync (or your preference)
- User support email: Your email
- Developer contact: Your email
- Click Save and Continue through all steps
- Back at "Create OAuth Client ID":
- Application type: Desktop app
- Name: Vync Desktop Client
- Click Create
- Download JSON or copy:
- Client ID:
xxxxx.apps.googleusercontent.com - Client Secret:
GOCSPX-xxxxx
- Client ID:
✅ Checkpoint: You should have Client ID and Client Secret ready
- Open Obsidian
- Go to Settings → Community Plugins
- Click Browse
- Search for "Vync"
- Click Install → Enable
# Clone repository
git clone <repository-url>
cd vync
# Install dependencies
bun install
# Build plugin
cd packages/plugin
bun run build
# Copy to your vault
mkdir -p /path/to/your/vault/.obsidian/plugins/vync
cp -r dist/* /path/to/your/vault/.obsidian/plugins/vync/For Development:
# Create symlink instead of copying
ln -s $(pwd)/packages/plugin /path/to/your/vault/.obsidian/plugins/vync
# Then run dev mode
bun run dev✅ Checkpoint: Plugin appears in Obsidian Settings → Community Plugins
- Open Obsidian
- Go to Settings → Community Plugins
- Find Vync in the list
- Toggle it ON
- Go to Settings → Vync
- Under "Google Drive Authentication":
- Paste Client ID from Step 1.3
- Paste Client Secret from Step 1.3
- Click "Authenticate with Google Drive"
- Browser will open → Select your Google account
- Click "Allow" to grant permissions
- Return to Obsidian
✅ Checkpoint: Status shows "✓ Connected to Google Drive"
Settings → Vync:
├── Auto Sync: ON
├── Sync Interval: 5 minutes
├── Conflict Resolution: Prompt me
└── Tombstone Grace Period: 30 days
✅ Checkpoint: Settings saved successfully
- Create new note:
test-sync.md - Add some content:
# Test Sync This is a test file to verify Vync is working! - Created at: [timestamp] - Synced via: Vync
- Save (Cmd/Ctrl + S)
Check Obsidian Console (Cmd/Ctrl + Shift + I):
[Vync] File created: test-sync.md
[Vync] Uploading to Google Drive...
[Vync] ✓ Upload successful: test-sync.md
Check Google Drive:
- Go to Google Drive
- Look for "Obsidian Vaults" folder
- Find your vault name folder
test-sync.mdshould be there!
✅ Success! Your vault is now syncing!
Symptoms: Can't connect to Google Drive
Solutions:
- Check credentials: Verify Client ID and Secret are correct
- OAuth consent screen: Make sure it's configured in Google Cloud
- App type: Must be "Desktop app", not "Web application"
- Try re-authenticating: Remove credentials and add again
Symptoms: Files created but not appearing in Drive
Solutions:
# 1. Check auto-sync is enabled
Settings → Vync → Auto Sync: ON
# 2. Manually trigger sync
Cmd/Ctrl + P → "Vync: Full Sync"
# 3. Check sync status
Cmd/Ctrl + P → "Vync: Sync Status"
# 4. Check console for errors
Cmd/Ctrl + Shift + I (Developer Console)Symptoms: Plugin doesn't appear in settings
Solutions:
- Check files exist:
ls .obsidian/plugins/vync/ # Should see: main.js, manifest.json, styles.css - Reload Obsidian: Cmd/Ctrl + R
- Check Community Plugins are enabled
- Check console for errors
Vync: Full Sync - Sync entire vault now
Vync: Sync Status - View current sync state
Vync: Resolve Conflicts - Handle pending conflicts
Vync: Clear Cache - Reset sync state
# Build plugin
cd packages/plugin
bun run build
# Run tests
bun test
# Run linter
bun run lint
# Watch mode (auto-rebuild)
bun run devAfter completing this guide, you should have:
- ✅ Google Cloud project created
- ✅ Google Drive API enabled
- ✅ OAuth credentials configured
- ✅ Vync plugin installed in Obsidian
- ✅ Plugin authenticated with Google Drive
- ✅ Test file synced successfully
- ✅ File appears in Google Drive
- ✅ Auto-sync enabled and working
Congratulations! 🎉 Your vault is now syncing with Google Drive!
If you encounter issues:
- Check this guide: Review troubleshooting section
- Check console logs: Cmd/Ctrl + Shift + I in Obsidian
- Search issues: GitHub Issues
- Documentation: README
- Start Small: Sync a test vault first before your main vault
- Monitor First Sync: Watch console during initial sync
- Understand Conflicts: Learn conflict resolution before heavy use
- Keep Backups: Vync syncs, but doesn't replace backups
- Check Status: Use "Vync: Sync Status" to verify syncing
Estimated Time: 10 minutes Difficulty: Beginner Prerequisites: Google account, basic Obsidian knowledge Cost: Free (Google Drive free tier: 15GB)
Ready to sync? Let's go! 🚀