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.20/aliyundrive-webdav_0.1.20-0_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.20/luci-app-aliyundrive-webdav_0.1.20-0_all.ipk
opkg install aliyundrive-webdav_0.1.20-0_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.20-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.20
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
aliyundrive_webdav-0.1.20.tar.gz
(412.4 kB
view hashes)
Built Distributions
Close
Hashes for aliyundrive_webdav-0.1.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938d2bcf72290d69d27781e2499366660d3587eb7f289c52ff25c82cb943e847 |
|
MD5 | cafda31d0e8e8e228c7e83871ab5f663 |
|
BLAKE2b-256 | d8733176265d23cfe572abf4efd5149c2ca3fb5bad452984088192fb6ab53f7e |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 030287667990903ef6eef8e2f5e57970ab78a31d53d203ffd55131d41c337313 |
|
MD5 | 4ae0afcda35cff4e4eb80b5a85861861 |
|
BLAKE2b-256 | d070aded79abcdb61156e294ea47bb80957003f57cc390cbe704aa0267097e7f |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10a2b92de6ab16bd8b4322c049f34fb410f91d5d3415c513487fd3730997b754 |
|
MD5 | be25a4b4b84776a8061e4b13794e0bee |
|
BLAKE2b-256 | 72415e1f75e5f427e23c7b63efe98bd0ae1b8246823a41e9ac01685f15522bee |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 032c29aa97ef79149c02ab681fc9fe81e83116bacd011073792c8aa79f03ccea |
|
MD5 | 60378d4058fc4d863a4dd5ed5e18ca19 |
|
BLAKE2b-256 | 7aa8f502040e19c90dd76708f65f47d45b20b76e9b4b120449d035ac6a4b71e1 |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72d533d48822ff16e68b7f85ae9df886e16c870860e055a0c82cd727004857c0 |
|
MD5 | 2de2308d3febf7715de19f3591a98de4 |
|
BLAKE2b-256 | 6648e577d097fcd7b2146685016bc60d9690d724ab6262876f2deb895b6c68fa |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c0ec49c24558ec67f52a1c2671207e389ffa2b7b78b4f8327d67eec8570bf17 |
|
MD5 | 1d1fdfc6c92a0d40669361fdec789590 |
|
BLAKE2b-256 | 7982721cfea78a7f7a87712a68085f44a704a7309fa97642a27ecd2b52176a42 |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90035f952d13989f323cbd53e9865eb2f70a8a8ce84ad1449e0332f5678dfd33 |
|
MD5 | 7eb814d6400f04e55dea26e0af839feb |
|
BLAKE2b-256 | 6e9d5cb635f30477c482443a20fe65b7225808241810da85ee9830a3f585fc7e |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5338841579d715eda36ec52ffbc7ac3a4def6e413c34368ae01e1ec60878498 |
|
MD5 | f3de5b9c0e9d4faca2c8db7aa3160146 |
|
BLAKE2b-256 | 6a0afa9d91805fb6a6f5b3d278382adabf7423b657de138c1356da3499eb7b62 |
Close
Hashes for aliyundrive_webdav-0.1.20-py3-none-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653c1e77028ae2ff07cbf9d27ba6123a05a288dc99ea9141c4bf3032ae8933f9 |
|
MD5 | 86c5b2c918f977e5d63f4179eb93b74b |
|
BLAKE2b-256 | 0fad1bbbbec4d4eb7e4934e33b5ff8da7e3dc10f0c822146a4d94e1a65a272d5 |