Skip to main content

WebDAV server for AliyunDrive

Project description

aliyundrive-webdav

GitHub Actions PyPI Docker Image

阿里云盘 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.23/aliyundrive-webdav_0.1.23-0_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.23/luci-app-aliyundrive-webdav_0.1.23-0_all.ipk
opkg install aliyundrive-webdav_0.1.23-0_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.23-0_all.ipk

OpenWrt 配置界面

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.23

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.23.tar.gz (416.0 kB view details)

Uploaded Source

Built Distributions

aliyundrive_webdav-0.1.23-py3-none-win_amd64.whl (2.3 MB view details)

Uploaded Python 3 Windows x86-64

aliyundrive_webdav-0.1.23-py3-none-win32.whl (2.1 MB view details)

Uploaded Python 3 Windows x86

aliyundrive_webdav-0.1.23-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

aliyundrive_webdav-0.1.23-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

aliyundrive_webdav-0.1.23-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

aliyundrive_webdav-0.1.23-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (2.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ i686

aliyundrive_webdav-0.1.23-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (4.4 MB view details)

Uploaded Python 3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

aliyundrive_webdav-0.1.23-py3-none-macosx_10_7_x86_64.whl (2.3 MB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file aliyundrive_webdav-0.1.23.tar.gz.

File metadata

  • Download URL: aliyundrive_webdav-0.1.23.tar.gz
  • Upload date:
  • Size: 416.0 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

Hashes for aliyundrive_webdav-0.1.23.tar.gz
Algorithm Hash digest
SHA256 108d163c604d7e35e0685099325fc1390fcd6654d9499ce38db8e369e8ab317e
MD5 1a30d8636775b9bd5a8a2245e05807cb
BLAKE2b-256 b3f42201d6c77ba567d97ddfcb7ca53531196b22f217f1c184fbefcda9275d4f

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-win_amd64.whl.

File metadata

  • Download URL: aliyundrive_webdav-0.1.23-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

Hashes for aliyundrive_webdav-0.1.23-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b4cc51a92b4be36fce261a90e5e8d9a2fc0ac855a57dd8564d8fabc12e3447aa
MD5 c3d6f6a5aee6cc6cab0c7a9645048e5e
BLAKE2b-256 4dfd4dd54ae1826671b4377c97dfc484eff02ab60b8d605004529b1d46e14a9b

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-win32.whl.

File metadata

  • Download URL: aliyundrive_webdav-0.1.23-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

Hashes for aliyundrive_webdav-0.1.23-py3-none-win32.whl
Algorithm Hash digest
SHA256 0688a1cd78e505d5d48f0a5c009756c374ce2928a60d291eab7579dfc0023c77
MD5 4c4062b985332b505c4d4f7b79406d6e
BLAKE2b-256 776f07889f1c3fd04832a6ca7b0cf885cd7e563300bac6fc6155c2f075de848c

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.23-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f37afcd65111631ffd8da1b148562babc38105487bcff859614189304decd556
MD5 a7488c37dc31e17af85972e5163046c1
BLAKE2b-256 884cf46c4f38a99e9ad6c62a014a6fcd38bc825ce4d526fbc3bdc2335db9f3d6

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.23-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3fe44cae05d73882189f5cdbc27ada817beb1c0fd89e202cf7eace850f7716f5
MD5 d4f04b525c14fc1ac264448bb51ef8fa
BLAKE2b-256 da89f7651cc3a5acc0944552139b0d9475d4ed3eea4e1a568f34191b84331343

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.23-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e288b60af186aaedaa8f4b90dc537626e27204d568b812188da654e87a4c8594
MD5 edea1b099b34296c745ac0560f138046
BLAKE2b-256 abf61fdbf2e39ddb8f49c061b68193fc704dd8240799eb7663ffe6026b634d18

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.23-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 1d498cb0697bb3e9e58422707b0e485609dcbfd71126ea9d389798019084544c
MD5 e5085592ac11ddd7951411ad7b263cc6
BLAKE2b-256 8c91b0e425f8afe34aee339a56b9a44eac19050dbcff52f8f9d2ff6cf71f069e

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.23-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 093c1d9bef9e7d287608b715180fa6962e2cbe3c7e12ac52f15e87c5766599ee
MD5 ee5d925dbdde3c849b87850100ed5953
BLAKE2b-256 732b10b749561952ea3dd069c8f763cb1032ed59b8ba918c701922b94297a00b

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.23-py3-none-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: aliyundrive_webdav-0.1.23-py3-none-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 2.3 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

Hashes for aliyundrive_webdav-0.1.23-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 ec0446e2e0525379e805f911b66a2f81929ab50efd32c2e6adf3076822fdd22e
MD5 431e5997a85de84b20d61b00a466a630
BLAKE2b-256 8f5d5ac75a4f559bd03827ad591e50ba2d3bd7788a9f3bf9e2e14b80e99898e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page