szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
10.07k stars 735 forks source link

Feature Request: copy and paste? #137

Open mmj333 opened 2 years ago

mmj333 commented 2 years ago

Since this requires no software installation on either end (very awesome!), I think it would be a really useful feature if you could paste text from your clipboard (and maybe whatever else is on the clipboard? Even just text would be great) to the other person.

(I know if you're in the Apple ecosystem AND on the same iCloud account on all the devices then there's a good solution for this already. I know if you have an Android and Windows then you can set up a link... Sort of (seems buggy). But if you have an iPhone and a Windows computer, you're out of luck. And I'm sure there's some other device pairing scenarios that could benefit as well. The only other solutions I see involve downloading software on both ends and often involve creating web accounts. Feel free to correct me if I'm wrong.)

Perhaps there could be a little bubble above the other avatar's head that would expand a text field when it is tapped/clicked on and then you could paste your clipboard contents in to that.

And on the receiving end I suppose it would then show up in a similar way so you could copy it. Maybe tap a notification bubble on the page to review the text transfer and then click a button to add it to your own clipboard if you want. Or just agree to transfer clipboard contents without review if that's easier? Maybe it could make a stop as a text document on the device if the protocol can only handle file transfers.

I'm not familiar with the programing complexity of this. It "sounds" easy enough to tag along with what you're already doing. But it may very well be quite difficult. I hope you'll consider it. Thank you!

Thank you for this amazing service!

cuibonobo commented 1 year ago

This is a duplicate of #80