Bhadoo Cloud

by Vijay63

GitHub Readme.md

🌥 BhadooCloud

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)

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

GitHub repo size GitHub last commit

Repo at Cloudd

screenshot

Usage

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

  • 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.
  docker run --name ct -d -p 80:80 --restart always -e GOOGLE_CLIENT_ID='***' -e GOOGLE_CLIENT_SECRET='***' -e GOOGLE_REDIRECT_URL='***' parveenbhadoo/bhadoocloud node server/server.js --port 80

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

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

Replace Image with Docker Image ID

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

DEPLOY TO HEROKU

Deploy

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

License MIT

Contributions are Welcome.

Supported By

BrowserStack

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

Thanks PraveenBhadooofficial