1.0.1 • Published 4 years ago

upload-to-gdrive v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Fetch Torrents using .torrent file or Magnet Links, Fetch Files from Other Servers to Own Server and Upload to Google Drive.

Open URLs in Proxy to bypass Restrictions (works like VPN), Check Demo and Demo Site Status

Docker Cloud Automated build Docker Cloud Build Status Docker Pulls Docker Stars Docker Size Docker Version

GitHub repo size Build Status GitHub last commit npm.io GitHub

screenshot

Usage

Info: Heroku is not supported, Use AWS EC2 (1 Year Free), G Cloud (300$ for 1 Year Free), MS Azure (30 Days Free) for Bhadoo Cloud Installations.

Installation on AWS Cloud

  sudo apt-get update && sudo apt-get upgrade
  sudo apt-get install linux-image-extra-virtual
  sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common
  curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  sudo apt-key fingerprint 0EBFCD88
  sudo add-apt-repository \
     "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
     $(lsb_release -cs) \
     stable"
  sudo apt-get update
  sudo apt-get install docker-ce
  sudo docker run hello-world
  • You'll see a Line saying Hello World that means everything you've done worked till now
  sudo usermod -a -G docker $USER
  • Replace $USER with your username, it maybe be ubuntu by default.
  • Close Putty and Login again.
  • For Stable Installation (Recommended)
  docker run --name ct -d -p 80:3000 \
    --restart always \
    -e GOOGLE_CLIENT_ID='***' -e GOOGLE_CLIENT_SECRET='***' -e GOOGLE_REDIRECT_URL='***/oauthCallback' \
    parveenbhadoo/bhadoocloud:stable node server/server.js
  • For Latest Installation (Experimental, may not work)
  docker run --name ct -d -p 80:3000 \
    --restart always \
    -e GOOGLE_CLIENT_ID='***' -e GOOGLE_CLIENT_SECRET='***' -e GOOGLE_REDIRECT_URL='***/oauthCallback' \
    parveenbhadoo/bhadoocloud node server/server.js

Fill *** with appropriate values from Google Developer Console.

  • You can also Delete the Container using below if needed.
  sudo docker stop $(docker ps -a -q)
  sudo docker rm $(docker ps -a -q)
  • You can also remove pulled image to pull latest image again.
  sudo docker images -a
  
  sudo docker rmi Image Image2

Replace Image with Docker Image ID (Multiple Supported)

Get Google_Client_ID and Secret

  • Open Google Dev Credentails Site.
  • Create a Project, name as you like.
  • Enable Drive API
  • In Credentails Page Click Create Credentials and then Click OAuth Client ID.
  • Select Web Application.
  • In Authorized JavaScript origins enter your domain name or IP whichever you are using for Bhadoo Cloud.
  • In Authorized redirect URIs enter your domain name or IP with /oauthCallback at last.
  • Use http:// or https:// as available.
  • If you are using Cloudflare for website use https:// and Set Flexible HTTPS in Cloudflare.
  • Copy your details and use above.
  • GOOGLE_REDIRECT_URL is same as Authorized redirect URIs

Resources

Build from github.com/Mrigank11/embetacloud and github.com/jpillora/cloud-torrent

License GPLv3

Contributions are Welcome.

Donate for Public Server Maintenance

Supported By

BrowserStack

Supported by BrowserStack, which allows us to test projects online with any browser as a service. :-)

Document Last Updated on 08:38 am Friday, 25 October 2019 (IST).