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

OpenWrt 路由器

GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64/arm/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:

wget https://github.com/messense/aliyundrive-fuse/releases/download/v0.1.3/aliyundrive-fuse_0.1.3_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-fuse/releases/download/v0.1.3/luci-app-aliyundrive-fuse_0.1.3_all.ipk
wget https://github.com/messense/aliyundrive-fuse/releases/download/v0.1.3/luci-i18n-aliyundrive-fuse-zh-cn_0.1.3-1_all.ipk
opkg install aliyundrive-fuse_0.1.3_aarch64_generic.ipk
opkg install luci-app-aliyundrive-fuse_0.1.3_all.ipk
opkg install luci-i18n-aliyundrive-fuse-zh-cn_0.1.3-1_all.ipk

其它 CPU 架构的路由器可在 GitHub Releases 页面中查找对应的架构的主程序 ipk 文件下载安装。

Tips: 不清楚 CPU 架构类型可通过运行 opkg print-architecture 命令查询。

命令行用法

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-fuse
aliyundrive-fuse -r your-refresh-token -w /var/run/aliyundrive-fuse /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.3.tar.gz (31.3 kB view details)

Uploaded Source

Built Distributions

aliyundrive_fuse-0.1.3-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.3-py3-none-musllinux_1_1_i686.whl (2.2 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ i686

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

Uploaded Python 3 musllinux: musl 1.1+ ARMv7l

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

Uploaded Python 3 musllinux: musl 1.1+ ARM64

aliyundrive_fuse-0.1.3-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.3-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.3-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.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: aliyundrive_fuse-0.1.3.tar.gz
  • Upload date:
  • Size: 31.3 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.3.tar.gz
Algorithm Hash digest
SHA256 599d5870674ef9cb8c514176d4abdcb03d8b738cc73618aa91a9d267f0e61cf5
MD5 343569e583f9a0987e308a6fa3c9b132
BLAKE2b-256 bd767e9060689ac4e022896fe2ed49744b1929493078f3c70cd84e65ec1d1e8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_fuse-0.1.3-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.3-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5cf141caa4a105fc3f9c5457ec0754eac52d4ef5270df932e69be76cda474bc4
MD5 4c45f4d237811345701ce82065d6ec06
BLAKE2b-256 7a7c6e0a10651a6956738ee7a861a1fbe41b57336ee31f48e027d846161d6c82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_fuse-0.1.3-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.3-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 0261e2e8dbcc5015ab710e77504d762eae604a64b748ce62da7b6861b3e309c3
MD5 0b5be1dccf8c83355d558b84072f8e96
BLAKE2b-256 892b539a6febb741cad9f4c51d724d2f040a3e2a91328c3507fbc0919be421b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_fuse-0.1.3-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.3-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 da68633115dcd9356d09a2410aa9f4b870bb01c2a67bfa4096046cc0c4280241
MD5 0d47b93ec27adc040cc45e98ec805e6e
BLAKE2b-256 e5357f79128ac7c6ec0afd742f762f14b8ff483b662ef7beaef46cdf2b124cbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_fuse-0.1.3-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.3-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c58e09b2262396580a106a60d95ed777cb52b9e6824b6cb80923459635b1df68
MD5 98d58d9c2bf0df9f88657e62903a8f82
BLAKE2b-256 b42c04c2c825678c71673a84829202b053b54680be53068e522f3522c58a748a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c25448c4a2a1ada68c0765f5401fc627943afa69129e21496685443d8afe4c92
MD5 a53b349943cee4c949fdb565943101e4
BLAKE2b-256 e8dde96aac4636c6ec11ebcc02f86f54cbb60bf373da3b214ad46e10ac61651c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 83cd36e23540d921c3924fbe04d80906cca98e13a9a8e6e93aa51d9cfe6bbba8
MD5 77b3a701f383141b6458226de4ff026d
BLAKE2b-256 910538808a0b4a3e628bdc1a1cf05ccdc33c973a23394b1942ed6c651639e475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.3-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 936d311f6e3f9e43a35e912364ca4da7120ab6aca35870415e564b3ae1455101
MD5 b6c23946c287526e8b39a378202db0b7
BLAKE2b-256 68f184caaea130aeccd245f6565974cc75dc3bab1dfffd8ac4d889b57bb7dbf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.3-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 00b99e36be85f9e8fdb07f834df3e484b575940dab7a2ef2a692e787013879ac
MD5 e00843b9ee3f6b561c50932c023aac13
BLAKE2b-256 4a89774d63d14cbb77b1fba822ed397ef157127e5e9cc678222c98231993af79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aliyundrive_fuse-0.1.3-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.3-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d7c3055a244ebc34bbe1963d075c26147a4c3f6dff5f8c8d332c001eb64018b1
MD5 d753da51b9509e5c10827ef9b6f27732
BLAKE2b-256 0dd049048d603c96b3020f457f55732010abaa400cc3a7f23e283a3a278a89f2

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