PairDrop: Local/remote file sharing in your browser/mobile. Inspired by AirDrop. Fork & alternative of Snapdrop
-
@Kubernetes How do app updates work in this scenario?
wrote on Jan 31, 2024, 6:04 AM last edited by@necrevistonnezr As with any custom app, they're manual.
-
@Kubernetes How do app updates work in this scenario?
App Devwrote on Jan 31, 2024, 6:39 AM last edited by Kubernetes Jan 31, 2024, 6:42 AM@necrevistonnezr Adding to what @robi said, the easy installer method is just a way to help others to try and test the custom app. You should not use a custom app like a official Cloudron App. You may have seen the "unstable" marked Apps in Cloudron App Store? A custom App is much more "unstable" than that.
However, thank you for asking this question as it shows that we should put a Note of this to the custom Apps README to avoid misunderstandings.
What about something like this as a Disclaimer?
Warning: Not Production Ready
Please note that this project is not intended for production use. It is only a project to make it possible to deploy this app on Cloudron. Deploying this app manually on Cloudron requires advanced knowledge of Linux, the Cloudron CLI, and Docker.
Using a precreated Docker Image from an external source for easy installation comes with risks. You need to trust the Image Provider if you choose this installation method.
Before proceeding with the installation, please ensure that you understand the potential risks involved and take appropriate precautions to protect your system and data.
By continuing with the installation, you acknowledge and accept full responsibility for any consequences that may arise from using this project.
-
The upstream repo has been blocked by github . Hopefully this is all temporary. https://github.com/fm-sys/snapdrop-android/issues/356 has more information.
-
Drumroll
Here we go, I was able to create a basic initial package which works already on my Cloudron.
Remarks:
- If I access the PairDrop on my Cloudron from 2 devices, they do not see each other until I create a room for sharing
- Sharing between two devices did work fine (in a extra room)
Not sure if TURN configuration is required?
You will find the current state in my Repo
wrote on Mar 18, 2024, 11:17 AM last edited by LoudLemur Mar 18, 2024, 11:24 AM@Kubernetes
It works! Really, you are brilliant and I absolutely love it when you make applications like this accessible to people like this. Thank you for your work on the easy-installer, which is really well named.Thanks also to @jdaviescoates for pointing me to this thread in so timely a fashion.
I might have found a bug. If you use this procedure to install the application, and then later change your mind about the location and try and run it on another sub-domain, it won't run. With Cloudron applications, that is usually very easy. I tried restarting and that didn't solve it.
For example, lets say you install here:
and later decide to change the location to:
that won't work.
-
@Kubernetes
It works! Really, you are brilliant and I absolutely love it when you make applications like this accessible to people like this. Thank you for your work on the easy-installer, which is really well named.Thanks also to @jdaviescoates for pointing me to this thread in so timely a fashion.
I might have found a bug. If you use this procedure to install the application, and then later change your mind about the location and try and run it on another sub-domain, it won't run. With Cloudron applications, that is usually very easy. I tried restarting and that didn't solve it.
For example, lets say you install here:
and later decide to change the location to:
that won't work.
@LoudLemur Thank you for the feedback. Interesting use case, I never tried to move the application afterwards to another location. I may try myself, but what happens when you do that?
-
@LoudLemur Thank you for the feedback. Interesting use case, I never tried to move the application afterwards to another location. I may try myself, but what happens when you do that?
wrote on Mar 18, 2024, 3:04 PM last edited by LoudLemur Mar 18, 2024, 3:07 PM@Kubernetes In my case, the application just didn't load. I waited a while. Maybe I should have waited even longer.
Also, it might or might not be a good idea to try installing it onto the Cloudron demo, and maybe even making that a standard procedure, though there may be strong arguments against this. Anyway, people might be able to use a demo instance to verify things are working.
I also think a short explainer video on how to use it could help.
-
@Kubernetes In my case, the application just didn't load. I waited a while. Maybe I should have waited even longer.
Also, it might or might not be a good idea to try installing it onto the Cloudron demo, and maybe even making that a standard procedure, though there may be strong arguments against this. Anyway, people might be able to use a demo instance to verify things are working.
I also think a short explainer video on how to use it could help.
@LoudLemur Changing the subdomain is not supported for easy-installer apps. I have already put a comment to the package template for future use.
-
wrote on Mar 18, 2024, 3:14 PM last edited by LoudLemur Mar 18, 2024, 3:21 PM
I tried using my remote instance. I didn't have success.
I connected to the instance using a regular browser, and that went OK and I was able to enter a public room. Then, from the same machine, but using TOR, I tried to visit the instance again. The TOR visit never saw the file being shared, and the TOR visitor never appeared on the pairshare radar.
If you try this using Brave Browser's weak TOR, there is no error message, however on TOR Browser, the following is received:
To use this PairDrop instance, WebRTC must be enabled!
I think a note about enabling WebRTC and how to toggle/untoggle that would be a good addition to the documentation.
https://myownconference.com/blog/en/webrtc/
One piece of documentation that would be handy is a short "How To" explaining how to verify pairdrop is going OK, before you start letting others use it.
-
wrote on Mar 18, 2024, 3:34 PM last edited by
@Kubernetes is amazing!
I got it going ok. I used a Brave browser nightly without any lockdowns or extensions that disable webRTC to e.g. prevent webRTC leaks.
I expect a ton of people are going to run into this webRTC issue and we should offer some guidance on how to make it work smoothly the first time.
Thank you very much, yet again, @kubernetes!
-
PairDrop
Local file sharing in your browser. Inspired by Apple's AirDrop.
Explore »Features
PairDrop (<-DEMO) is a sublime alternative to AirDrop that works on all platforms.
Send images, documents or text via peer to peer connection to devices in the same local network/Wi-Fi or to paired devices. As it is web based, it runs on all devices.
You want to quickly send a file from your phone to your laptop?
You want to share photos in original quality with friends that use a mixture of Android and iOS?
You want to share private files peer to peer between Linux systems?
AirDrop is unreliable again?
Send it with PairDrop!Developed based on Snapdrop
Differences to Snapdrop
Device Pairing / Internet Transfer
- Pair devices via 6-digit code or QR-Code
- Pair devices outside your local network or in complex network environment (public Wi-Fi, company network, Apple Private Relay, VPN etc.).
- Connect to devices on your mobile hotspot.
- Paired devices will always find each other via shared secrets even after reopening the browser or the Progressive Web App
- You will always discover devices on your local network. Paired devices are shown additionally.
- Paired devices outside your local network that are behind a NAT are connected automatically via the PairDrop TURN server.
Improved UI for sending/receiving files
- Files are transferred only after a request is accepted first. On transfer completion files are downloaded automatically if possible.
- Multiple files are downloaded as a ZIP file
- On iOS and Android, in addition to downloading, files can be shared or saved to the gallery via the Share menu.
- Multiple files are transferred at once with an overall progress indicator
Send Files or Text Directly From Share Menu, Context Menu or CLI
- Send files directly from context menu on Windows
- Send directly from share menu on iOS
- Send directly from share menu on Android
- Send directly via command-line interface
PairDrop is built with the following awesome technologies:
- Vanilla HTML5 / ES6 / CSS3 frontend
- WebRTC / WebSockets
- NodeJS backend
- Progressive Web App
- IndexedDB API
- zip.js
- cyrb53 super fast hash function
Have any questions? Read our FAQ.
You can host your own instance with Docker.
-
@robi thank you for this. The github and bug/feature links aren't working.
Also, where is the main site for documentation?@LoudLemur @girish posted that the Repo has been blocked by Github (for whatever reason)
-
wrote on Mar 18, 2024, 3:59 PM last edited by
I have a feature I would like: anonymity.
Mouse wants to share a cheese picture with Hamster, so he sets it up and waits for Hamster to arrive. Whilst doing so, Mouse also wants to share a picture of some milk with Cat. However, Mouse doesn't want Cat to bump into Hamster on the pairdrop. Mouse doesn't want to give Cat the cheese or Hamster the milk.
Can this be accomplished?
-
Repo is back https://github.com/schlagmichdoch/PairDrop/issues/284 . I think they wait for some clarity on how to proceed since GitHub is not responding.
-
Repo is back https://github.com/schlagmichdoch/PairDrop/issues/284 . I think they wait for some clarity on how to proceed since GitHub is not responding.
wrote on Mar 21, 2024, 8:43 AM last edited by@girish said in PairDrop: Local/remote file sharing in your browser/mobile. Inspired by AirDrop. Fork & alternative of Snapdrop:
Repo is back https://github.com/schlagmichdoch/PairDrop/issues/284 . I think they wait for some clarity on how to proceed since GitHub is not responding.
His github was flagged as spam. Flagging a github as spam is sometimes a vindictive ploy used by horrible people. It is a good reason to self-host.
-
wrote on Mar 26, 2024, 11:29 PM last edited by
I have been using @Kubernetes version, and it works very well. I think it is ready for the main Repo.
-
wrote on Mar 27, 2024, 2:41 PM last edited by
Could PairDrop be made to support a temporary allocation of storage on the server for specified users? This would enable us to use FileDrop without having to keep the browser/computer running.
-
Could PairDrop be made to support a temporary allocation of storage on the server for specified users? This would enable us to use FileDrop without having to keep the browser/computer running.
wrote on Mar 31, 2024, 1:42 AM last edited by@LoudLemur You can do that with VaulWarden, if you are running it - the function is called "send" very goop in my eyes and offers a TON of security features
-
@LoudLemur You can do that with VaulWarden, if you are running it - the function is called "send" very goop in my eyes and offers a TON of security features
wrote on Mar 31, 2024, 8:08 AM last edited by@RazielKanos said in PairDrop: Local/remote file sharing in your browser/mobile. Inspired by AirDrop. Fork & alternative of Snapdrop:
@LoudLemur You can do that with VaulWarden, if you are running it - the function is called "send" very goop in my eyes and offers a TON of security features
Yes, I love that feature - I use it all the time to transmit sensitive documents
-
-
-