Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

karadav

> 前端框架
Open source

Lightweight NextCloud compatible WebDAV server

319 stars0 likes0 views
WebsiteGitHub

About

Lightweight NextCloud compatible WebDAV server

KaraDAV - A lightweight WebDAV server, compatible with ownCloud and NextCloud clients

Donate to this project

This is a simple and lightweight WebDAV server, allowing to easily set up a file sharing server compatible with WebDAV and NextCloud clients. It has no dependencies and good performance.

It is written in PHP (8+). The only dependency is SQLite3 for the database.

Its original purpose was to serve as a demo and test for the KD2 WebDAV library, which we developed for Paheko, our non-profit management solution, but it can also be used as a simple but powerful file sharing server.

If you are looking for an even lighter WebDAV server, try also our other server, PicoDAV. It isn't compatible with NextCloud/ownCloud/OpenCloud clients, but it is a single file that you can drop anywhere in your document root, nothing to install!

  • Fossil development repository:
  • Git mirror: (PR and issues accepted)

Features

  • Good performance! More than 20 times faster than NextCloud!
  • Lightweight! Less than 1MB!
  • External apps (via iframe or links)
  • Web UI to login, access files and apps, manage users
  • Integrated web file manager (using WebDAV Manager.js):
    • Upload multiple files directly from browser, using paste or drag and drop
    • Rename, delete, copy, move
    • Create and edit text files
    • Create directories
    • MarkDown live preview
    • Preview of images, text, MarkDown and PDF
    • Editing of Office files using Collabora or OnlyOffice
    • Download/delete selected files from a directory
    • Download selected files as a ZIP file
    • Thumbnails
  • WebDAV class 1, 2, 3 support, support for Etags
  • No database server is required (SQLite is used)
  • Multiple user accounts
  • Support for per-user quota
  • Share files using WebDAV: delete, create, update, mkdir, get, list
  • Compatible with WebDAV clients
  • Support for HTTP ranges (partial download of files)
  • Support for RFC 3230 to get the MD5 digest hash of a file (to check integrity) on HEAD requests (only MD5 is supported so far)
  • Support for setting the file modification time using PROPPATCH and Win32LastModifiedTime or {DAV:}lastmodified properties
  • Support for Content-MD5 with PUT requests, see dCache documentation for details
  • Support for some of the Microsoft proprietary properties
  • Passes most of the Litmus compliance tests (see below)
  • Supports WOPI, for editing and viewing of documents using OnlyOffice, Collabora Online or MS Office.
  • Support for LDAP
  • Trashbin: files are moved to a .trash folder before being deleted completely
  • Support for 32-bits platforms (eg. Raspberry Pi)

NextCloud/ownCloud/OpenCloud features

KaraDAV is compatible with ownCloud, OpenCloud and NextCloud clients, because on Android there is not much nice WebDAV clients, and on desktop their clients allow for two-way sync, which no other WebDAV client provides.

The following specific (not part of WebDAV) features are supported:

  • NextCloud Notes API (v1.3 only)
  • Direct download
  • Chunk upload
  • Trashbin
  • X-OC-MTime header to set file modification time (also supported by rclone)
  • OC-Checksum header to verify file upload integrity
  • Login via app-specific passwords (necessary for NextCloud desktop and Android clients)
  • Thumbnail/preview of images
  • Workspace notes (README.md displayed on top of directory listing on Android app) and workspace notes editing

KaraDAV is not a drop-in replacement for NextCloud. It is not intended to be. It is just focused on files.

Comparison with NextCloud/ownCloud

Feature KaraDAV NextCloud OCIS/OpenCloud
License AGPL AGPL AGPL
Language PHP (no framework) PHP Go
Ease of setup Easy Easy Very complex
Speed Fast Sloooow Average?
Package size 800 MB ~200 MB
Lines of code ~7500 lines ~2,200,000 lines ~3,150,000 lines
WebDAV library KD2 SabreDAV gowebdav/Radicale
WebDAV compliance 3/5 4/5 4/5
Linux clients ✅ ✅ ✅
Windows clients ✅ ✅ ✅
Mac clients ✅ ✅ ✅
Android clients ✅ ✅ ✅
iOS clients Untested ✅ ✅
Trashbin ✅ ✅ ✅
Chunked upload of large files ✅ ✅ ✅
Notes ✅ ✅ ✅
File versioning Planned ✅ ✅
File sharing Planned ✅ ✅
File searching Planned ✅ ✅
Calendar ❌ ✅ ✅
Contacts ❌ ✅ ✅
Install other apps ✅¹ ✅ ✅
2FA ❌ ✅ ✅
LDAP ✅ ✅ ✅
Database SQLite SQLite, PostgreSQL, MySQL Filesystem
Web UI Minimal Advanced, but clunky Basic
Commercial support ❌ ✅ ✅
  1. See documentation on external apps

