shdw-mount is a CLI tool for mounting Shadow Drive buckets.
Before using shdw-mount, ensure you have the following installed on your machine:
- Node.js (version 14 or higher)
- npm or pnpm
fuse(Filesystem in Userspace)
-
Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Node.js:
brew install node
-
Install
fuse:brew install --cask macfuse
-
Install pnpm (if not already installed):
npm install -g pnpm
-
Install Node.js 20:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get update && sudo apt-get install -y nodejs
-
Install
fuse:sudo apt-get install -y fuse
-
Install pnpm (if not already installed):
npm install -g pnpm
-
Clone the repository:
git clone https://github.com/yourusername/shdw-mount.git cd shdw-mount -
Install dependencies:
pnpm install
-
Build the project:
pnpm build
To use shdw-mount, you need to provide the bucketid, keypair-file, and mountpath.
shdw-mount mount <bucketid> <keypair-file> <mountpath><bucketid>: The ID of the Shadow Drive bucket you want to mount.<keypair-file>: The path to the keypair file.<mountpath>: The path where you want to mount the bucket.
shdw-mount mount my-bucket-id /path/to/keypair.json /mnt/shdwTo unmount the filesystem, you can use the umount command:
umount /mnt/shdwFeel free to open issues or submit pull requests for any improvements or bug fixes.
This project is licensed under the ISC License.