* 'master' of github.com:xor-gate/syncthing-macosx: Update README.md
Syncthing for Mac OS X
Native systray application for Mac OS X 10.10 and higher.
- 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.