Live data from Hacker News

Show HN: Pure JavaScript P2P file sharing in the browser

whatareyoudownloading.com

41–50 of 72 posts

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#41

False and misleading title. _serverless_ file sharing says title, yet the technology "requires a HTTP server". "Its completely anonymous as no data is ever stored on the server". Incorrect, only mild protection against sniffing and spoofing is provided. The underlying code documentations speaks of "This makes it perfect for anonymity": https://github.com/ShirsenduK/WhatAreYouDownloading/tree/mas... No PKI is linked o…

Sorry for the misleading title. By serverless I meant direct browser to browser file transfer with no server in between. Files are transferred directly. We need the HTTP Server to host the static webpage which facilitates the bridge. After all, its a browser based solution you need a page to visit. :). Services file dropbox can be used to host the static files and everyone can setup their own file transfer service. With services like WebDHT coming up each of these shares can communicate.

Just read about Tribler, it sounds really interesting. All the best with it.

This, Tribler and countless other solutions will make the internet what it was meant to be, a decentralized, fault-tolorent network for information exchange. Thanks!

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#42

Earlier quoted context omitted.

This currently works only on the latest browsers; like Chrome 24 on the desktop. Its still not 100% stable. Stability and support for other platforms will soon arrive through browsers updates and polyfills.

I am using Chrome 24 on the desktop. Not working.

Refreshing should make it work. There is a lot of JavaScript which takes time to load up.

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#43

False and misleading title. _serverless_ file sharing says title, yet the technology "requires a HTTP server". "Its completely anonymous as no data is ever stored on the server". Incorrect, only mild protection against sniffing and spoofing is provided. The underlying code documentations speaks of "This makes it perfect for anonymity": https://github.com/ShirsenduK/WhatAreYouDownloading/tree/mas... No PKI is linked o…

Sorry for the misleading title. By serverless I meant direct browser to browser file transfer with no server in between. Files are transferred directly. We need the HTTP Server to host the static webpage which facilitates the bridge. After all, its a browser based solution you need a page to visit. :). Services file dropbox can be used to host the static files and everyone can setup their own file transfer service. W…

Indeed interesting demo of browser-to-browser downloading, very light. Anybody can start a Napster-style service: it only needs a webserver+JavaScript (or trust a tamper-free copy). WebDHT is fascinating, is it leeching of a KAD overlay or can they also fully serve all incoming requests? (due to listen socket limit)

WebRTC defines a FTP-like 1-to-1 transfer. Would Bittorrent-like swarming be possible in WebP2P?

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#44

Earlier quoted context omitted.

> The tech is yours to be used. Well, the tech is for every website to be used, as a visitor to the site that may or may not benefit me. I think that was the reason for the same-origin policy and is, probably the source of concern of the OP. Personally, I use NoScript and RequestPolicy to deal with it. After all, just because JavaScript exists does not mean I want any random website to execute arbitrary code on my ma…

The user decides what he intends to share. His files, his webcam, his printers, etc.

Experience has shown that many users just grant such access when prompted, without thinking about it.

Prompts like that also do absolutely nothing to stop malicious use, hidden under a facade of legitimacy. For example, somebody could put together a demo purportedly showing "serverless pure JavaScript P2P file sharing in the browser" solely to trick people into using something harmful. (I'm not saying that's necessarily going on here, of course.)

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#45

False and misleading title. _serverless_ file sharing says title, yet the technology "requires a HTTP server". "Its completely anonymous as no data is ever stored on the server". Incorrect, only mild protection against sniffing and spoofing is provided. The underlying code documentations speaks of "This makes it perfect for anonymity": https://github.com/ShirsenduK/WhatAreYouDownloading/tree/mas... No PKI is linked o…

Strictly speaking, PPSP is a swarm transport protocol ("give me that data over IP, UDP or what have you, use any source available"). I mean, "sharing" is a concept unrelated to the TCP/IP stack thus PPSP is not a sharing standard.

For example, it is easy to imagine HTTP over PPSP (instead of TCP) -- which is essentially a serverless Web.

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#46

I'd like to see this technology used to build a decentralized, uncensorable alternative to twitter or reddit. That would have a far greater impact than yet another file-sharing system. The architecture would basically be a flooding P2P network with measures against spamming (machine learning?).

There's the Freenet Messaging System: http://blog.locut.us/2008/05/11/fms-spam-proof-anonymous-mes...

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#47

Earlier quoted context omitted.

Sorry for the misleading title. By serverless I meant direct browser to browser file transfer with no server in between. Files are transferred directly. We need the HTTP Server to host the static webpage which facilitates the bridge. After all, its a browser based solution you need a page to visit. :). Services file dropbox can be used to host the static files and everyone can setup their own file transfer service. W…

Indeed interesting demo of browser-to-browser downloading, very light. Anybody can start a Napster-style service: it only needs a webserver+JavaScript (or trust a tamper-free copy). WebDHT is fascinating, is it leeching of a KAD overlay or can they also fully serve all incoming requests? (due to listen socket limit) WebRTC defines a FTP-like 1-to-1 transfer. Would Bittorrent-like swarming be possible in WebP2P?

Thats something clients will have to implement. Thats is, the JavaScript needs to split files into chunks and download from peers.

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#48
post #45

False and misleading title. _serverless_ file sharing says title, yet the technology "requires a HTTP server". "Its completely anonymous as no data is ever stored on the server". Incorrect, only mild protection against sniffing and spoofing is provided. The underlying code documentations speaks of "This makes it perfect for anonymity": https://github.com/ShirsenduK/WhatAreYouDownloading/tree/mas... No PKI is linked o…

Strictly speaking, PPSP is a swarm transport protocol ("give me that data over IP, UDP or what have you, use any source available"). I mean, "sharing" is a concept unrelated to the TCP/IP stack thus PPSP is not a sharing standard. For example, it is easy to imagine HTTP over PPSP (instead of TCP) -- which is essentially a serverless Web.

Serverless web... "use any source available".. Wow, feel free to share the code of that with us. Would be quite powerful and draw HN interest IMHO.

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#49
post #45

Earlier quoted context omitted.

Strictly speaking, PPSP is a swarm transport protocol ("give me that data over IP, UDP or what have you, use any source available"). I mean, "sharing" is a concept unrelated to the TCP/IP stack thus PPSP is not a sharing standard. For example, it is easy to imagine HTTP over PPSP (instead of TCP) -- which is essentially a serverless Web.

Serverless web... "use any source available".. Wow, feel free to share the code of that with us. Would be quite powerful and draw HN interest IMHO.

By "any source available" I meant Sec 3.10. "Peer Address Exchange". HTTP over PPSP is a weekend project as long as we mean good old static HTML Web. By the way, what is the current public repo for TUD PPSP?

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#50
Why is everyone thinking about torrenting in browsers? I want a service where I can select a sensitive file, give my associate a link, and have that file transferred between our two computers without ever reaching an intermediate server.

Does anyone know of a service like that, easy enough for my father to use?

Post reply on HN