Giter Club home page Giter Club logo

snapdrop's Introduction

Snapdrop

Snapdrop: local file sharing in your browser. Inspired by Apple's Airdrop.

Snapdrop is built with the following awesome technologies:

Have any questions? Read our FAQ.

You can host your own instance with Docker.

Support the Snapdrop Community

Snapdrop is free. Still, we have to pay for the server. If you want to contribute, please use PayPal:

or Bitcoin:

CoinThx

Bitcoin Lighting

Alternatively, you can become a Github Sponsor.

Thanks a lot for supporting free and open software!

snapdrop's People

Contributors

2br-2b avatar bellisario avatar blueberrybrownie avatar citrusui avatar deftdawg avatar dependabot[bot] avatar dewanhimanshu avatar fasih avatar haocen avatar hello-smile6 avatar jbyoshi avatar jyash97 avatar lexuge avatar lowewenzel avatar mahmoudaboelazm avatar montelale avatar mrigank11 avatar myfrom avatar pa7ryk avatar paulszymanski avatar quacksire avatar remy avatar robinlinus avatar sagnikdas53 avatar seongilp avatar sheco avatar sonicblis avatar sunwuyuan avatar willstott101 avatar yash-garg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snapdrop's Issues

Is this project dead?

I noticed it hasn't been updated in a while and even the site is down. Please update the README.

Sending big files

"When sending big file from chrome on Android to chrome on windows, chrome of Android crash.
And when send big file from Windows chrome to Android chrome, snapdrop don't download file."

Incompatibility with Chorme for Desktop and Mobile

When i press a button in chrome for android or desktop i get this error:

Uncaught TypeError: Failed to execute 'animate' on 'Element': 'function (a){return a}' is not a valid value for easing
at Object.b.newUnderlyingAnimationForKeyframeEffect (elements.html:10398)
at b.Animation._rebuildUnderlyingAnimation (elements.html:10397)
at b.Animation (elements.html:10397)
at b.AnimationTimeline._play (elements.html:10397)
at Object.b.newUnderlyingAnimationForGroup (elements.html:10398)
at b.Animation._rebuildUnderlyingAnimation (elements.html:10397)
at b.Animation (elements.html:10397)
at b.AnimationTimeline._play (elements.html:10397)
at b.AnimationTimeline.play (elements.html:10397)
at HTMLElement._runAnimationEffects (elements.html:10617)

in elements.html:3761

On Edge and Safari for iPhone everything working fine

iOS "open as" doesn't always work

Some files can be opened in iOS Safari browser, which will present with further options to open in other apps. For example, epub and pdf URLs in Safari will lead to an interface which allows the file to be opened in iBooks.
When sending these files to iOS from anywhere (pc or mac or another ios device), the snapdrop site presents the option to "download". This opens a new tab. But this new tab is now blank.

can't find module ensure-files.js

it's show me "Error: Cannot find module './tasks/ensure-files.js'" when i use gulp server.

module.js:472
throw err;
^

Error: Cannot find module './tasks/ensure-files.js'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)

so i don't know how to fix it.

how to change ports properly

Feature Request: Name your device

Other devices show up as "iOS Device", "Windows Firefox", etc. If you are on a larger wifi network (school or work) and not just your home network, this can use several identical devices to show up.

It would be better if you could name your own device, such as "Luke's iPhone" and "Ben's PC".

Please write instructions on how to quickly get started

There is index.js, but it expects /public folder which isn't in the project.

README doesn't say anything on how to run.

I suggest you make index.js run out of the box. If another projects are required, there is the way to link them up as submodules.

No Save dialog on Firefox OS 2.6

It say the file has been received but the download to save the file to the device storage is never triggered. The following error apears in the console:

screen shot 2016-07-11 at 19 59 29

EDIT: if I duplicate the anchor node and call the click() method in the console by my self the download starts. So I think it might be an issue with polymer intercepting the click() method.

Make drop target larger

Right now the blue circle you drop files onto and/or click/tap to select a file to upload is very small.

On desktops, you should really be able to drop a file anywhere on the page (white background) to upload, rather than forcing the user to drop only on the very small icon.

From a mobile device, likewise the button area should be larger to press; even if the logo stays the same size, a good portion of "background" should respond to tap events, making the app easier to use.

Firefox: error when you close the Snapdrop tab and re-opened

@russelweed

I have found one big error though; when I close the Snapdrop tab and re-opened it in Firefox, the site fails to load. Instead, it looks like its trying to dump a binary to my browser. Or perhaps text w/ the completely wrong encoding?

firefox_snapdrop

