Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSuggestion fileSystem #311
Comments
This comment has been minimized.
This comment has been minimized.
|
I think the best way is seeding a file on server by itself. |
This comment has been minimized.
This comment has been minimized.
|
@EgyptionBoy Thanks for the suggestion. Right now, webtorrent uses an in-memory backing store in the browser. We should eventually store data on the filesystem so we can support downloading files larger than the user's memory, or 2GB which is the limit in Chrome. Until then, webtorrent in the browser is limited to the available memory on the user's machine. There's already an issue for this here: #86 Even once we have browser storage working, there's still no way to have users seed files when they've close all tabs running webtorrent. That's just a limitation of the web platform, as far as I understand. This may change with Service Workers and specs like this one: Task Scheduler. |
This comment has been minimized.
This comment has been minimized.
|
@EgyptionBoy I should also mention that I'm working on fixing bugs that cause webtorrent to use much more memory than necessary in the browser. There's an issue here where I'm debugging it: webtorrent/instant.io#3 |
This comment has been minimized.
This comment has been minimized.
|
@jaybekster You can seed files from a server using webtorrent-hybrid. Just run:
and then the files should be available to web peers. |
This comment has been minimized.
This comment has been minimized.
|
I'm going to close this issue since it's a duplicate of #86, but feel free to continue replying. |
Hi Feross ,
I tried your https://instant.io/
Your idea is amazing, but as you know if seeders close the browser you will not have any peers,
so while I was working before with html5 I read somthing about how to work with fileSystem ,
Is that help to save streamed files and read any time when peers online?
I used this tut to did it ,
http://www.noupe.com/design/html5-filesystem-api-create-files-store-locally-using-javascript-webkit.html