maple3142 / GDIndex

A Google Drive Index built with Vue Running on CloudFlare Workers
https://gdindex-demo.maple3142.workers.dev/
MIT License
1.85k stars 1.13k forks source link

Can I do it on a vps ? #53

Open coxr15 opened 4 years ago

coxr15 commented 4 years ago

Cloudflare is giving me error for some reason . Maybe because my files are very big 20-30 gigs .

Can I host this index on a vps ?

maple3142 commented 4 years ago

Maybe, you could find a way to use node.js to emulate Cloudflare Workers's envorioment. But I won't recommend you to do that, because It will use a lot of traffic.

maple3142 commented 4 years ago

Do not advertise

blackjack4494 commented 4 years ago

There is a way to do this. However it is not working with GDIndex as of right now but with GoIndex (no advertisement). Reason is the xfetch. For some reason this line https://github.com/maple3142/GDIndex/blob/master/worker/xfetch.js#L111 with FormData is doing some trouble. That is why I try to rewrite it without xfetch step by step. Have done few parts already.

This is what you want https://github.com/StrangerSystems/cloudworker Alternatively https://github.com/gja/cloudflare-worker-local