Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo app: torrent.pizza #522

Closed
berpj opened this issue Dec 9, 2015 · 13 comments
Closed

Demo app: torrent.pizza #522

berpj opened this issue Dec 9, 2015 · 13 comments

Comments

@berpj
Copy link

@berpj berpj commented Dec 9, 2015

Hi,

I created https://torrent.pizza (code: https://github.com/berpj/torrent-pizza) using webtorrent. If you find it interesting, could it be added to the readme? :)

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 9, 2015

Interesting, streaming from server to client. (I hope you have unmetered bandwidth in your server)

May I ask why you didn't use WebTorrent's Sintel torrent hash to seed from your server too? 6a9759bffd5c0af65319979fb7832189f4f3c35d

How are you running your server (as I see it's in the webrtc network), if I may ask?

Do you know how to edit the README? If so, feel free to throw a PR :)

@berpj

This comment has been minimized.

Copy link
Author

@berpj berpj commented Dec 9, 2015

I can't remember why I did that, indeed it works: https://torrent.pizza/#6a9759bffd5c0af65319979fb7832189f4f3c35d 👍

It's currently hosted on AWS (EB). Not the cheapest solution, so if needed I'll migrate to an other hosting service.

Does it answer your last question?

I created a PR: #523

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 9, 2015

Ummm no. I mean, are you running the server with webtorrent-hybrid or how are you achieving that node connects to webrtc peers?

@rom1504

This comment has been minimized.

Copy link
Member

@rom1504 rom1504 commented Dec 9, 2015

@DiegoRBaquero it just doesn't (https://github.com/berpj/torrent-pizza/blob/master/server/package.json#L15), it just transmits the data by http to the browser

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 9, 2015

I'm scratching my head as to why it would work downloading from webrtc in a node app. Unless the server is ran inside something such as electron.

@rom1504

This comment has been minimized.

Copy link
Member

@rom1504 rom1504 commented Dec 9, 2015

why it would work downloading from webrtc in a node app

does it ?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 9, 2015

I don't really know, I just seeded 2 files from both networks and I'm not uploading form either to TorrentPizza's server :/

@berpj

This comment has been minimized.

Copy link
Author

@berpj berpj commented Dec 10, 2015

Yes, I'm not using webrtc here. rom1504 is right.

At the moment streaming to the server and sending to the clients by http seems to be the best / only solution for cross-browser compatibility.

What file were you seeding? Does it work with a regular torrent client?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 10, 2015

I was seeding a small mp4 video, from uTorrent and BTorrent (WebRTC client).

Maybe what failed was the discovery as we might not have been using the same trackers and DHT failed

@rom1504

This comment has been minimized.

Copy link
Member

@rom1504 rom1504 commented Dec 10, 2015

At the moment streaming to the server and sending to the clients by http seems to be the best / only solution for cross-browser compatibility.

The point of webtorrent is to avoid that though

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 10, 2015

@rom1504 My first thoughts exactly, although this is an interesting project. Similar to joker.org/bitport.io/(another one which I forgot the name) or peerflix -> web (@berpj you are using webtorrent, but it's for videos only)

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 23, 2015

I see you've closed it, so I'm gonna close this and the PR.

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.