Giter Club home page Giter Club logo

gclone-discord-utilities-heroku's Introduction

Gclone Discord Utilities

This is for heroku build only !!! For self hosting on PC, see this


Features

  1. Clone - Clone a public/private google drive file/folder to your teamdrive.
  2. Mkdir - Make Directories directly from discord.
  3. Size - Calculate size of google drive files/folders from link.
  4. Move - Move files/folders from one location to other.
  5. sync - Sync source links to destination links.
  6. Delete - Delete folders/files.
  7. Name - Find name of google drive folders/files from link.

Prerequisites

  • Gclone - Run the shell / batch script if you are on Linux to install, or add the gclone.exe file to your system PATH variables if you are on Windows. Putting the script in the same directory as GClone in Windows will work as well. If you are on MacOS, download the Darwin build of GClone.
  • AutoRClone - (Service accounts folder) - GClone requires service accounts. To generate and manage them, use AutoRClone. You can then configure GClone using the service accounts.
  • Git - Install this program, and dont forget to add to PATH. Docs
  • Heroku CLI - Install the Heroku CLI and add to PATH. Docs

Deploy to Heroku

Deploying to heroku takes patience. But its a one time setup. Have patience. If you find any difficulties, follow the video tutorial.


Setup (Heroku):

  1. Download the zip of the repo and extract it to a suitable location.
  1. Add service accounts (100 json files) to the accounts folder.
  2. Update the .env file.
    1. Add discord bot token
    2. Add bot prefix
    3. Add your discord id to USERIDS
    4. Add your discord id to ADMINS
    5. Add the default destination id
  3. Go to Heroku dashboard.
  4. Create a new app and give it a suitable name.
  5. Go to its settings, then under the buildpacks section, click Add Buildpack and add the following buildpacks:
    1. heroku/python
    2. https://github.com/The-Antrax/heroku-buildpack-rclone-mod.git
  6. Run command prompt in the folder in step 1.
  7. Follow these commands:
    1. heroku login
    2. git init
    3. heroku git:remote -a "name" Here name is the name of your heroku project.
    4. git add . -f
    5. git commit -am "first commit"
    6. git push heroku master
  8. Go to Resources tab in heroku dashboard. Refresh it. Click on the โœ๏ธ icon, and toggle on the worker.

Video:

Incase you find any difficulties, follow this video tutorial

Enjoy using Gclone Discord Utilities Bot


Detailed Tutorial on Gclone and Service accounts setup

How to create Service Accounts and add them to your teamdrive and setup gclone.

Follow this tutorial


gclone-discord-utilities-heroku's People

Contributors

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