Giter Site home page Giter Site logo

saumyaavasthi / bhadoo-cloud Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.11 MB

Directly Upload to Google Drive from Torrent or URLs

Home Page: https://bhadoo-cloud.js.org

License: GNU General Public License v3.0

Dockerfile 0.02% TypeScript 2.74% HTML 0.97% JavaScript 58.11% CSS 0.08% Shell 0.17% Less 37.93%

bhadoo-cloud's Introduction

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

bhadoo-cloud's People

Contributors

fossabot avatar snyk-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.