Mobile Sync Guide (Android)
Obsidian Mobile + Obsidian Git plugin voor automatische sync met GitHub.
Benodigdheden
- Android telefoon/tablet
- GitHub account met toegang tot de Opus repo
- GitHub Personal Access Token (PAT)
Stap 1: GitHub Personal Access Token aanmaken
- Ga naar GitHub > Settings > Developer settings > Personal access tokens > Fine-grained tokens
- Klik “Generate new token”
- Naam:
obsidian-mobile - Expiration: kies een lange periode
- Repository access: selecteer alleen de Opus repo
- Permissions: Contents > Read and write
- Kopieer het token (je hebt het straks nodig)
Stap 2: Obsidian Mobile installeren
- Installeer Obsidian vanuit de Google Play Store
- Open Obsidian > “Create new vault”
- Noem het
Opus, kies een locatie
Stap 3: Obsidian Git plugin installeren
- In Obsidian: Settings > Community plugins > Turn on community plugins
- Browse > zoek “Obsidian Git”
- Installeer en activeer de plugin
Stap 4: Git repo koppelen
- Open Obsidian Git settings (Settings > Obsidian Git)
- Stel in:
- Clone URL:
https://github.com/marijkevalk/Opus.git - Authentication: je GitHub username + PAT als password
- Clone URL:
- Klik “Clone” — de vault wordt gedownload
Stap 5: Auto-sync instellen
In Obsidian Git settings:
| Instelling | Waarde | Uitleg |
|---|---|---|
| Auto pull interval | 5 | Pull elke 5 minuten |
| Auto push after commit | true | Push direct na wijzigingen |
| Auto commit interval | 5 | Commit lokale wijzigingen elke 5 min |
| Pull on startup | true | Pull bij openen van Obsidian |
Stap 6: Testen
- Maak een test-note aan op je telefoon
- Wacht op auto-commit + push (of handmatig via command palette > “Obsidian Git: Commit and push”)
- Check GitHub — de note moet zichtbaar zijn
- Maak een wijziging op desktop > wacht 5 min > check of het op je telefoon verschijnt
Troubleshooting
- Auth error: Check of je PAT nog geldig is en de juiste permissions heeft
- Merge conflict: Open het conflicting file en kies de juiste versie
- Sync werkt niet: Command palette > “Obsidian Git: Pull” handmatig
- Trage sync: Verlaag de auto-pull interval naar 2 minuten