Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chanmo/django-webdav

类似Dropbox的Webdav客户端
https://github.com/chanmo/django-webdav

django dropbox nextcloud webdav

Last synced: 9 days ago
JSON representation

类似Dropbox的Webdav客户端

Awesome Lists containing this project

README

        

* Django Webdav Client

File Manager like dropbox

#+CAPTION: Screenshot
[[./webdav.jpeg]]

** Features
- 文件管理
- 多级目录
- 分片上传
- 文件预览
- 评论
- 分享
- 操作历史

** Depends on
- Django
- djangorestframework
- requests
- Webdav
- React + Vite
- @mui/material

** Quick Start
*** Install
#+BEGIN_SRC bash
pip install django-webdav-ui
#+END_SRC

*** Update Settings.py
#+BEGIN_SRC python
INSTALLED_APPS = [
...
'webdav',
...
]

WEBDAV_HOST = 'localhost'
WEBDAV_USER = 'demo'
WEBDAV_PASSWORD = 'demopassword'
#+END_SRC

*** Update Urls.py
#+BEGIN_SRC python
urlpatterns = [
...
path('webdav/', include('webdav.urls')),
...
]
#+END_SRC

*** Sync database
#+BEGIN_SRC bash
python manage.py migrate
#+END_SRC

** Reference

- Dropbox
- Nextcloud

** Todo
- [ ] 优化安全
- [ ] 排序
- [ ] 搜索
- [ ] Permission Controls
- [ ] 收藏
- [ ] 最近
- [ ] 共享
- [ ] 标签
- [ ] Grid Display
- [ ] 批量操作
- [ ] 移动文件