fballiano/drivecraft
Über uns
A light, private, open source replacement for the apps of OneDrive, Dropbox, Box, and more. Built on rclone.
Produktivität und AutomatisierungWhat you can do
- Open source. Anyone can read the code and examine what the app does. Use it at no cost, under the MIT or Apache 2.0 license.
- Private. No telemetry, no advertising, and no account with us. Your files go directly between your computer and your cloud.
- Light. A small, native app, written in Rust. It does not include a web browser, so it starts quickly and uses little memory.
- Many clouds, many accounts. Each account syncs to a folder of its own in ~/DriveCraft, so the accounts never mix.
Gemessener Sternzuwachs
- in 24h
- +10
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalDriveCraft
A light, private, open source replacement for the apps of OneDrive, Dropbox, Box, and more. Built on rclone.
|
If you find my work valuable, please consider sponsoring |
Replace the official apps of OneDrive, Dropbox, Box, and more with one light, private, open source app. Large companies make the official apps, and you cannot see their code. DriveCraft is open source, sends no telemetry, and puts no server of its own between your computer and your cloud.
DriveCraft keeps real copies of your cloud files in a folder on your computer, and syncs them in both directions. You select the folders that sync; the other folders stay only online. It works with OneDrive, Dropbox, Box, pCloud, kDrive, HiDrive, Yandex Disk, iCloud Drive, MEGA, Nextcloud, SFTP servers, and S3 storage, and with more than one account at a time.
DriveCraft runs on macOS, Windows, and Linux. For the sync, it uses rclone, a tool that people trust with their files for more than ten years. DriveCraft includes rclone, so you install nothing else.

