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

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.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 details)

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

aliyundrive_webdav-0.1.25-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.25-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.25-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.25-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.25-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.25-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.25.tar.gz.

File metadata

  • Download URL: aliyundrive_webdav-0.1.25.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.25.tar.gz
Algorithm Hash digest
SHA256 ff72924fcbecc8e72adaad2575ea6cc812ec15d22799c6946d60a207c8549051
MD5 9b0368d9a53f1ead7e2526b26172b9f3
BLAKE2b-256 8679b2821bad1404fb8dfce3fafa74772aa9e8bc85b0cce455ef0a547dde5b39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.25-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.25-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9b03155b0ed8f57613a27cda6110b26955955595e680f975fa235516315f5fcb
MD5 3238114119d3c7d24d280835b2c70c27
BLAKE2b-256 e6431ecdb357be33df864e8bf0ee1fff024e87cf92024273c9883ef90b91b98f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.25-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.25-py3-none-win32.whl
Algorithm Hash digest
SHA256 46d94fb4e752bceff8980aab237a598513fd89d1d28bc58458b215243d4d2204
MD5 4384c98836be020cdfaf98b2b7ffd374
BLAKE2b-256 264a397fcf08c1f25ee3646eb07d54ad4a703184ff581ebbf97d1cd8f79f5b1d

See more details on using hashes here.

File details

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

File metadata

File hashes

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

See more details on using hashes here.

File details

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

File metadata

File hashes

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

See more details on using hashes here.

File details

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

File metadata

File hashes

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

See more details on using hashes here.

File details

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

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.25-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.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

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.25-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.25-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fd27660c13e60ab20e69818b5c4d370c22e6644684f0a08f355e620aa89d188a
MD5 aa1e810bf696b758657169227114db3d
BLAKE2b-256 1036745f2af964276d4962e2135738f49b4d0ab239dcbc3d6f71c258cf6e9e4f

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