WebDAV server for AliyunDrive
Project description
aliyundrive-webdav
阿里云盘 WebDAV 服务,主要使用场景为配合支持 WebDAV 协议的客户端 App 如 Infuse 等实现在电视上直接观看云盘视频内容。
安装
可以从 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.25/aliyundrive-webdav_0.1.25-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.25/luci-app-aliyundrive-webdav_0.1.25_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.25/luci-i18n-aliyundrive-webdav-zh-cn_0.1.25-1_all.ipk
opkg install aliyundrive-webdav_0.1.25-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.25_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_0.1.25-1_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.25
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.25.tar.gz
(416.1 kB
view hashes)
Built Distributions
Close
Hashes for aliyundrive_webdav-0.1.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff72924fcbecc8e72adaad2575ea6cc812ec15d22799c6946d60a207c8549051 |
|
MD5 | 9b0368d9a53f1ead7e2526b26172b9f3 |
|
BLAKE2b-256 | 8679b2821bad1404fb8dfce3fafa74772aa9e8bc85b0cce455ef0a547dde5b39 |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b03155b0ed8f57613a27cda6110b26955955595e680f975fa235516315f5fcb |
|
MD5 | 3238114119d3c7d24d280835b2c70c27 |
|
BLAKE2b-256 | e6431ecdb357be33df864e8bf0ee1fff024e87cf92024273c9883ef90b91b98f |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d94fb4e752bceff8980aab237a598513fd89d1d28bc58458b215243d4d2204 |
|
MD5 | 4384c98836be020cdfaf98b2b7ffd374 |
|
BLAKE2b-256 | 264a397fcf08c1f25ee3646eb07d54ad4a703184ff581ebbf97d1cd8f79f5b1d |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ef13662fcbcb3c2ed4d6770aef5fd7fb2169302a779a0a2fdf9d732f09b8e7 |
|
MD5 | e740b685a276b673f5155dd994ba8fdd |
|
BLAKE2b-256 | 7b464daba0740f478ad434b2eb2b0684f217309d7a4c7dc15f089b82e96a2acd |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd4df9ef94f431b58195648e7feb10c225153d06582d2aa8353bcc9a600ce77b |
|
MD5 | a2c4c2b3c45e6ab87567cc7bfe459348 |
|
BLAKE2b-256 | 7c109e6c18e1698bd7e449d552ec80e52e2fbdf67fd88ab5936935756d2c1102 |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade0bea37e973edd63ffd6d97328f1e0dcdd1106de7ce67842feba2a43d26ca5 |
|
MD5 | cce003adddba7b8439d65173bf9ae237 |
|
BLAKE2b-256 | 8024a69f77cbb795baf24e306dff3adfb13f092b54e4e3d4f6f1cb62092718bc |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d75f3fc70c6fa2f11ab6fb628c9a58b6f5f5bdef5d3c06d283ef501e692a25c7 |
|
MD5 | e5aa1b94ff515dad3ff94527b116fe0a |
|
BLAKE2b-256 | 9df96c906e3e80e3ac8075fd4e1802ae155773008ba412233f5b434aa9ce9492 |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ad150bcd528c5f31d6ffc8b770cf603a23f2aec03b300bd7e391fa00720f17 |
|
MD5 | f4dae22accaf218ac1eb6254271c19da |
|
BLAKE2b-256 | cc1efaead6c1695de2f6826441194c3f60984cc65b73c3cb44bfdca4e1597969 |
Close
Hashes for aliyundrive_webdav-0.1.25-py3-none-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd27660c13e60ab20e69818b5c4d370c22e6644684f0a08f355e620aa89d188a |
|
MD5 | aa1e810bf696b758657169227114db3d |
|
BLAKE2b-256 | 1036745f2af964276d4962e2135738f49b4d0ab239dcbc3d6f71c258cf6e9e4f |