Live data from Hacker News

Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)

gun.io

1–10 of 28 posts

Re: Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)

#3

Not really P2P - I see that you're aware of this and working on it. Really cool stuff. Why can't I drag-> drop files in?

Both of those things are TODO.

Drag and Drop was working, but I broke it again (file input is handled differently in different browsers, which was a headache) and I just wanted to get some more eyes on it.

As for True P2P - give it a few months. Once WebRTC is here, this will be very very easy to turn into proper P2P.

Re: Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)

#5
I really like the concept. I often have files i want to share with peers, and they're often in weird places on my desktop, not to mention are often quite large, and i often dont want to have to manage sharing, or move them into my public folder on my Dropbox so a solution like this would be pretty good. That said, i quite like the server in the middle model, since it could probably be tweaked to host the chunks of data if my PC goes offline?

Re: Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)

#6

Not really P2P - I see that you're aware of this and working on it. Really cool stuff. Why can't I drag-> drop files in?

So is this not "true" P2P because a node.js server sits in the middle?

exactly

Re: Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)

#9
post #8

Do you know of a way to save the files without prompting? DOM localstorage is tiny. If there was a way to pull updates from your friends automatically and cache them, that would make the web browser a real powerful tool.

There is a 'FileStorage' API which I would like to use rather than the DOM, but only Chrome supports it for now, and I would like this experiment to remain cross-platform (there are enough 'chrome-only' experiments on the web already).

I have opened an issue about this here: https://github.com/Miserlou/DirtyShare/issues/3

Re: Show HN: DirtyShare, Pure JavaScript P2P File Sharing (in Node.js + Socket.io)

#10
post #9
post #8

Do you know of a way to save the files without prompting? DOM localstorage is tiny. If there was a way to pull updates from your friends automatically and cache them, that would make the web browser a real powerful tool.

There is a 'FileStorage' API which I would like to use rather than the DOM, but only Chrome supports it for now, and I would like this experiment to remain cross-platform (there are enough 'chrome-only' experiments on the web already). I have opened an issue about this here: https://github.com/Miserlou/DirtyShare/issues/3

Do you have a link to this API? Googling for "Chrome FileStorage" doesn't produce any relevant results.
Post reply on HN