Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 

syncthing-tray

Simple tray application for syncthing

Connects to syncthing at http://localhost:8384 or any other url by setting the command line parameter -target="http://localhost:8384".

A syncthing api key needs to be provided via -api STAPIKEY

Releases

Binary releases for Windows and Linux are available on the releases tab.

OSX binaries are not provided here but can be built from source and are included in syncthing-mac.

Building

The following packages on Ubuntu 14.04/16.04 are needed: libgtk-3-dev libappindicator3-dev. On other distributions other packages may be needed.

Version iformation is provided by adding -ldflags "-X main.VersionStr=$versionStr -X main.BuildUnixTime=$versionDate" when compiling. $versionStr is the version that should be printed, e.g. v0.7. $versionDate is a unix timestamp in seconds. Example:

go build -i -v -o ./linux64/syncthing-tray -ldflags "-X main.VersionStr=$versionStr -X main.BuildUnixTime=$versionDate" github.com/alex2108/syncthing-tray

Windows binaries can be cross compiled from Linux using mingw. Example:

CC=i686-w64-mingw32-gcc GOOS=windows GOARCH=386 CGO_ENABLED=1 go build -i -v -ldflags "-H=windowsgui -X main.VersionStr=$versionStr -X main.BuildUnixTime=$versionDate" -o ./windows32/syncthing-tray.exe github.com/alex2108/syncthing-tray

The option -H=windowsgui prevents a console window from being shown and can be removed to see the log for debugging.

About

trayicon to display status of syncthing

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •