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.24/aliyundrive-webdav_0.1.24-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.24/luci-app-aliyundrive-webdav_0.1.24_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.24/luci-i18n-aliyundrive-webdav-zh-cn_0.1.24-1_all.ipk
opkg install aliyundrive-webdav_0.1.24-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.24_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_0.1.24-1_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.24

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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

aliyundrive_webdav-0.1.24-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.24-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.24-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.24-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.24-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.24-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.24.tar.gz.

File metadata

  • Download URL: aliyundrive_webdav-0.1.24.tar.gz
  • Upload date:
  • Size: 416.1 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.24.tar.gz
Algorithm Hash digest
SHA256 da4929b2caa42eccdbcaa30633a55efa6025d5dc1e5cf4394bd5a9501b5e2c45
MD5 3c98a2bf6c72c8ef02c1b6bdcd561e38
BLAKE2b-256 c151b88f40ffa6e04e4ec517a3a6368cc473a0b5876f1e79d9ec836169aca0f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.24-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.24-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 65085671130cf58605ee4b0c96e3a7b0a489532c74eacf5da610e81c2fcee6d5
MD5 625babd1f6cdb0fd3f8e5f20ea6984a5
BLAKE2b-256 a8d059a795f6d3c3f14f1ca67e5376b6de17916ef662a9b38540d3bdceda81de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.24-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.24-py3-none-win32.whl
Algorithm Hash digest
SHA256 2b80e59d72ccac24d1fda4e53c42510220185616cb408e86b09f92de6d10e453
MD5 7d97f666c290e9a7baf52f9c39bff9df
BLAKE2b-256 971fbbe73979d5844071b5cda9165b1857b3ba503d3b8688a873aea45b97298e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.24-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 9393eb5cf9673caf385c4dd00241826a15cdf01d22891e1e520ec93f51896bb4
MD5 ba2c33059fa32aef4d7f729a0d50237c
BLAKE2b-256 1beb72fe8b481c0d6f44436d5e20aca029fd211f591230cd20790497eeb56fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.24-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 614e104658a5a4bee8fd4400f965e4fb45e1f51231b1c3660bbdf61dd8b9e126
MD5 ee03c9999b37b8782945274289a38059
BLAKE2b-256 9dffa7db79f216ea0609a2ddef0b382ea794d3f1df8d8e307d820da24f39c927

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.24-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9ef23e6d247ee9112605c9ebc4d9d15624173938d150b7e03cc347dfe9fafec0
MD5 8c7bac1a107db07496210da1f5d5a063
BLAKE2b-256 ff86d8eacc855b4e054ad6a7185441b783b71908366526796f40b0bc5549a207

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.24-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 e150f98e8ec6b3e6bc6196cb99bfdbbacca10b31c5f8ee0a768bc429ae2c965e
MD5 cc422506e9268bd302fae93e5319df5d
BLAKE2b-256 03b2a72c45438711e393c6ba38b8c5708fd822e48ff5a4f90abefc469776b189

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.24-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.24-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 23888f737ffcc7ed8c3b517fee908e4151d3582956cfd7b1a4d8477b24315e59
MD5 04453e8de9f29c54cf500ed26dc21c26
BLAKE2b-256 9830c6a5aacaf5e888a352ba635287b61676b1a5c10ea96d7904068446ea4e02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.24-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.24-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 21b442fa1a5ee8b7e97e4b29498ff88cf8dedfcc4093e0b4a19f002b3b2fc661
MD5 6ab80821fcbe3f6e8840002f9f5be745
BLAKE2b-256 4122430ce16c2f1f63844243e4cf4c375335ee6eb52cc69388c5c2837f12ef61

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