Please choose your preferred language / 请选择您偏好的语言:
A lightweight, high-performance WebDAV server implemented in pure C with an embedded UnQLite database. Supports all major WebDAV operations including PROPFIND, PROPPATCH, COPY, MOVE, and locking. Fully compliant with RFC 4918.
Quick Start:
make
./webdav_server -p 8080 --db webdav.db
curl -X MKCOL http://localhost:8080/testKey Features:
- ✅ RFC 4918 compliant (100% litmus tests)
- ✅ Cross-platform (Linux, macOS, Windows)
- ✅ Unicode/Chinese filename support
- ✅ Binary file handling (no size limits)
- ✅ HTTP Basic Authentication
一个轻量级、高性能的WebDAV服务器,使用纯C语言实现,内置UnQLite数据库。支持所有主要的WebDAV操作,包括PROPFIND, PROPPATCH, COPY, MOVE和锁定功能。
快速开始:
make
./webdav_server -p 8080 --db webdav.db
curl -X MKCOL http://localhost:8080/test核心功能:
- ✅ RFC 4918标准符合 (100% litmus测试)
- ✅ 跨平台 (Linux, macOS, Windows)
- ✅ Unicode/中文文件名支持
- ✅ 二进制文件处理 (无大小限制)
- ✅ HTTP Basic认证
- Full English README - Complete documentation
- Contributing Guide - How to contribute
- Project Summary - Technical overview
- Project Status - Completion report
- 完整中文README - 完整文档
- 贡献指南 - 如何贡献
- 项目总结 - 技术概览
- 项目状态 - 完成报告
make # Standard build / 标准构建
make cosmo # Cross-platform / 跨平台
make debug # Debug build / 调试构建make test # Built-in tests / 内置测试
make test-all # Comprehensive / 综合测试
./verify_project.sh # Verify project / 验证项目# Basic / 基本
./webdav_server -p 8080 --db webdav.db
# With auth / 带认证
./webdav_server -p 8080 -u admin -P secret
# Docker / 容器
docker-compose up -dStatus: ✅ Production Ready / 生产就绪 Version: 1.0.0 Compliance: RFC 4918 (100%) Platform: Linux, macOS, Windows
Test Results / 测试结果:
- ✅ Litmus: 66/66 (100%)
- ✅ Built-in: 5/5 (100%)
- ✅ Stress: 150+ files
- ✅ Unicode: Full support
make./webdav_server -p 8080 --db webdav.db# Create directory / 创建目录
curl -X MKCOL http://localhost:8080/myfolder
# Upload file / 上传文件
echo "Hello" | curl -X PUT --data-binary @- http://localhost:8080/hello.txt
# List contents / 列出内容
curl -X PROPFIND http://localhost:8080/
# Download / 下载
curl http://localhost:8080/hello.txt| English | 中文 |
|---|---|
| Build Instructions | 构建说明 |
| API Reference | API参考 |
| Testing | 测试 |
| Architecture | 架构 |
| Contributing | 贡献指南 |
Makefile- Standard build / 标准构建CMakeLists.txt- Modern build / 现代构建Dockerfile- Container image / 容器镜像docker-compose.yml- Orchestration / 编排配置
tests/run_all_tests.sh- Comprehensive tests / 综合测试scripts/quick_start.sh- Quick start / 快速开始verify_project.sh- Project verification / 项目验证
LICENSE- MIT License / MIT许可证CONTRIBUTING.md- Contribution guide / 贡献指南PROJECT_SUMMARY.md- Technical summary / 技术总结PROJECT_STATUS.md- Status report / 状态报告PROJECT_CHECKLIST.txt- Release checklist / 发布清单
- Read the Full English README
- Check Contributing Guide
- Open an issue on GitHub
- 阅读完整中文README
- 查看贡献指南
- 在GitHub上提交issue