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

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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

aliyundrive_webdav-0.1.26-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.26-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.26-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.26-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.26-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.26-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.26.tar.gz.

File metadata

  • Download URL: aliyundrive_webdav-0.1.26.tar.gz
  • Upload date:
  • Size: 416.2 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.26.tar.gz
Algorithm Hash digest
SHA256 ad5bd24bcd304384f9f2e2e1a8695f6ef51a2acad5698415deca0abc94dbf5f4
MD5 36211c6d00824041af237289d39f91aa
BLAKE2b-256 e42047d7f614e7f8adc70b7d30ee7e0f7b424b91afe8bc1cf3bf8d9bcb85f2c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.26-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.26-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 26afbcfcfce36e27d7026a5f7914edf3e2f231ef5573043935d6b275efbf202e
MD5 5b681bce5b717e1511d7527b7df430ef
BLAKE2b-256 c7cec67861d55ef5f82fe53f4e6ef4e8ed74755e148491c6d472866a6952c861

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.26-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.26-py3-none-win32.whl
Algorithm Hash digest
SHA256 fb165e35364b3b574b6fb8aac1a228399b6093350726535000e003f6b07611d1
MD5 984be89eab35251fdbd5ffc7d4d146ee
BLAKE2b-256 54395a49e86c95f37edb37be3d0d5839f9860caf5a97bd350aada7511efcec79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.26-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 3de08e4510508c7999522ee5e6272a9f001b5232cc2e0e9a89f3d9d03538cbf3
MD5 291446c19e31dd3507ae9db39ab16f3b
BLAKE2b-256 a512c454aa4e90512e4819cabead84adf3f93822c64d01b153c18fb0e2eda909

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.26-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4f1b5dc119063bee8b05ce1fda74ea259ecea074804f0ced4a9f5c54371f6186
MD5 d20c7a6c260493649db329937029c02d
BLAKE2b-256 e2eb4ec4363aa00422cc3cf99a9a4c51f82420aca3cc485ae410eb591fed82c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.26-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a5e36767ef48bfc19cbd252fbb335c0534d92c2bf5845e14b472a1c8c60bf03b
MD5 5b5db8b53d57561510dc45b0bc250156
BLAKE2b-256 13693d5a3ee1c9612837f6e4c7b6e87783bf6639d5bd0ddeea062d30714984c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.26-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 3b0426af9b6c88f053c376ce5e8b66f37a908cfb6ca2a17c18fd04d2cf577a6d
MD5 2e7c5b7f8dbf3af57e7aef3ddf2cec18
BLAKE2b-256 f7b133f9d95958d35af1234a94efb1aa4439089cbeced07f2bb881f5672558fd

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.26-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.26-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 089f8e4ce7774ca216f29a745b53ae0881a15cedfe2c20684154cc5f5fad0ba3
MD5 52af555d1af3443fcf21ede2c0e1e317
BLAKE2b-256 f3824d455dc5bfc75eaa5c08cae7caca0424c392d52034e00de3d1de7a7e3a6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.26-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.26-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 eb15a20fa8037161ceb5360a9c8a6be8b3c51d4191d9dc01e8d01a0b5c2c9848
MD5 bc0025e21c896df514c62a59a235c241
BLAKE2b-256 57eb50d67cf57942bfc4b143fc9eb88a09db2dadcb99bf8b36caa67d1cc2c613

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