Skip to main content

WebDAV server for AliyunDrive

Project description

aliyundrive-webdav

GitHub Actions PyPI Docker Image

阿里云盘 WebDAV 服务

安装

可以从 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.22/aliyundrive-webdav_0.1.22-0_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.22/luci-app-aliyundrive-webdav_0.1.22-0_all.ipk
opkg install aliyundrive-webdav_0.1.22-0_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.22-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.22

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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

aliyundrive_webdav-0.1.22-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.22-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.22-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.22-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.22-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.22-py3-none-macosx_10_7_x86_64.whl (2.2 MB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.22.tar.gz
  • Upload date:
  • Size: 413.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.22.tar.gz
Algorithm Hash digest
SHA256 4e006efefe3636700088d0f85cc4910a51098703e2dffe5cf0738c1cfcaaf628
MD5 5354b48d729b54096930609a32d2ec77
BLAKE2b-256 0552c0eb13f335ebcde7363ded08e97408f9ad7de918a4b074c07e19cd92a6a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.22-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.22-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c7a07312309e36aecf33ae20d63c69d1d09e6589b16987867c003b559ee37a9e
MD5 5d25576701e5547748e82919c4e32a88
BLAKE2b-256 63222be7adf42f3fe5b68ff798b28dd551c29ac37ebb769685f95567135cf91f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.22-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.22-py3-none-win32.whl
Algorithm Hash digest
SHA256 86327e5f67c675bf6fbea7a2492e9edb4a6f569380a26f7ce23e2520ad9e4863
MD5 7574373feb4c85ac58f5a5bdd3b0d96d
BLAKE2b-256 64157c1c379ef8f198c89b8c88086a4d946cf226115840537ade26208b413189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.22-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d331e9a38028725383c172f28d9b92010d80fb87c96ecdfc5edd13e30f9b8751
MD5 9a7a5c259121caa840ffb1452ed3814a
BLAKE2b-256 ba85ddd4829e7f8cc289d7a955fa4e34194a5389c930d9c6a5a3fa519cea4777

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.22-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fcd4860afa7a9fed9d545de132b5cccc0250020365a01f88b4d18444c6db3154
MD5 b3237ab6eb541c2d8181fcffb22f31cf
BLAKE2b-256 af41bf59f6e572557297c448db41b3338daf8d7f65f37746059b916c0b06dfc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.22-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aef3b792517aba1b58f902703f1e69b249ada12eadf4303e8beab6d757a6073b
MD5 d15c522159c19733e72cc7646357ebef
BLAKE2b-256 f8b44e963c18f03a10f33df15ad9334cd6e3c31e4051063becd53d577944a598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.22-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 06a7dea5373e3444876cfe4903a9821edd4a5b17a870a3151e649b895c1d0e24
MD5 5a0aae0a747be670b81c39fcd788e2aa
BLAKE2b-256 85083a4e49341b400c7b07ce4a0face86c1b50fc5975dd1d8912db3a7cb88d15

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.22-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.22-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 87874b8377058713ea1bf9b9a60ba62f27e4e4b9baf0ac6ba29d5b3ff12d0827
MD5 737e419ad54ba0fe7980ee6bd9eae637
BLAKE2b-256 5d4c5aac2673b5107538474afab0b4cb1500a20e698a7239861da3388e84a27f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.22-py3-none-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 2.2 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.22-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 8f57830cae9b6d16eff0520fb39261e28e958206a3ea8e730ca724dff2ec3313
MD5 7211aeba0a102a8809ff56d6a7c72505
BLAKE2b-256 c3da8767b6e4e201fea0c2f3c672b455fd3ce061ade2a6ab70fe345a4c7531b5

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