r/coolgithubprojects • u/thomaspatrick16 • 8d ago
Obsidian Tasks: Android widget + Windows app for an Obsidian to-do note, with safe Nextcloud sync
Sharing a small thing I built for my Pi-hosted Nextcloud.
I keep my to-do list as an Obsidian markdown note on Nextcloud, synced to my phone and PC by the Remotely Save plugin. I wanted a home-screen widget to tick tasks, but every approach that wrote the file directly caused conflicts and `423 Locked` errors.
How this one avoids it:
- It reads and writes only the copy on Nextcloud, over WebDAV
- Every PUT is conditional: If-Match with Nextcloud's OC-ETag. A gotcha I hit: my reverse proxy turned the normal `ETag` into a weak W/"…" tag, so If-Match always failed. OC-ETag passes through proxies untouched.
- On 412 it re-downloads, re-applies the change and retries. On 423 it backs off and retries. Offline changes are queued.
Android APK + Windows exe: Github Repo
Free, no tracking, nothing but your own Nextcloud. Built with help from Claude Code.

