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

Seed file from Google Drive to webtorrent? #1460

Closed
wdfsinap opened this issue Aug 7, 2018 · 7 comments
Closed

Seed file from Google Drive to webtorrent? #1460

wdfsinap opened this issue Aug 7, 2018 · 7 comments
Labels

Comments

@wdfsinap
Copy link

@wdfsinap wdfsinap commented Aug 7, 2018

is it possible to seed file from Google Drive as Drive has unlimited storage as backup and good network? how about if mount the Drive on the VPS

@vaguiners

This comment has been minimized.

Copy link

@vaguiners vaguiners commented Aug 13, 2018

Jesus Christ, i come here just to ask the same thing. Are you me?

@vaguiners

This comment has been minimized.

Copy link

@vaguiners vaguiners commented Aug 13, 2018

A "direct" connection to google drive, with the public link, is something really niiice

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 13, 2018

If the content can be hotlinked, then it can be used as a webseed :)

@fredsif

This comment has been minimized.

Copy link

@fredsif fredsif commented Aug 13, 2018

I thought you had to create a torrent for the file to have it webseeded?
How can you do that with Google Drive?

@jimmywarting

This comment has been minimized.

Copy link
Contributor

@jimmywarting jimmywarting commented Aug 18, 2018

It would be cool if you could construct your own WebSeed with custom get mechanism.

Everything isn't as simple as a GET request with range header

Some require credentials, you might be dealing with streams coming from a socket (Google FireStore) or other storage that don't play nice with easy hot linking. Perhaps the file isn't as well mapped as a file hierarchy maybe the file is only accessible by a hash/id identifier, you could build something that uses ftp, afp, smb protocol.

Something like this

peer = new WebSeed({
  async get(pieceIndex, offset, length) {
    const blob_or_arraybufer = await getPiece(...args)
    return blob_or_arraybufer
  }
  destroy() {
  }
}, torrent)

you could then implement a WebSeed using any cloud storage API

Or to make any hybrid torrent client to a WebSeed (#1475, #325)

@datnv-ibl

This comment has been minimized.

Copy link

@datnv-ibl datnv-ibl commented Aug 20, 2018

Note that google drive have several limitations: request limit, download limit, quota limit and CORS

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 24, 2018

@fredsif you have to pre-create the torrent with the file. See https://hackernoon.com/how-to-create-a-swarm-cdn-for-free-with-webtorrent-bfa09d193f71

if Google Drive doesn't support CORS there's nothing we can do.

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