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

How to seed all the files inside a folder using the desk app? is this possible? #1332

Closed
hz0324 opened this issue Mar 11, 2018 · 4 comments
Closed
Labels

Comments

@hz0324
Copy link

@hz0324 hz0324 commented Mar 11, 2018

I would like to seed all the files in side a particular folder, there maybe more than 1000 files.
I have tried to seed the folder, but it seed the folder as one.

Can I achieve this using the APP? Or do I have to do this programatically?

Thanks

@xwjonline

This comment has been minimized.

Copy link

@xwjonline xwjonline commented Apr 9, 2018

Sadly , I find WebTorrent Desktop can only add file one by one. T_T

@KayleePop

This comment has been minimized.

Copy link
Contributor

@KayleePop KayleePop commented Apr 26, 2018

You could use the cli of webtorrent-hybrid to do this easily

$ npx webtorrent-hybrid seed /path/to/folder/*

(need npm installed)

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 26, 2018

You can do this programmatically, or as @KayleePop says, you can do it using https://github.com/webtorrent/webtorrent-cli.

However, you should note that WebTorrent doesn't manage resources efficiently enough at the moment to handle seeding 1000s of files IMO. If you need to seed that many files, you might want to look into web seeds. http://www.bittorrent.org/beps/bep_0019.html

@feross feross closed this Apr 26, 2018
@feross feross added the question label Apr 26, 2018
@hz0324

This comment has been minimized.

Copy link
Author

@hz0324 hz0324 commented May 17, 2018

@feross
Hi, I have tried to use webseed in our project, but confused about how it works.
Could you please help us? This is the issue I just opened. #1393

@lock lock bot locked as resolved and limited conversation to collaborators Aug 15, 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
4 participants
You can’t perform that action at this time.