Sync app for Storj.
- Install Java 8. Make sure to install the 64-bit variant.
- Install libstorj
- Import your keys using the libstorj CLI. Don't use a passcode. This is not supported yet by the sync app.
- Download the ZIP package of the latest release
- Extract the ZIP on the local file system
- Open a Command Prompt / Terminal
- Navigate to the extracted
goobox-sync-storj
folder - Run the batch file, i.e.
goobox-sync-storj.bat
The app uses the auth file in the <user.home>/.storj
folder created by the libstorj CLI for the authentication with the Storj bridge.
Currently the app supports basic two-way sync between the Storj cloud to the local file system. The app will sync the content of the bucket with name Goobox
to the local folder with name Goobox
, which is a subfolder of the user home folder. If either the bucket or the local folder do not exist, the app will automatically create empty ones.
The app polls the Storj cloud and the local Goobox
sync folder once per minute for any changes in the content. If file is created, deleted or modified in the local sync folder, the sync will be triggered within 5 seconds.
Basic sync scenarios should work: initial sync, downloading and uploading modified files. More care is required for more complex scenarios: conflicts, download/upload failures, etc.
The app uses an embedded Nitrine database for storing the current sync state of the files. The DB file can be found at the following location:
C:\Users\<user-name>\AppData\Local\Goobox
for Windows~/.local/share/Goobox
for Linux~/Library/Application Support/Goobox
for macOS
The list-db.bat
script can be used to dump the content of the database. This might be useful for debugging.
Setting up the overlay icons on Windows required the following steps:
- Make sure the Microsoft Visual C++ 2010 Redistributable Package (x64) is installed on the system
- Open a Command Prompt as Administrator
- Execute the
register-dlls.bat
file - Restart Windows
- Run the app as usual