robinlinus / snapdrop Goto Github PK
View Code? Open in Web Editor NEWA Progressive Web App for local file sharing
Home Page: https://snapdrop.net
License: GNU General Public License v3.0
A Progressive Web App for local file sharing
Home Page: https://snapdrop.net
License: GNU General Public License v3.0
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?
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.
I found several places where port numbers 3002, 5000 and 5001 are assigned. There is also a debug message when doing npm start
which says something about port number 3001
for UI.
Which port numbers do I have to change in order to run Snapdrop properly?
[PSK] Access URLs:
---------------------------------------
Local: http://localhost:5000
External: http://185.26.156.19:5000
---------------------------------------
UI: http://localhost:3001
UI External: http://185.26.156.19:3001
---------------------------------------
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
Please use a progress bar to indicate how much time left, instead of flashing infinitely meaning nothing.
"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."
With a 502 Bad Gateway error.
Also in Android browser the dialog is unreadable blurry.
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
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
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
The sound gets played but no popup appears
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.
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.
using opera, windows 7, issue on date: 1/27/2017
To reduce server load, clients should disconnect when the browser tab is blured and reconnect on focus.
When you click 'open' you just get a white screen.
Probably some issue with blob urls?
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".
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.
Allow users to select multiple files and send them at once.
When I go to the site I receive a "502 Bad Gateway" error. Anyone knows something about this ?
Can u give me a list that i can translate it?
I noticed it hasn't been updated in a while and even the site is down. Please update the README.
At the moment the Sender is anonymous.
In a public network with untrusted participants, it could be abused.
Receiving Files from an anonymous is potentially dangerous.
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
Users should be able to transfer files across networks by invitation link.
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:
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?
I sent an image to my phone, but I can't open it
The same issue as #17
Also, I've tried an APK file, same problem
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.
(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!
I used android 5.0.1, I send Apk( android app package ) through snapdrop, and it doesn't work
I do not know what cause that issue.
(it works fine when i downloaded it on mobile)
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.
Might because the address is
https://github.com/capira12/snapdrop/blob/master/faq.md
When user is not authorize to that document it pops up the 404 page,
you may try on incognito mode
https://snapdrop.net/ doesn't respond at all, is it expected ?
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.
Can see myself on same device/PC but cannot see others on the local network
snapdrop.net seems to be down right now.
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).
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:
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.
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)
@russelweed
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��������w>tx������ �(d��E��_I�����`L���c �d��6�Z�C4�q-���[K��y�����>���i4%����=�j����� �؇��0H]�fB�����璪}� @ @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�����
I'm unable to send or receive via the latest official Chrome build from an iPhone on iOS 11.4 -- anyone else having this issue?
Allow users to send files to multiple devices at once.
Has anybody a compiled version of http://Snapdrop.net ?
Just wanted to fix the server, but can't compile it from the sources anymore...
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.
Hi! The website is down: https://snapdrop.net/
It's returning the following error:
502 Bad Gateway
nginx/1.4.6 (Ubuntu)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.