Giter VIP home page Giter VIP logo

gdrivetorrent's Introduction

Gdrive Torrent

Introduction

A Django Application that allows you to download torrents directly to your Google Drive. Useful for use when you are behind a firewall that does not allow torrents to be downloaded directly.

Requirements

Running the code on your local system

Easy install

bash -c "$(curl -sL https://raw.githubusercontent.com/nikssardana/gdriveTorrent/master/install.sh)"

Note: (Tested on ubuntu)

apt-get/yum packages are not installed automatically due to security concerns, the installer will inform you of any packages missing (if there are any), but here is a list of packages needed:

sudo apt-get install python-pip python-dev build-essential aria2 git wget -y && sudo pip install virtualenv

After setup is complete, you may start the server at any time (or have a job do it) by running:

install.sh start_server

Manual install

  • Right now, the code must be cloned in a specific directory to run it. (E.g: /home/nikhil/Programs/Django/gdriveTorrent)

    cd into the cloned folder.

  • Add executable permissions to downloaded.py file by typing:

    sudo chmod +x downloaded.py

  • Initialise the gdrive utility by typing:

    gdrive init

  • Open the url specified in gdrive and give appropriate permissions.

  • Then, copy the access token from your browser and paste it into the terminal.

  • Create database:

    Env/bin/python gdriveTorrent/manage.py migrate

  • Create a superuser:

    Env/bin/python gdriveTorrent/manage.py createsuperuser

  • Run the django development server:

    sudo Env/bin/python gdriveTorrent/manage.py runserver 0.0.0.0:8000

  • Open the url: localhost:8000 in your browser and login with the admin credentials you just created.

Note

This application is currently in development phase. There might be a lot of bugs.

Pull requests are welcome!

Also, I do not promote any illegal use of this application. Use wisely!

Please make changes in a separate branch and then make pull requests.

Features to be implemented

  • Improve documentation
  • Extend the application to allow multiple users. The application should ask for write access to gdrive. It should then download the files on their gdrive instead of the developer's gdrive.
  • One click deploy option, so that users can deploy the application on their own servers (heroku or any other server)
  • Currently, the status of all the commands are stored in separate files (output.txt, gDriveOutput.txt and done.txt). Store it in a database and show it in the webpage.

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.