Skip to content

Bhadoo Cloud : Directly Upload to Google Drive from Torrent or URLs

License

Notifications You must be signed in to change notification settings

soffex/Bhadoo-Cloud

 
 

Repository files navigation

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 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

  • Check Out the Video
  • Select an Ubuntu 18.xx Server Image
  • Use Putty to Login using SSH
  • Follow the below commands one by one.
  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)

Install on AWS Lightsail

  • This will install and deploy (GDrive won't work)
bash <(curl -s https://raw.githubusercontent.com/ParveenBhadooOfficial/Bhadoo-Cloud/master/aws-lightsail-install.sh)
  • This will install requirements only (edit next command with required details)
bash <(curl -s https://raw.githubusercontent.com/ParveenBhadooOfficial/Bhadoo-Cloud/master/aws-lightsail-install-advanced.sh)
  • Fill *** with required details first
sudo 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

Get Google_Client_ID and Secret

  • Open Google Dev Credentials Site.
  • Create a Project, name as you like.
  • Enable Drive API
  • In Credentials 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).

About

Bhadoo Cloud : Directly Upload to Google Drive from Torrent or URLs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.1%
  • Less 37.9%
  • TypeScript 2.7%
  • HTML 1.0%
  • Shell 0.2%
  • CSS 0.1%