Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including icloud-drive-fs with all npm packages installed. Try it out:

var icloudDriveFs = require("icloud-drive-fs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

icloud-drive-fs v0.3.0

Mount iCloud Drive as a FUSE filesystem.

iCloud Drive Filesystem

Mounts iCloud Drive as a FUSE filesystem.

  • [x] Mount
  • [ ] Read usage/quota
  • [x] List zones
  • [x] List directory contents
  • [x] Read file and directory information
  • [ ] Read file contents
  • [ ] Write file contents
  • [ ] Create directories
  • [ ] Rename files and directories

Installation

  • libfuse/FUSE for macOS/Dokany https://www.npmjs.com/package/fuse-bindings#requirements
    • (macOS) pkg-config
  • (Linux) libsecret https://www.npmjs.com/package/keytar#on-linux

npm

npm install -g icloud-drive-fs

Source

git clone https://gitlab.fancy.org.uk/samuel/icloud-drive-fs
cd icloud-drive-fs
npx gulp build # or npx gulp watch

node dist/cli.js apple-id --mount /path/to/mount

Usage

icloud-drive-fs apple-id --mount /path/to/mount
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free