The ArDrive Sync Command Line App contains basic public and private drive synchronization via a Node.js application.
It requires you to provide a local Arweave wallet JSON. It stores this, encrypted, in local SQLite database that is created in the directory that you run ArDrive-Sync in, called .ardrive-sync.db. Other file metadata and transaction information is also stored in this database.
To use the ArDrive Sync, install it with your favorite package manager, and run "ardrive-sync".
If you are experiencing permissions issues (Mac OSX), you may also need to place your wallet file in the same directory you are running ardrive-cli
---- THIS IS CURRENTLY A BETA VERSION ----
First, clone this repository to a local directory
git clone -b production https://github.com/ardriveapp/ardrive-sync.git ./ardrive-sync
ArDrive Sync uses Yarn 2, so install the latest version with the yarn installation instructions. In most cases:
# Brew:
brew install yarn
# Or with NPM:
npm install -g yarn
We also use husky. To enable hooks locally, you will need to run:
yarn husky install
Now that everything is set up, to install the package simply run:
yarn
And then start the ArDrive Sync command line app:
yarn start
To ensure your environment is compatible, we also recommend the following VSCode extensions: