Hacker News new | ask | show | jobs
by mnutt 490 days ago
Looks interesting, I'm curious how you settled on WebDAV? A decade ago I built a NextCloud alternative backend that also used WebDAV, and I'm not sure it's something I would ever touch again. Lots of clients say they support WebDAV but they all do slightly different things, and if you own the clients then there are probably simpler protocols.
1 comments

Reading the specs and lots of reverse-engineering multiple different popular clients. You can see most of it at https://github.com/bewcloud/bewcloud/blob/main/routes/dav.ts...

The desktop app uses WebDAV for the sync (via rclone) just because it was the simplest and most reliable way, but the listing of directories (to choose sync) and the mobile app use a simple HTTP API.