mastodon.sdf.org is part of the decentralized social network powered by Mastodon.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko

Administered by:

Server stats:

2.7K
active users

Learn more

dstu

supports for file sync. I'd prefer to self-host, and it would be great to revision my notes.

Long ago, I played with self-hosted repositories over WebDAV via (svnbook.red-bean.com/en/1.7/sv). I presume this is still possible.

Anyone ever tried auto-revisioning Orgzly notes like this?

Appendix C. WebDAV and Autoversioning

svnbook.red-bean.com

Also, any clues on what auth access uses? Guessing it's HTTP Basic (github.com/orgzly/orgzly-andro).

HTTPS client cert support would be ideal, but I'm not going to hold my breath on that.

Although... if OkHttp has HTTPS client cert support, patching Orgzly would be a good weekend project. If OkHttp needs patching, it'd be a bit more work.

But it's not like I have any spare time these days, so HTTP Basic+self-signed server-side HTTPS cert oughta do it.

orgzly-android/WebdavRepo.kt at master · orgzly/orgzly-androidGitHub

Hey, neato, OkHttp probably can do HTTPS client certs: stackoverflow.com/questions/56

This is totally within my ability to execute on in a couple of days. Should set up Apache+SVN first and test that out.

Life being what it is, however, this brief foray into Orgzly sync will probably be my last desperate grasp at personal improvement for the next (checks calendar) 15 years? Wish me luck...

OkHttp with Client Certificate (crt, p12): java.security.cert.CertPathValidatorException: Trust anchor for certification path not foundStack Overflow

Yep, 's sync works decently well with the Subversion/Apache WebDAV interface. Set it up this afternoon.

Updates to notebooks in Orgzly automagically show up as new commits in SVN. Sync should now be a snap, and stale notes can be deleted without losing history.

The most challenging part was figuring out the self-signed cert for HTTPS. Orgzly lets you pin a self-signed cert, but its subjectAltName field has to match the server's fully qualified domain (and not just the CN).