Highlights
- Open source. Anyone can read the code and examine what the app does. Use it at no cost, under the MIT or Apache 2.0 license.
- Private. No telemetry, no advertising, and no account with us. Your files go directly between your computer and your cloud.
- Light. A small, native app, written in Rust. It does not include a web browser, so it starts quickly and uses little memory.
- Many clouds, many accounts. Each account syncs to a folder of its own
in
~/DriveCraft, so the accounts never mix. - Selective sync. A switch for each folder: on, it syncs to this computer; off, it stays only online.
- You choose first. After a sign-in, nothing downloads until you select the folders and start the first sync.
- Live activity. See each file while it transfers, and each file that a sync changed.
- Safe by design. A missing folder stops the sync, so it cannot delete your files online. A file that changed on both sides keeps both versions. DriveCraft refuses the folders of other cloud apps.
- In the tray. DriveCraft runs in the menu bar or the system tray, like the official apps.
Built on rclone
DriveCraft does not write a new sync engine. It puts a simple app on top of rclone, a tool that people trust with their files.
- Tested for more than ten years. rclone is an open source tool for more than 70 cloud storage services. Many people and companies use it every day to move, sync, and back up their files. DriveCraft uses its two-way sync and its sign-in for each cloud.
- rclone is included. Each package contains a tested version of rclone. DriveCraft uses its own rclone configuration, so it never changes your own rclone accounts.
- One Rust code base. The same code makes the app for macOS, Windows, and Linux, on x64 and Arm processors. The window uses egui, a fast user interface library for Rust.
Install
macOS
DriveCraft needs macOS 11 or later.
brew tap fballiano/tap
brew trust --tap fballiano/tap
brew install --cask drivecraft
To update:
brew update
brew upgrade --cask drivecraft
Or download the zip for your Mac (Apple silicon or Intel) from the latest release, and drag DriveCraft into Applications.
DriveCraft is signed with an Apple Developer ID and notarized by Apple, so it opens like any other application.
Windows
With Scoop:
scoop bucket add fballiano https://github.com/fballiano/scoop-bucket
scoop install fballiano/drivecraft
To update, run scoop update drivecraft.
With winget:
winget install FabrizioBalliano.DriveCraft
To update, run winget upgrade FabrizioBalliano.DriveCraft.
Or download the installer for your computer from the
latest release:
DriveCraft-<version>-windows-x64-setup.exe, or arm64 for Arm. It installs
DriveCraft for your user, without administrator rights, and adds it to the
Start menu. The zip file has the same app without an installer: extract it,
and start DriveCraft.exe. Keep rclone.exe in the same folder.
When you uninstall DriveCraft, the uninstaller asks if it must also remove the settings. The settings include your accounts, their sign-ins, and the file lists of the sync. Select No if you install DriveCraft again later. The uninstaller never removes your synced files.
The app has no signature yet, so on the first start Windows can show "Windows protected your PC". Click More info, then Run anyway. Scoop installs give no warning.
Linux
Download a package for your computer (x64 or Arm) from the latest release:
- AppImage: one file. Make it executable (
chmod +x DriveCraft-*.AppImage), then start it. Keep the AppImage in the same place: the start at login uses its path. Some distributions need FUSE 2 (libfuse2) for an AppImage. - tar.gz: extract it, and start
drivecraft. Keeprclonein the same folder.
Getting started
- If you use the official app of your cloud, read Change from the official app first.
- Start DriveCraft, and select your cloud. Sign in in the browser window that opens.
- Switch off the folders that you want only online, then select Start sync.
- To add one more account, select Add account in the sidebar.
The app
- DriveCraft runs in the tray (the menu bar on macOS), like OneDrive.
- On macOS, DriveCraft has a Dock icon only while its window is open. Then the window is in Command-Tab and has a menu bar. When you close the window, the Dock icon goes away.
- Click the tray icon to open the window. Click it again to hide the window. Right-click it for a menu: status, Sync now, Open DriveCraft folder, and Quit DriveCraft.
- When you close the window, DriveCraft continues to run in the tray. Use Quit DriveCraft to stop it.
- DriveCraft starts when you sign in to the computer, after you add the first account. Then it starts in the tray, without its window. On Linux with Wayland, the window starts minimized. To stop this, turn off Settings > Sync > Start at login.
- When you installed DriveCraft from a download (a zip, an installer, a
tar.gz, or an AppImage), it asks GitHub once a day for a new version. Then Overview shows Download, which opens the release page. DriveCraft sends no data about you, and it has no server, so only GitHub sees the request. Homebrew, Scoop, Flatpak, and the AUR update DriveCraft themselves, so these installs do not check. To stop the check, turn off Settings > Sync > Check for updates.- macOS: a login item in
~/Library/LaunchAgents. System Settings shows it in General > Login Items. - Windows: the
Runkey of your user in the registry. - Linux: a file in
~/.config/autostart. In a Flatpak, the desktop asks for your permission.
- macOS: a login item in
- Only one DriveCraft runs at a time. When you start it again, the running DriveCraft shows its window.
- The sidebar has three pages for all accounts: Overview, Activity, and Settings. Under them, Accounts shows each account with its status and its storage use, and Add account.
- The page of an account has two tabs. Folders selects the folders that sync. Account shows the storage use, the local folder, Full resync, and Sign out.
- The design follows the "Studio" look of the Craft apps: the Inter font, Lucide icons, and the Studio colors. It follows the light or dark mode of the system. You can also select a mode in Settings.
- DriveCraft shows its text in the language of the system. To use a different language, select it in Settings > Language. See Languages.
On Linux, the tray icon shows on KDE Plasma, Cinnamon, XFCE, MATE, Budgie, LXQt, and Ubuntu. Plain GNOME shows it only with the "AppIndicator and KStatusNotifierItem Support" extension. On Wayland, an app cannot hide its window. There, closing the window minimizes it, and DriveCraft continues to sync. A click on the tray icon asks the desktop to show the window: the desktop shows it, or marks it in the taskbar. On X11, the tray works as on macOS and Windows.
To render each page with demo data to target/screenshots/, run:
cargo test -p drivecraft screenshots -- --ignored
To test the tray icon on Linux in a Wayland session and in an X11 session, run scripts/tray-test.sh. It needs Docker, and writes screenshots and logs to target/tray-test/.
To make docs/demo.webp again, run scripts/demo-animation.sh (it needs ImageMagick). To make the store screenshots in docs/screenshots again, run scripts/store-screenshots.sh (it needs ImageMagick). To make docs/social-preview.png again, run scripts/social-preview.sh (it needs ImageMagick).
Languages
DriveCraft shows its text in the language of the system. For a language that is not in this list, it uses English. To select a different language, use Settings > Language.
| 🇬🇧 English | 🇨🇿 Čeština | 🇩🇰 Dansk | 🇩🇪 Deutsch | 🇪🇸 Español |
| 🇫🇷 Français | 🇮🇹 Italiano | 🇳🇱 Nederlands | 🇳🇴 Norsk | 🇵🇱 Polski |
| 🇧🇷 Português | 🇫🇮 Suomi | 🇸🇪 Svenska | 🇻🇳 Tiếng Việt | 🇹🇷 Türkçe |
| 🇺🇦 Українська |
To add a language or to correct a translation, see Translate DriveCraft.
Change from the official app
Do these steps in this order:
Wait until the official app shows that your files are up to date. Changes that are not uploaded are lost when you unlink the app.
In the settings of the official app, sign out or unlink this computer:
- OneDrive: open Account and select Unlink this Mac (or Unlink this PC).
- Dropbox: open Account and select Unlink.
- Box Drive: select Sign out.
After the unlink, a change in its folder does not change the cloud. If you uninstall the app without this step, macOS can keep an empty, protected folder in
~/Library/CloudStorage.Uninstall the official app.
Start DriveCraft and sign in. Select the folders that sync to this computer.
Do not copy or move files from the folder of the official app into the DriveCraft folder. DriveCraft downloads your files from the cloud. A move before the unlink deletes the files in the cloud, and then DriveCraft deletes them on this computer too. When DriveCraft has downloaded your files, you can delete the old folder.
How it works
DriveCraft keeps one local folder for each account, with real copies of your files. It works like the official OneDrive client before "Files On-Demand", or like selective sync in Dropbox.
~/DriveCraftholds one folder for each account. The folder has the name of the provider: the first OneDrive account gets~/DriveCraft/OneDrive, the next one~/DriveCraft/OneDrive 2, a Dropbox account~/DriveCraft/Dropbox. You can rename an account; its folder does not change. No other client uses this name, so the folders of DriveCraft and of other clients never collide. You cannot select~/DriveCraftitself as the folder of an account. The folders of two accounts must not be the same, and one must not be inside the other.- In Folders, each switch selects a folder that syncs to this computer. A folder that is off is not on this computer. It stays only online.
- The files in the root of the account always sync.
- A new account starts with all top-level folders on. DriveCraft does not sync it yet: it opens Folders of the account. Switch off the folders that you want only online, then click Start sync. Only then does the first download start.
- When you switch a folder off, the next sync uploads all local changes first. Then it deletes the local copy. The files stay online.
- The Personal Vault of OneDrive does not sync: Microsoft does not let other apps read it. DriveCraft usually finds it when you add the account, else at the first sync. Then it switches the vault off in Folders. If you switch it on, DriveCraft tries it again at the next sync. The name of the vault depends on the language of the account.
- When you make a new top-level folder in the local folder, it does not sync immediately. Overview shows the new folder. Select Sync to upload it. Select Do not sync to keep it only on this computer. The Account tab shows the folders that are only on this computer. You can sync them there later. Hidden folders (names that start with ".") are not shown.
- DriveCraft syncs each account at an interval (10 minutes by default), and when you click Sync now. Only one sync runs at a time; the accounts take turns.
- Sign out removes the account from DriveCraft. A dialog asks what happens to its folder:
- Keep the folder on this computer: the folder and its files stay. They do not sync any more.
- Move the folder to the Trash: DriveCraft syncs one last time, then moves the folder to the Trash (the Recycle Bin on Windows). If the last sync fails, the account and the folder stay. The dialog names the folders that are only on this computer, because they go to the Trash too. If such a folder comes during the last sync, DriveCraft does not sign out. Sign out again to see the folder in the dialog. An account that never synced moves its folder to the Trash only when the folder is empty.
- Activity shows each file that a sync changed: downloaded, uploaded, deleted on this computer, or deleted online.
DriveCraft compares lists of the synced local files before and after each sync. It keeps the last list of each account in
snapshot-<id>.jsonin the settings folder. - OneDrive and Google Drive block the download of files that they mark as infected with a virus. DriveCraft reports each such file one time in Activity, then skips it in later syncs. To download these files anyway, turn on Settings > Sync > Download blocked files. Scan such files before you open them.
- Some providers do not report the storage use. Then the Account tab says so.
- A provider can end a sign-in, for example after you change your password. Then DriveCraft stops the sync of that account and shows Sign in again in Overview and on the account page. Your files stay on this computer. After the new sign-in, the sync continues. To sign in again at a different time, use Sign in again on the Account tab.
- When a file changed on this computer and online since the last sync, DriveCraft keeps both versions. The newer version keeps the name. The other version gets a copy with "conflict" in the name, for example
report.conflict1.docx, on both sides. Activity shows it as a conflict copy. - DriveCraft never syncs system files:
.DS_Store,._*,Thumbs.db,desktop.ini, and Office lock files (~$*,.~lock.*).
DriveCraft refuses a folder that a different cloud app syncs, because two apps that sync the same folder can delete files:
- macOS: all folders in
~/Library/CloudStorage, and links into that location (for example~/OneDrive). macOS gives this location to the apps of OneDrive, Google Drive, Dropbox, and Box. - Windows: the folder of each account in the official OneDrive app.
- Linux: the
sync_dirfolder of theonedriveclient. - All systems: the folders of the Dropbox app (from its
info.json). - macOS and Windows:
~/Box(Box Drive) and~/Google Drive(the old Google app). - All systems:
~/pCloud Drive,~/kDrive, and~/Yandex.Disk, the default folders of these apps. - iCloud Drive:
~/Library/Mobile Documentson macOS, and~/iCloudDriveof the iCloud app for Windows. - All systems:
~/MEGAand~/MEGAsync, the folders of the MEGA app. - All systems: the folders of the Nextcloud desktop app (from its
nextcloud.cfg), and~/Nextcloud.
Google Drive for desktop on Windows uses a separate drive letter (for example G:). DriveCraft refuses the root of that drive, but not yet a folder inside it.
DriveCraft does the check when you select a folder, and again before each sync.
When a sync finds a file with different content on the two sides, and there is no earlier sync to compare with, DriveCraft keeps the newer version. This occurs at the first sync, after a change of folders, and after Full resync.
Security
DriveCraft has no server. Your files and your sign-in go only between your computer and your cloud.
- rclone does the sync. DriveCraft has no sync engine of its own. It uses rclone, a tool that many people trust with their files.
- Your password stays with your provider. For most providers, you sign in on the web page of the provider. iCloud Drive and MEGA need your password in DriveCraft. DriveCraft uses it for the sign-in only and does not keep it. Nextcloud gives DriveCraft an app password for this device, which you can revoke in Nextcloud.
- No data about you. DriveCraft sends no telemetry. It only checks for updates one time each day, and you can turn this off.
- Open source. Anyone can examine the code. GitHub builds the packages in public, and Apple notarizes the macOS app.
- Private settings. On macOS and Linux, other users of this computer cannot open the settings folder.
One limit: rclone keeps the sign-in token in a file in the settings folder. Other programs that you run can read this file. If you lose your computer, remove the access of "rclone" in the security settings of your cloud provider. For Nextcloud, remove the device "DriveCraft" in Settings > Security > Devices & sessions. For iCloud Drive and MEGA, change your password.
Technical details
- DriveCraft controls rclone through the rclone API on
127.0.0.1only. Each start makes a new random password of 256 bits for this API. - Passwords go to rclone through this API, never on the command line. DriveCraft removes them from the rclone file after the sign-in, and also at the next start after a crash.
- Nextcloud is different: WebDAV has no session, so rclone needs a password for each request. DriveCraft keeps the app password of this device (not your Nextcloud password) in the rclone file, in the obscured form of rclone. Obscured is not encrypted: the same limit as the sign-in tokens applies.
- An SFTP account signs in with an SSH key of this computer. The private key is in the settings folder, with mode 600 and no passphrase: the same limit as the sign-in tokens applies. rclone keeps the host key of the server in the rclone file and refuses a different key.
- S3 storage is also different: rclone signs each request with the keys. DriveCraft keeps the access key and the secret key in the rclone file. rclone keeps the secret key in plain text, not obscured.
- The settings folder has mode 700.
rclone.confandrclone-session.jsonhave mode 600. At each start, DriveCraft sets mode 600 onrclone.confagain, if other users can read it. - DriveCraft has its own
rclone.conf. It does not read or change the accounts of your own rclone. - The build downloads one fixed rclone version from rclone.org and compares it with the SHA-256 list of that release. DriveCraft never uses a different rclone from your computer.
- The update check uses the GitHub API. It never downloads or installs code.
- The rclone log does not include debug data from the sign-in.
Questions and answers
Is DriveCraft an app for rclone?
Yes. DriveCraft is an easy app for the two-way sync of rclone, the same on macOS, Windows, and Linux. You do not use the command line, and you do not install rclone: DriveCraft includes it. DriveCraft does not write a new sync engine. rclone does the sign-in and the sync; DriveCraft adds the window, the tray icon, the folder selection, and the safety checks.
Why not use rclone bisync directly?
You can. DriveCraft uses the same rclone. It adds these parts:
- A sign-in for each provider, and a switch for each folder.
- Checks before each sync. For example, a missing local folder stops the sync, and a change of folders starts a full resync.
- Safe settings for bisync. A full resync keeps the newer version, and a file that changed on both sides keeps both versions.
- A tray icon, a sync at an interval, and a list of each file that a sync changed.
- More accounts, each in a folder of its own. DriveCraft uses its own rclone configuration, so it does not change your rclone accounts.
Is a two-way sync safe for my files?
A two-way sync also syncs deletes. When you delete a file on this computer, the next sync deletes it online too. DriveCraft has checks against the errors that cause large deletes (see How it works):
- A missing local folder stops the sync.
- A full resync never deletes files.
- Before DriveCraft removes the local copy of a folder that you switched off, it uploads the changes in that folder.
- DriveCraft refuses the folders of other cloud apps.
DriveCraft is a new project. Keep a backup of the files that you cannot lose. Most providers also keep deleted files in an online recycle bin for some days.
What happens when a file changes on this computer and online?
DriveCraft keeps both versions. The newer version keeps the name. The other version gets a copy with "conflict" in the name, for example report.conflict1.docx. MEGA works differently: see Providers.
Does DriveCraft have placeholder files, like Files On-Demand?
No. Each folder that syncs has real copies of the files. A folder that you switch off stays only online. Placeholder files are in phase 3 of the plan.
How fast does a change sync?
DriveCraft syncs each account every 10 minutes by default. To sync immediately, click Sync now. A sync when a local file changes is in phase 2 of the plan.
Can DriveCraft see my files or my password?
DriveCraft has no server. Your files go directly between your computer and your cloud. For most providers, you sign in in your browser, so DriveCraft never sees your password. For Nextcloud, DriveCraft gets an app password for this device, which you can revoke in Nextcloud. For iCloud Drive and MEGA, DriveCraft gives the password to rclone for the sign-in only, and then removes it. DriveCraft sends no telemetry. The only request that it makes for itself is the daily check for updates, and you can turn it off. For more, see Security.
Why is there no Google Drive?
See Google Drive.
What does DriveCraft cost?
Nothing. DriveCraft is open source, under the MIT or Apache 2.0 license. To support the work, use the sponsor links at the top of this page.
GenAI transparency
DriveCraft follows the same rules as Maho, the open source ecommerce platform of the same author (read the Maho GenAI transparency statement).
Generative AI is part of the daily work on DriveCraft. We do not hide it. It lets one person make and maintain an app for three operating systems and ten clouds. Our primary tool is Claude Code, with the Claude models of Anthropic. AI helps to write and refactor the code, to write tests, and to write the documentation.
A large amount of human work stays: to define the features and the safety rules, to design the app, to review the code, to test with real accounts, and to answer issues.
Automated checks control each change: cargo fmt, cargo clippy with all warnings as errors, and the tests on macOS, Windows, and Linux.
The rules that protect your files are in AGENTS.md, and each change must keep them. The maintainer reviews each change. We never release changes that only an AI made.
AI use in your pull requests is welcome. You do not have to declare it, but you must understand the code that you send and stand behind it.
Structure
crates/core The core. It controls rclone and contains all sync logic. It has no UI code.
crates/app The egui UI. It only sends commands to the core and shows events.
i18n/ The translations, one catalog for each language.
scripts/ Packaging scripts.
The core starts rclone rcd and uses the rclone remote control API:
- The API listens on 127.0.0.1 only.
- The API needs a random password. The password goes through environment variables.
- The sync uses
sync/bisyncwith a generated filter file.
Bundled rclone
DriveCraft includes rclone. You do not install rclone yourself.
DriveCraft never uses an rclone from the PATH. It always uses the bundled version, because that is the version that we test.
At build time, crates/app/build.rs does these steps:
- It reads the target platform from Cargo, for example
osx-arm64orwindows-amd64. A cross build gets the rclone for the target, not for the build computer. - It downloads the rclone release in
RCLONE_VERSIONfrom downloads.rclone.org. - It verifies the SHA-256 checksum against the
SHA256SUMSfile of the release. - It gives the path of the binary to the compiler as
DRIVECRAFT_BUILD_RCLONE.
At run time, DriveCraft looks for rclone in this order:
- Next to the DriveCraft binary. In the macOS app bundle, this is
Contents/MacOS. A release package puts rclone here. - The binary that the build downloaded.
cargo runuses this binary.
For an offline build, set DRIVECRAFT_RCLONE_BIN to a local rclone binary.
To update rclone, change RCLONE_VERSION in crates/app/build.rs.
DriveCraft uses its own rclone configuration file, rclone.conf in the settings folder. It does not see or change the accounts of your own rclone.
An earlier version of DriveCraft used the default rclone file. At the first start with the new file, DriveCraft copies its accounts from the default file. The default file does not change.
rclone uses the MIT license. Each release package includes the rclone license text (licenses/rclone.txt).
Build and run
You need Rust 1.95 or later.
- Run
cargo run -p drivecraft. - Click Sign in with Microsoft.
- Log in to Microsoft in the browser window that opens.
- Select the folders for this computer, then click Start sync.
To run the tests, use cargo test.
Release
GitHub Actions builds DriveCraft for each push to main (.github/workflows/build.yml):
| Platform | Package |
|---|---|
| macOS (Apple silicon, Intel) | DriveCraft.app in a zip file |
| Windows (x64, Arm) | a zip file with DriveCraft.exe and rclone.exe |
| Linux (x64, Arm) | a tar.gz file with drivecraft and rclone, and an AppImage |
The packages are in the artifacts of each workflow run.
To make a release, push a tag such as v0.1.0. The workflow then publishes a release with all packages, and updates the Homebrew cask.
The macOS app of a release has a Developer ID signature, and Apple notarizes it. The packages of a normal push have only an ad-hoc signature. On the first start, macOS refuses to open such an app. Open it from System Settings > Privacy & Security with Open Anyway. To get a signed package without a release, start the workflow by hand: Actions > Build > Run workflow.
To make a package on your computer, run scripts/package.sh <target> <name> <version>, for example:
scripts/package.sh aarch64-apple-darwin macos-arm64 0.1.0
Translate DriveCraft
The code keeps the English text. Each language has a catalog in i18n/<code>.tsv, for example i18n/it.tsv for Italian. The catalogs use the format of the Craft apps, and the craft-i18n crate of the Craft apps reads them.
Each line of a catalog has three columns, with a TAB between them: the context, the English text, and the translation. Most lines have no context.
Sync now Sincronizza ora
@plural {n} new folder in {name}|{n} new folders in {name} {n} nuova cartella in {name}|{n} nuove cartelle in {name}
To correct a translation, change its third column.
To add a language:
- Copy a catalog to
i18n/<code>.tsv. Use the language code in lowercase, for examplerofor Romanian orpt-brfor Brazilian Portuguese. - Change the line
@id language.nameto the name of the language in itself, for exampleRomână. - Translate the third column of each line. Do not change the first two columns.
- Keep each
{name}placeholder: DriveCraft puts a name, a folder, or a number there. Keep a…at the end when the English has one. - For a line with the context
@plural, write the plural forms of the language, with a|between them. Romanian, for example, has three forms: one, few, and other. - Keep the text short. Buttons and status labels have little space.
- Add one line for the catalog to
CATALOGSincrates/core/src/i18n.rs. - Run
cargo test -p drivecraft-core i18n. The test shows each line that is missing, that the code does not use, or that has a different placeholder. - Run
cargo test -p drivecraft screenshots_languages -- --ignored, and look at the pages of your language intarget/screenshots/languages.
License
DriveCraft is available under the MIT license or the Apache License 2.0, at your choice (LICENSE-MIT, LICENSE-APACHE).
ATTRIBUTION.md lists the parts that come from other projects, with their licenses.
Files
| File | Location on macOS |
|---|---|
| Settings | ~/Library/Application Support/drivecraft/settings.toml |
| Sync filter of each account | ~/Library/Application Support/drivecraft/filters-<id>.txt |
| rclone log | ~/Library/Application Support/drivecraft/rclone.log |
| File list of each account after its last sync | ~/Library/Application Support/drivecraft/snapshot-<id>.json |
| rclone session (port and password, mode 600) | ~/Library/Application Support/drivecraft/rclone-session.json |
| rclone accounts (mode 600) | ~/Library/Application Support/drivecraft/rclone.conf |
| SSH key of each SFTP account (mode 600) | ~/Library/Application Support/drivecraft/ssh-key-<id> |
| File lists of bisync | ~/Library/Application Support/drivecraft/rclone/bisync/ |
| Window size and position | ~/Library/Application Support/io.github.fballiano.drivecraft/ |
The settings folder has mode 700: only your user can open it.
On Windows, the settings are in %APPDATA%\drivecraft, and the file lists of bisync are in %LOCALAPPDATA%\drivecraft\rclone\bisync. On Linux, the settings are in ~/.config/drivecraft, and the file lists of bisync are in ~/.local/share/drivecraft/rclone/bisync. In a Flatpak, both folders are in ~/.var/app/io.github.fballiano.drivecraft. DriveCraft gives bisync this folder, so it does not share the cache folder of your own rclone. Older versions used the cache folder of rclone. At the first start, DriveCraft moves the file lists of its accounts from there, so no full resync is necessary.
<id> is the rclone remote of the account: onedrive, onedrive-2, and so on. Settings from a version with one account change to the new format at the first start. The files of that account get the new names, so no full resync is necessary.
Providers
For most providers, you sign in on their website, in your browser, so DriveCraft never sees your password. For OneDrive and kDrive, DriveCraft finds your drives after the sign-in. If your account has more than one drive, you choose the drive for this computer. For OneDrive, your own OneDrive is first. To sync one more drive, add the account again. Each provider has modification times and hashes, which the two-way sync needs.
iCloud Drive: you type your Apple ID and your password in DriveCraft, then the code that Apple shows on your devices. DriveCraft gives the password to rclone for the sign-in only, and then removes it. Apple ends the sign-in after 30 days or earlier. Then DriveCraft asks you to sign in again. DriveCraft replaces the iCloud app on Windows: uninstall it first. On macOS, turn off iCloud Drive in System Settings > Apple Account > iCloud, else the same files sync twice. With Advanced Data Protection, your iPhone asks one time for access to your iCloud data on the web: select "Allow". iCloud gives macOS packages (for example GarageBand and Logic projects) only as archives, so DriveCraft skips them and they stay in iCloud. rclone cannot read the storage use of iCloud, so DriveCraft asks Apple for it with the saved session.
MEGA: you type your email, your password, and the two-factor code if your account uses one. DriveCraft gives them to rclone for the sign-in only, and then removes them. rclone cannot set the modification time of a file on MEGA, so the two-way sync cannot find the newer version. For MEGA, this computer has priority:
- A full sync (the first sync, a change of folders, Full resync) keeps the copy on this computer when a file is different on the two sides.
- When a file changed on the two sides between two syncs, DriveCraft keeps both versions as conflict copies.
- DriveCraft finds new, deleted, and changed files on MEGA, but not a change that keeps the same file size.
- A free MEGA account can transfer only a limited amount in some hours. When the limit is used up, the sync stops with a message, and continues at a later sync.
Nextcloud: you type the address of your server, for example cloud.example.com. DriveCraft opens the login page of your server in your browser. Sign in there (with two-factor authentication or single sign-on, if your server uses them), and approve DriveCraft. Your server then gives DriveCraft an app password for this device. DriveCraft never sees your Nextcloud password.
- DriveCraft keeps the app password in the rclone file, because rclone needs it for each request. In Nextcloud, Settings > Security > Devices & sessions shows the device "DriveCraft". Remove it there to stop the access, for example after you sign out of the account in DriveCraft.
- When the app password stops working, DriveCraft asks you to sign in again. You must sign in with the same Nextcloud account: DriveCraft refuses a different user.
- The address must start with
https://. DriveCraft adds it when you type only the server name. - DriveCraft ignores the "remote wipe" of Nextcloud, and never deletes your local files because of it. After a remote wipe, sign out of the account in DriveCraft.
- DriveCraft syncs Nextcloud at the interval, like the other providers. It does not use the push notifications of Nextcloud (
notify_push).
SFTP server: you type the address of the server (add the port if it is not 22, for example sftp.example.com:2222), your user name, your password, and the folder to sync.
A Hetzner Storage Box is an SFTP server. Type its address (for example u123456.your-storagebox.de) and its user name. First, turn on "SSH support" and "External reachability" for the Storage Box in the Hetzner Console (Change settings). DriveCraft finds the Storage Box from the address, and uses port 23.
- DriveCraft makes an SSH key (ed25519) for this computer, and uses your password one time to add the public key to
.ssh/authorized_keyson the server. The other lines of that file do not change. Then DriveCraft deletes the password, and rclone signs in with the key. The server must accept a sign-in with a password and with a key. - The key is only for this computer. Its comment is
drivecraft@<name of this computer>. To stop the access of this computer, remove that line from.ssh/authorized_keyson the server. Then DriveCraft asks you to sign in again. - At the first connection, DriveCraft keeps the key of the server, and shows its fingerprint in Activity. When the server later shows a different key, DriveCraft does not connect. Somebody can be between your computer and the server: ask the administrator of the server. To accept a new key of the server, sign out of the account and add it again.
- When you sign out, DriveCraft removes its key from
.ssh/authorized_keyson the server (only the lines with that key), and deletes the key on this computer. If DriveCraft cannot connect to the server, it shows an error. Then remove the line that ends withdrivecraft@<name of this computer>from.ssh/authorized_keysyourself. - DriveCraft syncs one folder on the server, never your whole home folder. Type a folder in your home folder (for example
Documents/Work; the default isDriveCraft), or a full path that starts with/. If the folder does not exist, DriveCraft makes it at the sign-in. You cannot change the folder later: sign out and add the account again. The.sshfolder and the snapshot folder.zfsof a Storage Box never sync. - rclone sets the modification times on the server, so the newer version wins, as for the other providers. The storage use shows only if the server allows the
dfcommand. - On a Storage Box, DriveCraft does not compare hashes after each upload (Hetzner reports checksum errors at its limit of 10 connections), and uses fewer connections.
S3 storage: storage that works with the S3 protocol, for example Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, Hetzner Object Storage, or MinIO.
- You type the server address (for example
s3.eu-central-1.amazonaws.com), the region if your provider needs it, the bucket, and an access key (the access key ID and the secret access key). The account syncs the bucket, or a folder in it (bucket/folder). - The bucket must exist. DriveCraft does not make buckets. At the sign-in, DriveCraft reads the bucket, and tells you if the key, the bucket, or the region is not correct.
- S3 has no sign-in session, so rclone needs the keys for each sync. DriveCraft keeps them in the rclone file. Give DriveCraft a key that can access only this bucket, if your provider can do that.
- When the key stops working (deleted, turned off, or without access to the bucket), DriveCraft shows "The access key does not work" and asks you to sign in again. Then you type a new key. The server and the bucket stay the same.
- S3 has no real folders: a folder exists while it has files. The folder list shows only folders with files.
- S3 has no storage limit, so DriveCraft shows no storage use.
- The address must start with
https://. DriveCraft adds it when you type only the server name. Plainhttp://is accepted only for a server on this computer (localhost), for example a test MinIO server.
Google Drive
Google Drive is not available yet. rclone's shared Google sign-in stops working during 2026.
DriveCraft needs a Google sign-in of its own first. The code for Google Drive is ready (crates/core/src/providers.rs).
Plan
- Phase 1 (this version): one or more accounts of OneDrive, Dropbox, Box, pCloud, kDrive, HiDrive, Yandex Disk, iCloud Drive, MEGA, Nextcloud, SFTP, and S3; one local folder for each account with selective sync; sync at an interval.
- Phase 2: tray icon, immediate sync when a local file changes, notifications, a conflict window.
- Phase 3: integration with Finder and Explorer (status icons, placeholder files).
Star history
Ähnliche Projekte entdecken
Wird geladen…