Skip to main content

FUSE for AliyunDrive

Project description

aliyundrive-fuse

GitHub Actions PyPI aliyundrive-fuse Crates.io

🚀 Help me to become a full-time open-source developer by sponsoring me on GitHub

阿里云盘 FUSE 磁盘挂载,主要用于配合 Emby 或者 Jellyfin 观看阿里云盘内容,功能特性:

  1. 目前只读,不支持写入
  2. 支持 Linux 和 macOS,暂不支持 Windows

aliyundrive-webdav 项目已经实现了通过 WebDAV 访问阿里云盘内容,但由于 Emby 和 Jellyfin 都不支持直接访问 WebDAV 资源, 需要配合 rclone 之类的软件将 WebDAV 挂载为本地磁盘,而本项目则直接通过 FUSE 实现将阿里云盘挂载为本地磁盘,省去使用 rclone 再做一层中转。

安装

  • macOS 需要先安装 macfuse
  • Linux 需要先安装 fuse
    • Debian 系如 Ubuntu: apt-get install -y fuse3
    • RedHat 系如 CentOS: yum install -y fuse3

可以从 GitHub Releases 页面下载预先构建的二进制包, 也可以使用 pip 从 PyPI 下载:

pip install aliyundrive-fuse

如果系统支持 Snapcraft 比如 Ubuntu、Debian 等,也可以使用 snap 安装:

sudo snap install aliyundrive-fuse

命令行用法

aliyundrive-fuse 0.1.0
FUSE for AliyunDrive

USAGE:
    aliyundrive-fuse [OPTIONS] --refresh-token <REFRESH_TOKEN> <PATH>

ARGS:
    <PATH>    Mount point

OPTIONS:
        --domain-id <DOMAIN_ID>            Aliyun PDS domain id
    -h, --help                             Print help information
    -r, --refresh-token <REFRESH_TOKEN>    Aliyun drive refresh token [env: REFRESH_TOKEN=]
    -V, --version                          Print version information
    -w, --workdir <WORKDIR>                Working directory, refresh_token will be stored in there if specified

比如将磁盘挂载到 /mnt/aliyundrive 目录:

mkdir -p /mnt/aliyundrive /var/run/aliyundrive
aliyundrive-fuse -r your-refresh-token -w /var/run/aliyundrive /mnt/aliyundrive

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aliyundrive_fuse-0.1.1.tar.gz (25.7 kB view details)

Uploaded Source

Built Distributions

aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_x86_64.whl (2.3 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ x86-64

aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_i686.whl (2.2 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ i686

aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_armv7l.whl (1.9 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ ARMv7l

aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_aarch64.whl (2.2 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ ARM64

aliyundrive_fuse-0.1.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.9 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

aliyundrive_fuse-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

aliyundrive_fuse-0.1.1-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

aliyundrive_fuse-0.1.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (2.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ i686

aliyundrive_fuse-0.1.1-py3-none-macosx_10_7_x86_64.whl (2.0 MB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file aliyundrive_fuse-0.1.1.tar.gz.

File metadata

  • Download URL: aliyundrive_fuse-0.1.1.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.1.tar.gz
Algorithm Hash digest
SHA256 25d888c640c2b9139ad6874f41512c36309c7fe51cc7a9ebfe616cfb64cbd1fa
MD5 a74ea64820f3a0422a92c925ddececa7
BLAKE2b-256 e3e7653e578e142dd8a3836c8efca7ae07d87caf701505f99e4293d04fe36c16

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_x86_64.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 882196e816e1325f15045604004cb34426a8710ff6db55b2d9d8817e36e62e7c
MD5 728a1748e50c8c568a7dd5865abf85f3
BLAKE2b-256 ff2956ab201b2e55c627e3bde92b7ec892492520bcec66618f8da01bc9e4c003

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_i686.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, musllinux: musl 1.1+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 687ed7907bdf7026dcf326de6e873550effb32682068a9d4cc76b0f107198b75
MD5 de207a970fb319d8bc5ddf46d49381c6
BLAKE2b-256 9c2512f2ca89299586167b8fe69176f7f08149667da3b036ad30bb16aca20394

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_armv7l.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_armv7l.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3, musllinux: musl 1.1+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 1f6fedd363f4c09d880ae54cc50dda1605d376b7273b53a70c8b35249f3e3546
MD5 512566c50b1cdce43945b281336749d7
BLAKE2b-256 0a66d90b17e5793209ea31d1b727aa2c7a89c46998e285bcf271517e9698697d

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_aarch64.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_aarch64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, musllinux: musl 1.1+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1b8744551a5a64394d79a8858a7edb3bc9c255a0690cc552407878ce689841db
MD5 3dbc0b30789626344af547ab608c739e
BLAKE2b-256 8b75b1a7d8803f575e2cff8e1023ad83283203d4c3964b3f17501375e9ec7a04

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a18f9289599dcbc4d98a51d940261d52737797bafc2bb09c039c474de95a00ed
MD5 eae818827e0e0c83ace54c5b2808ea04
BLAKE2b-256 60fcd6322f11cf98db40c1abf1ed2ddde49b91e829cd061700039df6fee86fea

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b0fc31e0a63c96b2c9a0bf7114636196eff7d598cdcbf203ee215edca775d275
MD5 5943d923304aad52e04f48ff0efd53a8
BLAKE2b-256 9905544628a7cf71558754830502fcdafca2954d86fbbdb9830d4bb0bd43d761

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 187effbe87bc63de616009f1d2b0c8e9c9b57da6e4fcce74c17fc71e9cb2f4e1
MD5 0469111a07c37b795503963c98927938
BLAKE2b-256 6ccf76011b526184b0fff651e2c8be94cf183f7dd3282fa00176fcf5cf725322

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 b947bd29c15521aac5deeee5e1916855aba97d89b3afcfe5e292e7f580d39bde
MD5 166cef6a629ad6af1525013b2dc53c56
BLAKE2b-256 cbd540cd17446f2d550b1c989883c8d39f38e10d39fd1b50f3b8ef0a7d8a5606

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.1-py3-none-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.1-py3-none-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.1-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0e413df5b1f2f6c14606439595a41ce816abaaba3f6bf1b554d55afa3a5e89f2
MD5 92fa8b737c8ff15d0f812a221844f5e3
BLAKE2b-256 61cd6764c517aec57acc22134ef1ce38fd0e4407e0fb47aa8c21b09e150d5107

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