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

Seeding files AND torrent #1583

Closed
mitra42 opened this issue Feb 22, 2019 · 11 comments
Closed

Seeding files AND torrent #1583

mitra42 opened this issue Feb 22, 2019 · 11 comments
Labels

Comments

@mitra42
Copy link

@mitra42 mitra42 commented Feb 22, 2019

I’m trying to find out how to use WebTorrent (or Bittorrent) to seed files downloaded by other means.
The logic would be that I’ve got a subset of the files, and a torrent file, in a directory, and I want to add them into WebTorrent or BitTorrent.

This will be running in somewhat bandwidth constrained situations, so in this case I have to avoid downloading the rest of the files in the Torrent.

I was assuming that I'd pass the torrent to WebTorrent along with a place to find the files references, bit looking at https://webtorrent.io/docs and the code, it seems that:

  • client.add() isn’t appropriate because this starts downloading the rest of the files
  • client.seed(folder) isn’t appropriate because it will recreate the torrentfile which I already have

Am I missing something ?

@stale

This comment has been minimized.

Copy link

@stale stale bot commented May 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 23, 2019
@mitra42

This comment has been minimized.

Copy link
Author

@mitra42 mitra42 commented May 26, 2019

This was solved by @jhiesey when he came over.

@jhiesey - did the changes you made make it into the default release ?

@stale stale bot removed the stale label May 26, 2019
@mitra42

This comment has been minimized.

Copy link
Author

@mitra42 mitra42 commented Jun 22, 2019

@jhiesey I'm still trying to figure this out ? Our dweb-mirror is currently running off your #rescan branch and not sure if I can switch back to the main branch yet?

@jhiesey

This comment has been minimized.

Copy link
Contributor

@jhiesey jhiesey commented Jun 22, 2019

Sorry, I never got this upstreamed. That's entirely my fault. I'll get that fixed this weekend!

@mitra42

This comment has been minimized.

Copy link
Author

@mitra42 mitra42 commented Jun 23, 2019

Thanks ... trying to tie up some loose ends before Dweb camp, and would love to be showing webtorrent p2p between clients with the master coming from an anaemic RPI :-)

@mitra42

This comment has been minimized.

Copy link
Author

@mitra42 mitra42 commented Jun 30, 2019

Any luck ?

@jhiesey

This comment has been minimized.

Copy link
Contributor

@jhiesey jhiesey commented Jun 30, 2019

PR is here: #1650 I could merge it myself but I'd like someone else to take a look. I'll bug @feross

@mitra42

This comment has been minimized.

Copy link
Author

@mitra42 mitra42 commented Jun 30, 2019

Thanks

@jhiesey

This comment has been minimized.

Copy link
Contributor

@jhiesey jhiesey commented Jul 9, 2019

Finally released in webtorrent 0.105.0

@mitra42

This comment has been minimized.

Copy link
Author

@mitra42 mitra42 commented Jul 9, 2019

Thanks - I'll switch to that release

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Oct 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Oct 7, 2019
@mitra42 mitra42 closed this Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

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