Giter Site home page Giter Site logo

maahi58 / gdrivetorrent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nikssardana/gdrivetorrent

0.0 1.0 0.0 12.17 MB

A Django app that allows you to download torrents to your Google Drive

Shell 0.12% Python 94.33% CSS 1.34% JavaScript 3.05% HTML 1.16%

gdrivetorrent's Introduction

Gdrive Torrent

Introduction

A Django application that allows you to download torrents directly to your Google Drive. It is 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 reasons, the installer will inform about the missing packages(if any). 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

  • Currently, 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 a 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: your ip address:8000 in your browser and login with the admin credentials you just created.

Notes

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

  • Pull requests are welcome!

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

gdrivetorrent's People

Contributors

nikssardana avatar circa10a avatar gmanchanda31 avatar dipalibisla avatar pareksha avatar nb2998 avatar coderaavan avatar hellotunmbi avatar baumannzone avatar captainswain avatar ziyaddin avatar shikhar1verma avatar

Watchers

James Cloos 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.