WebDAV server for AliyunDrive
Project description
aliyundrive-webdav
阿里云盘 WebDAV 服务
安装
可以从 GitHub Releases 页面下载预先构建的二进制包, 也可以使用 pip 从 PyPI 下载:
pip install aliyundrive-webdav
OpenWrt 路由器
GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64 和 arm 两个版本,可以下载后使用 opkg 安装,比如
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.21/aliyundrive-webdav_0.1.21-0_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.21/luci-app-aliyundrive-webdav_0.1.21-0_all.ipk
opkg install aliyundrive-webdav_0.1.21-0_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.21-0_all.ipk
Koolshare 梅林固件
GitHub Releases 中有预编译包 aliyundrivewebdav-merlin-arm*.tar.gz
,
目前提供了旧的 arm380 和兼容 arm384/386 固件的版本,可在下载后在软件中心离线安装。
Docker 运行
docker run -d --name=aliyundrive-webdav --restart=unless-stopped -p 8080:8080 -e REFRESH_TOKEN='refresh token' messense/aliyundrive-webdav
命令行用法
aliyundrive-webdav --help
aliyundrive-webdav 0.1.21
USAGE:
aliyundrive-webdav [FLAGS] [OPTIONS] --refresh-token <refresh-token>
FLAGS:
-I, --auto-index Automatically generate index.html
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-W, --auth-password <auth-password> WebDAV authentication password [env: WEBDAV_AUTH_PASSWORD=]
-U, --auth-user <auth-user> WebDAV authentication username [env: WEBDAV_AUTH_USER=]
--cache-size <cache-size> Directory entries cache size [default: 1000]
--host <host> Listen host [default: 127.0.0.1]
-p, --port <port> Listen port [default: 8080]
-S, --read-buffer-size <read-buffer-size>
Read/download buffer size in bytes, defaults to 10MB [default: 10485760]
-r, --refresh-token <refresh-token> Aliyun drive refresh token [env: REFRESH_TOKEN=]
获取 refresh_token
登录阿里云盘后,可以在开发者工具 ->
Application -> Local Storage 中的 token
字段中找到。
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file aliyundrive_webdav-0.1.21.tar.gz
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21.tar.gz
- Upload date:
- Size: 412.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1595d27b628ce860eae21e69297a95989dfe9de84c0ac615847e8da0adea6845 |
|
MD5 | 912e24b89e1ab0ed2d70f0de04b6feb3 |
|
BLAKE2b-256 | 72bdd1ee14a80a05187c655769ac624e6b9f584dfaf1b1d4c91a386f8724cb7e |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-win_amd64.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-win_amd64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc17669fee6cf34f05084a10a968df5258fa3d1847a9ff4c53a78ff54fe5d7e9 |
|
MD5 | bbc087b39ae7c2e47621c5210d980d4a |
|
BLAKE2b-256 | bb7487cee58cec8b062fe542dba0623ccc4ab55c24d4ff44ebedf9413393e09c |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-win32.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-win32.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c0576e48c53bdb5558ce0bac904d4455abbdd42ebedf74b32f8fea40faab18 |
|
MD5 | 98a9de2df7ef56dda112fd6b740d752e |
|
BLAKE2b-256 | 6e42aa879c402023b62993fb401aa4a77f2bf610927ab37655ae0fb06de1e3e8 |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6551598ac906458f671a7443bce9a54a58760d5c6b317ef97d50646fb193559 |
|
MD5 | fccb5de79dd15cd7b498fc1b845aed0f |
|
BLAKE2b-256 | 1ea535cbd7bdc5c9260b45cfb6994533a19935b449ef4fbb3a6374b6d3fff40c |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7629bc2d0a095cb183857206560a5c9b104129713c151474f67f14774e0f1f |
|
MD5 | 5ad8e80da8cd7f63477e4ae2aeace2c7 |
|
BLAKE2b-256 | 3474b48e983a5e2cbef09a0513146f511ac6115547ebf878914f31eb37207f77 |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b25595f33b76d7d6f1e19bcac5b7c783c1c6f34e8c730e4dc6d30f0884d4963 |
|
MD5 | 0862b31b7e1a23917e8a7e3a407b9eb2 |
|
BLAKE2b-256 | 4966ec03bba390832e8f97283786ed9b72f7d063370140dcaa39654eacae0845 |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c19aa50b9a44b96b4fa42420bf77b196585a6883c64ead79635a5c9e35eb2d5 |
|
MD5 | 80fd1a063653b58ddfea60237b5ab7ce |
|
BLAKE2b-256 | 41a0fce594c71395f7370df172e36c0cf19e050bc52eff62fc17ab0e3cc8ee5b |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6516a6c0f85a9ec76dbb4ee2d3c1818da5a8220899efb3d7a741465f2444673b |
|
MD5 | eb2b741d3999f29833eb80d1613865cf |
|
BLAKE2b-256 | 2edb2a9a1deab829fa5021795d8f6519aed154ae04b8eed6eebea52590e3637d |
File details
Details for the file aliyundrive_webdav-0.1.21-py3-none-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: aliyundrive_webdav-0.1.21-py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6247258faf9f45ff999da653a752ad0aee98d32c212bd9a98e16b463ab3883bc |
|
MD5 | c71f73eef3b9b95f9204d54c988c0b2c |
|
BLAKE2b-256 | 04ad93950aabeb63d5b10b0197bcd4dd2fa3955159ab9c6ed1d5fd22413e64a1 |