Shift+Refresh to clear the cache fixes things temporarily, but if I close the tab and open Snapdrop.net again I will get the error again. I cannot reproduce this error in Windows Chrome or iPhone/iPad.

Update: Closing the browser completely and starting a new session does not fix the error either. The whole thing fails so fast it's almost like it's trying to pull an offline copy from Local Storage, and that's corrupted somehow?

Here's a text copy of the gibberish, just in case it means anything to you:

������ks�6��� ���ḋd�N���Is����S��>d2��\��I��@Ѫ��~��hQ���Μg��}c_��A�2�n�������e��E��p�<���9�J� ��k�2z�m��אz9�L�� %=�)iA"��M�UÄa\2�f�:�fV1��4K�l)_01�(���VkfP 0Q��L�V"������Bd��J��d�ie �a%2�����AL-V�B�.!k����؀d�������#�6�[�B�M�k�J@�(mG�t"�e�ˋ܆ )��Ud2^A:�'!�����z j h����I�+� �[��q�bZa+����ߟ����_�L�jf�e"#Ǘ�����+����n���J�%��e�ڑ�����W��7�]s)���v���F�]���MS����GWx�����:~�� �Z j��"B�(� 9iD���K1�C�����v��=bįRo���-��S��J�j�2�J��%n��U����Y�\V�ȣ�1�̆QBx���3����mש��7�|dTimc�$�ل@,�&��0M�M�9� {Q'�_���7E���#AO"��ւ�?븽g��Z|��aa������Ѯw�,_��� �.���mx����6&�"�۾�L��x|�amv����[�E��LՍ2�s�)��S��$5�2� ������ ��:�?;v������]?�G�������x +�D��[_�i�����N��}�핁 +����1��-�A������ϖi������,�p�ܯ�Za�\a�S�-������Ef������y���%�M�vB檋��Z�__�a���'���!��&��t�����f2��'�&�M'�7g��.m��0O�H�Y�on����߆u8�� ���������� �L��B���������Z�2��OO_��H&cvA��L�������N=],����#/��'�4�B�s��]��2���/����A80�i�������VGT�U�_��'Ȭ?A���l����2{=�3yt�X?{!�ʯ�V���-��p�/���tN��|��ѵ���Q�����ёƆ�%�܊�_ZlTo%& !|ИX���S���a��]�Z��������o�?�w��ő�JԀ1�K���l�<<��<�Ѭ����f�L�C����q����f����1� ���RT���(�)�]v��&<= ï�P�X�����kaT�Z�� ��c��$.����s�b�s�98@j��JGT��p��L�c���tl�2���B��E �mښ��C�c�Ѫs���z�@^�����p���{�����:W����!ڎxX�%8�Q����QI������c��Đ�%A�m������6K���}f�s ���R!����N�[ḁ5+Óԛ �[lY:7 I 6� ��3Nl���^6��b5?o82�z� t(2�9������p�"�A~E��l�F�v ����hI v��h� ���V�����l,��sR�ٽo���d���g�5?��?������x�������\�V��[��p=�L&[���}��g%Z�Qc�У{ ��t���؀w��Jz�4 V��b��7L-�T��}���B��ߡ��0xu��V=�� �J�Έ ����F4Q�1�(��.�����^;��,��X�y�9��_#�!j$��UU�{��Qk�q�\9��jK��|@-y[�~��o�Ś���;y�?�LX�"���=;���@��� lp�FP���lRE���qA3q=$���ү �O4X���4�m�"d�zėc�2|�r|����!џ�|���� �J^�q00?.�1u�������O���s�϶-g�� &��� _.��� nZS�\��J����!��+����LB�ޣ�X��q8��'�_������� ���W�����Q?O����n�"yc :�A��T� �����r���������w>tx������ �(d��E��_I�����`L���c �d��6�Z�C4�q-���[K��y�����>���i4%����=�j����� �؇��0H]�fB�����璪}� @ @

DEAD PROJECT - please update ReadMe

I see that the Snapdrop.net site has now been down for about 90 days. Please update the ReadMe with either an update or a message about how the project is mothballed.

thanks

Maybe a "SCAN" button ?

A button for pressing to scan devices manually may bring user better experience.
Instead of justing waiting, don't know when it will be connected. :) (every time i wait too long)

Snapdrop is down again ?

When I go to the site I receive a "502 Bad Gateway" error. Anyone knows something about this ?

[question] Would current version work on pure IPV6 networks?

Hi,

As I understand the server, it defines a 'common network' as all clients behind the same IP.

It works because corporate and home network tend to be behind a NAT, originally for lack of public IPs available for every single machine.

IPV6 allow (and event encourage) the use of one public IP address per device.

