Syncthing for Mac OS X

stability-beta Gratipay Donate PayPal.Me Downloads Latest release Build Status license

Native systray application for Mac OS X 10.10 and higher.

screen shot 2016-07-15 at 12 33 10 screen shot 2016-07-15 at 12 34 07
  • Full integration with OSX
  • Retina ready icons (pdf)
  • Status tooltip
  • Ships syncthing binary
  • Automatic updates using Sparkle

Why

All cross-platform approaches are not able to use all the native facilities of Mac OS. Including auto-updates, vector icon set and packaging.

Build

Build with XCode or run:

xcodebuild

It will automaticly download syncthing amd64 binary and add it to the Application. The fancy DMG is also created automaticly.

Syncthing ApiKey

You need to configure your API key in the preferences dialog as the application only starts a syncthing instance and a system tray. You can fetch your current API key:

sed -n 's:.*<apikey>\(.*\)</apikey>.*:\1:p' $HOME/Library/Application\ Support/Syncthing/config.xml

You must restart the application to work (for now).

Configuration and defaults

Writing defaults is handled by OS X and can be set from the GUI or console.

defaults write com.github.xor-gate.syncthing-macosx <config> <value>

  • Executable : "/path/to/syncthing" (overwrite, will defaults use <Syncthing.app>/MacOS/Resources/syncthing/syncthing>)
  • ApiKey: ""
  • URI: "http://localhost:8384"

Example:

defaults write com.github.xor-gate.syncthing-macosx URI "http://localhost:8384"
defaults write com.github.xor-gate.syncthing-macosx ApiKey 1234

Contributions

Contributions are welcome as I'm not an expert in Objective C and Cocoa programming. Feel free to open a issue if you spot a bug or have a feature request.

License

MIT

Languages
Objective-C 65.7%
Go 10.3%
Swift 7.4%
Python 7%
Shell 6.3%
Other 3.3%