Crossplatform Snapdrop Client with functional Tray Icon, ported with Electron.
Thanks to the electon-team for https://www.electronjs.org/!
Thanks to the Snapdrop-team for https://snapdrop.net/! (GitHub Repository)
Take a look at the releases.(Linux .deb and Win .exe)
If you want this app on MacOS you can eigth wait till I figured out how to build electronjs for it, or launch the sourcecode.
Clone this repository, npm install electron path mime-types electron-store
, move the '/images' folder one directory up (working on a fix) and then run npm start
.
Once you started the app (or ran npm start
on MacOS) you should see a Tray icon on the bottom right (or under ^
on Windows). When right-clicking on it, you should see a Menu constaining:
- Settings >
- Send Files >
- Send Text >
- Reload
- Quit All
'Quit All' and 'Reload' are pretty self explanatory.
The Submenus 'Send Text' and 'Send Files' should show your Snapdrop-name at the top and all other Snapdrop Devices at the bottom.
The 'Settings' Submenu contains:
- Launch on startup (launches snapdrop-tray on systemstartup/login using npm auto-launch if enabled)
- Start Notification (pushes a Notification on sucsessful startup if enabled)
- Quit Notification (pushes a waring Notification when the user closes the Snapdrop window if enabled)
- Using Window (if enabled you'll see a Snapdrop window, if disabled you'll see a Tray Icon with 'Send' submenus)
- Using Frame (if disabled, the Snapdrop window will not have a frame around it)
- Apply (applies the setting via reloading)
- When sending Text messages via the Tray Icon on Linux, the Inputbox has black corners. This is caused by electron not supporting transparent background on linux (yet).
- The Window isn't in the perfect positioning for everybody. This can be fixed by somehow getting the position of the Tray Icon (bottom right, top left, ...)
- sending links causes Snapdrop to open a Browserwindow in electron on click, which doesnt show up. Change this to "copy text" or open a real browser on click
- dynamic resizing of the textarea in TextInput.html
- automaticly download recived files into a selectable path
- feel free to suggest something ...