Does the server app need to be changed to works with IPV6? The difficulty might be that there doesn't seems to be an accepted cut-off on what would constitute a common network with IPV6 (in term of address grouping).

Add QR code && make yg.gl address always visible

Simple suggestion: add a QR code to the webpage. This way, people can easily share the address without having to type anything. It can probably be at the top-left of the page (which is empty now). Tapping on it might expand it (similar to how the ⓘ button works), to make it easier to scan.

image

(created using https://zxing.appspot.com/generator/)

Also, after at least two devices are connected, the "yg.gl" short address disappears from the page. So, it is hard to remember and to tell people which address they should type. Thus, maybe "yg.gl" could be shown at the top of the page.

Thanks!

Duplicate devices and failed transfers

Firstly: Amazing project! I've had a need for file transfers and in the past have had to clobber code together to get this done (Later I built a full system, but nothing this cool). Very nice concept and design.

Unfortunately I'm having problems:

  • Every time I refresh the page it duplicates the device (I've gotten to where it shows one Android device and five or more "Ubuntu Chromium", despite only having one browser open, and SnapDrop open in only one tab)
  • A couple times I've succeeded in sending text, but usually it fails.
  • File transfers have never been successful. They always time out with "The other device did not respond. Please try again."

Any idea what might be causing these problems? VPNs/proxies turned off, and devices can obviously detect each other.

Bonus question: What is the significance of the letters in yg.gl? Do they stand for something, or is there any way to make it memorable?

devices not showing in local setup

Dear Team, I have compiled the snadrop code with dependencies in Ubuntu 14 and 16 both. But after starting the 'gulp serve' command and entering the localhost:5000 in a web browser in all devices which is in the same network, the devices are not showing in UI, so not able to start the transfer among these devices. Please help me with this or I am skipping any steps.

Uncaught TypeError: Failed to execute 'animate' on 'Element': 'function (a){return a}' is not a valid value for easing(…) Using Google Chrome Beta on windows returns this error.

It makes the app effectively unusable since I think it's a bug in the animation code. Works fine in IOS and firefox.

edit: Full error text

b.newUnderlyingAnimationForKeyframeEffect   @   elements.html:10396
_rebuildUnderlyingAnimation @   elements.html:10395
b.Animation @   elements.html:10395
_play   @   elements.html:10395
b.newUnderlyingAnimationForGroup    @   elements.html:10396
_rebuildUnderlyingAnimation @   elements.html:10395
b.Animation @   elements.html:10395
_play   @   elements.html:10395
play    @   elements.html:10395
_runAnimationEffects    @   elements.html:10615
playAnimation   @   elements.html:10640
_selectedChanged    @   elements.html:18302
_complexObserverEffect  @   elements.html:4196
_effectEffects  @   elements.html:4027
_propertySetter @   elements.html:4011
setter  @   elements.html:4090
select  @   elements.html:9885
_switch @   elements.html:19769
handler @   elements.html:3054
fire    @   elements.html:3901
fire    @   elements.html:3391
forward @   elements.html:3682
click   @   elements.html:3667
handleNative    @   elements.html:3281

Feature Request: Send text instead of files

In addition to sending binaries, it would be great if you could send arbitrary text to another device, such as simple text box to type or paste into.

Who will use the feature?
Anyone wishing to send text from their browser to their device (or vice versa)

When will they use the feature?

  • Sending a long URL between an iPad and a Windows desktop (no iCloud tab sharing)
  • Pasting large amounts of text (notes) between devices

What is the user’s goal?
There is a great app on iOS called "Clips" which uses iCloud to sync text snippets between your iDevices. Because it is 100% iCloud based, however, there's no way to send data to a Windows PC. Snapdrop could fill the hole here by providing said functionality.

Progress bar ?

Please use a progress bar to indicate how much time left, instead of flashing infinitely meaning nothing.

Files don't transfer between iPhone & computer

Texts send to any device, but files do not. Using iPhone with Chrome & laptop with Chrome, or iPhone to iPhone, file claims to download, but doesn't. On computers, after agreeing to the download, nothing happens. On the iPhone, after agreeing to the download I get the option to open the file (which I click), but it opens a blank website (about:blank). Is there a fix? No issues transferring computer to computer.

FYI

Hey,

Just an FYI you were featured on Product Hunt today, https://www.producthunt.com/tech/snapdrop you got on the homepage (currently number 2). If you have a twitter let me know it an I'll send you an invite so you can reply to any comments.

Thanks,

Aaran

no buddys on network found

i can not find any other devices in my network.
only when i open the the page in a second tab or with a different browser i can see me twice - no other computers.
on the bowsersync page are no connections listed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.