Clients compatibility

NextCloud/ownCloud clients

This server should be compatible with ownCloud and NextCloud synchronization clients (desktop, mobile, CLI).

We recommend the ownCloud or OpenCloud apps, as they are more stable and lighter :)

Note that even though it has been tested with NC/OC clients, KaraDAV might stop working at any time with these clients if their publishers decide so.

Desktop

Client Type Working? Notes
ownCloud Files sync ✅ Recommended
ownCloud CLI Files sync ✅
NextCloud Files sync ✅
NextCloud CLI Files sync ✅ make sure to pass options before parameters
OpenCloud Files sync ? Untested. Should work (ownCloud fork).
Iotas (GNOME App) Notes ✅ Available in Debian stable (Trixie)
qOwnNotes Notes ❌ No support for NextCloud Notes API, requires a custom PHP app on the server

Android

Client Type Working? Notes
ownCloud Files sync ✅ Recommended
OpenCloud Files sync ✅ Recommended (ownCloud fork)
NextCloud Files sync ✅ Will consume a lot of battery on some phones
NextCloud Notes Notes ✅ Requires the NextCloud Android app
MyOwnNotes Notes ✅ Requires the ownCloud Android app
Quillpad Notes ✅
LesPas Photo gallery ✅
Yaga Photo gallery ? Not sure how this app is supposed to work?
Memories Android Photo gallery ❌ Requires a custom PHP app on the server

iOS

The NextCloud and ownCloud iOS clients have issues. They are currently blocked in KaraDAV, to make sure they can't delete any data by error.

I don't own an Apple device. If someone with an Apple device wants to do some testing and suggest a patch, please change BLOCK_IOS_APPS to false in config.local.php (see configuration doc).

WebDAV clients compatibility

Recommended (tested with KaraDAV)

  • Linux:
    • KDE-based file browsers: Dolphin, Konqueror, Krusader…
    • GTK-based file browsers (Thunar, Nautilus, Caja, PCManFM, etc.): they will work, but the GTK implementation is usually slower than KDE
    • FUSE webdavfs
  • MacOS:
    • Cyberduck or Mountain Duck (proprietary)
  • Windows:
    • Cyberduck or Mountain Duck (proprietary)
    • WinSCP
  • Android:
    • DAVx⁵ (libre), see the manual for how to set up a WebDAV mount
    • RCX or its fork Round-Sync

Others

  • rclone works, including bi-directional sync! Pick NextCloud as the WebDAV vendor to enable advanced sync features.
  • Linux:
    • davfs2 is NOT recommended: it is very slow, and it is using a local cache, meaning changing a file locally may not be synced to the server for a few minutes, leading to things getting out of sync. If you have to use it, at least disable locks, by setting use_locks=0 in the config. Other recommended options are gui_optimize=1 and delay_upload=0. See manpage for details.
    • csync on Linux (works). This is a library offering two-way sync, it is used by the ownCloud client, but it has a command-line client. Just replace http with owncloud, and https with ownclouds in URL, eg. csync /home/username/sync ownclouds://karadav.example/files/username/
    • cadaver command-line client for WebDAV (untested)
    • Celeste is a Rclone GUI to sync your directories (untested)
    • Filestash is a web client (untested)
  • Windows:
    • the native webclient (also called 'MiniRedir') is notoriously bad. We tested it successfully on Windows 10, but it seems to now be deprecated and scheduled to be removed in Windows 11.
    • CarotDAV (proprietary, untested)
  • Android:
    • EasySync (does not allow to sync user-chosen folders sadly)
    • WebDAV provider (gives access to WebDAV from other file managers, like DAVx5 does, untested)
    • WebDAV Sync (untested)
    • X-Plore (proprietary) has been tested and works, but the app is now full of intrusive video ads, don't use it!
    • DrivinCloudOpen is a defunct open-source Android WebDAV client that was easy to use
  • iOS:
    • WebDAV Nav+ (proprietary, untested)
    • WebDAV Navigator (proprietary, untested)

WOPI (office document editing) server compatibility

KaraDAV has been tested successfully with:

  • Collabora Development Edition (see COLLABORA.md)
  • OnlyOffice Community Edition

Future development

See the roadmap.

Install instructions

See specific install documentation.

Dependencies

This depends on the KD2\WebDAV and KD2\WebDAV_N

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPnextcloudnextcloud-serverowncloudphp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架