innright.blogg.se

Aria2 google drive
Aria2 google drive











aria2 google drive
  1. #Aria2 google drive archive
  2. #Aria2 google drive download

There is currently no limit for the number of concurrent uploads. Note that this does not affect the number of concurrent uploads.

#Aria2 google drive download

  • MAX_CONCURRENT_DOWNLOADS is the number of download jobs that can be active at the same time.
  • aria2 google drive

    Set this to whatever you want, and save the file with ctrl + x.

    aria2 google drive

    ARIA_RPC_SECRET is the secret (password) used to connect to aria2.This is the GDRIVE_PARENT_DIR_ID that you'll need in step 5 of the Installation section.Ĭp src/.constants.js.example src/.constants.js Copy the part after folders/ ( 012a_345bcdefghijk). The bot will upload files inside this folder. Not granting it will quickly fill the chat with useless messages from users. This permission is used to clean up status request messages from users. Pre-installationĬreate a new bot using Telegram's BotFather and copy your TOKEN.Īdd the bot to your groups and optionally, give it the permission to delete messages. constants.js to src/.constants.js, and re-read the installation section and the section on updating, as some steps have changed. If you are migrating from v1.0.0, move your existing. This will cause a list of available bot commands to pop up in chats when you type /, and you can long press one of them to select it instead of typing out the entire command.Īria-telegram-mirror-bot is now written in TypeScript. While creating a Telegram bot in the pre-installation section below, you might want to add the above commands to your new bot by using /setcommand in BotFather, make sure all the commands are in lower case. This is useful if you have multiple instances of this bot in the same group. See COMMANDS_USE_BOT_NAME under constants description. /getfolder : Send link of drive mirror folder.Īll commands except list can have the bot's username appended to them.In case of too many downloads, only show the most recent few. /list : Send links to downloads with the filename substring in the name./cancelAll: Cancel all mirroring tasks in all chats if a SUDO_USERS member uses it, or cancel all mirroring tasks for a particular chat if one of that chat's admins use it.Only the person who started the task, SUDO_USERS, and chat admins can use this command. To use this, send it as a reply to the message that started the download that you want to cancel. /cancelMirror: Cancel a particular mirroring task./mirrorStatus: Send a status message about all active and queued downloads.

    #Aria2 google drive archive

    /mirrorTar : Same as /mirror, but archive multiple files into a tar before uploading it.A status message will be shown and updated while downloading. can be HTTP(S), a BitTorrent magnet, or a HTTP(S) url to a BitTorrent. /mirror : Download from the given URL and upload it to Google Drive.Hence, make sure that only trusted groups are whitelisted in AUTHORIZED_CHATS. There is very little preventing users from using this to mirror pirated content. So, once deployed, it only works in whitelisted groups. This bot is meant to be used in small, closed groups. There are some features to try to reduce piracy. Parallel downloading and download queuing are supported. This can be useful for downloading from slow servers. This is a Telegram bot that uses aria2 to download files over BitTorrent / HTTP(S) and uploads them to your Google Drive.













    Aria2 google drive