Skip to content

NateTheGreatX/shdw-mount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shdw-mount proof of concept (use at your own risk)

shdw-mount is a CLI tool for mounting Shadow Drive buckets.

Prerequisites

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)

macOS

  1. Install Homebrew (if not already installed):

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install Node.js:

    brew install node
  3. Install fuse:

    brew install --cask macfuse
  4. Install pnpm (if not already installed):

    npm install -g pnpm

Linux

  1. 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
  2. Install fuse:

    sudo apt-get install -y fuse
  3. Install pnpm (if not already installed):

    npm install -g pnpm

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/shdw-mount.git
    cd shdw-mount
  2. Install dependencies:

    pnpm install
  3. Build the project:

    pnpm build

Usage

To use shdw-mount, you need to provide the bucketid, keypair-file, and mountpath.

Command

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.

Example

shdw-mount mount my-bucket-id /path/to/keypair.json /mnt/shdw

Unmounting

To unmount the filesystem, you can use the umount command:

umount /mnt/shdw

Contributing

Feel free to open issues or submit pull requests for any improvements or bug fixes.

License

This project is licensed under the ISC License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors