Skip to content
ericcironePublic

About

Native macOS app that uploads a local folder to your server over SSH with rsync. Preview every change first. Never deletes anything on the server.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ArrrSync app icon

ArrrSync

ArrrSync is a macOS app for publishing local folders to a server over SSH with rsync. Use it to upload a static site, preview file changes before publishing, or keep a remote directory updated from the menu bar.

  • Preview uploads with an rsync dry run and approve the changes before sending files.
  • Upload manually, on local changes, or at a set interval.
  • Authenticate with your OpenSSH configuration, the 1Password SSH agent, or a custom agent socket.

Build from source

You’ll need macOS 15 or later, Xcode 16 or later with Swift 6, and rsync 3.x on both your Mac and the server. The server must be reachable over SSH and have rsync available to noninteractive SSH sessions. On your Mac, you can install rsync with brew install rsync.

git clone https://github.com/ericcirone/ArrrSync.git
cd ArrrSync
./script/build_and_run.sh

The script builds and opens the Debug app. You can also open ArrrSync.xcodeproj in Xcode and run the ArrrSync scheme.

Upload your first folder

  1. Select New Job, name the job, and choose a local folder.
  2. Enter a hostname or SSH alias and the absolute path to an existing writable server directory, such as /srv/example-website. Supply a username or port if your SSH configuration needs one.
  3. Choose your SSH agent, select Test Connection, and save the job once the connection is verified.
  4. Select Preview Changes, review the destination and planned changes, then select Upload. ArrrSync runs a fresh dry run before uploading and asks you to approve again if the plan changes.
  5. To automate future uploads, choose On local changes or Every N minutes in the job settings and turn on Enable automatic uploads. Closing the main window keeps ArrrSync running in the menu bar. Quitting stops it. To hide the Dock icon, turn on Show in menu bar only in Settings. ArrrSync then starts with only its menu bar icon. Choose Show Main Window there, or open ArrrSync again from Finder, to bring up the main window.

ArrrSync copies new and changed files. It can overwrite server-side edits, and it keeps files that exist only on the server. It skips special files. Symlinks are skipped by default. To include them, set Symlinks in the job editor to Upload as links, which recreates each link on the server pointing to the same target, or Follow links, which uploads the files and folders the links point to. The preview blocks an upload when a server path is a different kind of item, for example a symlink where a file would go. Use rsync exclude patterns such as .git/ to skip files or folders; lines starting with # are comments. New jobs start with recommended patterns that skip macOS and Windows metadata (.DS_Store, ._*, Thumbs.db and similar), unfinished downloads and lock files. Select Add Recommended in an existing job to add any that are missing. Excluded files already on the server are left in place.

To watch a preview or upload as it runs, select View Log next to the job's progress, or View Live Log in the menu bar. The log shows each step, the exact rsync command, every itemized change, rsync's progress every two seconds, its summary, and any warnings it prints. Select Copy to copy it. The log stays in memory until the next operation starts and is never written to disk.

SSH setup and troubleshooting

SSH configuration uses system OpenSSH and your SSH configuration. To use 1Password, enable its SSH agent and choose 1Password in the job editor. Custom socket accepts an absolute or home-relative path. 1Password SSH agent setup

  • Unknown host — Select Review Server Key after testing the connection. Compare the fingerprint ArrrSync shows with the one from your server operator or hosting provider, then select Trust and Test Again. ArrrSync keeps trusted keys in its own file (~/Library/Application Support/ArrrSync/known_hosts), so this works even if your SSH config sets UserKnownHostsFile /dev/null, and your ~/.ssh/known_hosts is left unchanged. You can also connect once in Terminal using the same alias, username and port. ArrrSync never offers to replace a changed key. Investigate any changed key with the operator.
  • macOS blocked access — If you denied a folder or the 1Password agent earlier, macOS won’t ask again. Select Open Privacy Settings and turn on ArrrSync under Full Disk Access. Apps can’t grant this access to themselves.
  • Authentication failed — Check the selected agent, unlock it, and approve the request. If a server limits offered keys, select the correct public identity in your SSH config. Interactive password fallback is disabled.
  • Directory changed or unavailable — Verify the mount, directory owner, physical path and permissions. Reselect a replaced local directory and explicitly test and save the reviewed destination. Read, traversal and write checks during validation cannot predict disk-full errors or per-file ACLs.
  • Partial, canceled or interrupted — Inspect Activity, correct the cause and preview again. Completed files can remain on the server. A transfer cancellation terminates the app-owned process group.
  • Corrupt library — Quit the app and preserve the damaged file. Inspect the previous snapshot in ~/Library/Application Support/ArrrSync/library.previous.json. Restore a verified copy as library.json after setting paused to true. Review jobs before resuming.

Development

Run the test suite with ./script/test.sh. See the verification report for the SSH loopback test, test results, and release checks. See ENGINE.md for transfer and scheduling behavior.

License

ArrrSync is available under the MIT License.

About

Native macOS app that uploads a local folder to your server over SSH with rsync. Preview every change first. Never deletes anything on the server.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages