Skip to main content

WebDAV server for AliyunDrive

Project description

aliyundrive-webdav

GitHub Actions PyPI

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

Koolshare 梅林固件

GitHub Releases 中有预编译包 aliyundrivewebdav-merlin-arm*.tar.gz, 目前只提供了旧的 arm380 固件的版本,可在下载后更改文件名为 aliyundrivewebdav.tar.gz 后在软件中心离线安装。

梅林配置界面

命令行用法

aliyundrive-webdav --help
aliyundrive-webdav 0.1.12

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=]
        --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.12.tar.gz (2.0 MB view details)

Uploaded Source

Built Distributions

aliyundrive_webdav-0.1.12-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.12-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.12-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

aliyundrive_webdav-0.1.12-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.12-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.12-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.12.tar.gz.

File metadata

  • Download URL: aliyundrive_webdav-0.1.12.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 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.12.tar.gz
Algorithm Hash digest
SHA256 43d6d2e56436720ac5c022ffae8e6970e68128098c653eedee8aaa03ffe61864
MD5 8f809c7176fbbb590cb2be5c3c0e5f8e
BLAKE2b-256 33544f37424c6c274b79102239bbe6ed6158c130370a70abf7eb23da89be6bbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.12-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a8d02420a789b0b9b2be8c963ec79b6501cae08cf734e7f468f7c5d89847565f
MD5 8c03b54123560fd12c499825db93e56e
BLAKE2b-256 157da01f2516c5b199d51ff2d8877ccab29fbf3373957f0302508572ab2198ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.12-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fb5921fcb5b8bd33364aa3c4c9dcda9517ffb921279917bd0ed98e490df84d58
MD5 889969b957d5199cae3ef401c34cdd34
BLAKE2b-256 1b1b8dbe725f89333abd11153bea6aabd685c2295ed67d4a2810cc34d0bfcc1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.12-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4178cc66f158b237da95d3a2011eeeeb4b2e4ea2d61114f986528b559f6e12f5
MD5 928b6ba831419e22f840847ecde2ac4e
BLAKE2b-256 e050dc2c1a9fd065252692e45e987caa97967ebc752b8d3051dad4cf1430a089

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.12-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 8069fcda735aa3df59288c7164ab37483c8218142eaedc4dc70d5e3cd2ca1531
MD5 d960396a71e1a69a34097066e872720a
BLAKE2b-256 670a327f3a618597bf3830b1a6cdbb40faf681e621b0f6c6a7cc389d078d3104

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.12-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.12-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 37c9ffa50f48ad4bcfb7ab5364eab0c26a1011a32c6b35857b8e9e9c72df1e21
MD5 064d6c43fa5f00ca609919b481f7ca6b
BLAKE2b-256 676ef2512dcb3fab3e21d90966329746b7494614397c5c446b7f752fc0c59dda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_webdav-0.1.12-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.6.4 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.12-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 958ef845fe0fc7b159d8bb4ef1fd8a2d9ab0ff0489e2ab5218b4b944648b8729
MD5 f08db3acf18255f78f1343f1a8124daa
BLAKE2b-256 4b4900c16bd964f08cda4551131703b53c8aab233af755f6e876c58434e3eb6e

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