Mega.nz to GDrive uploader

Overview

Mega.nz to GDrive uploader

With this telegram bot you can download files from mega.nz and upload those files or telegram uploaded files to GDrive. You can even upload telegram uploaded files to mega.nz. This TG bot is heroku based. Now before you continue i recommend you to read Prerequisites section.

Prerequisites:-

ℹ️ Important information.
  1. Create account on GitHub (if you haven't).
  2. Create account on mega.nz (if you haven't).
  3. Create account on Heroku (if you haven't).
  4. Create account on Telegram (if you haven't).
  5. Create account on Gmail (if you haven't for only this script).
  6. Go to my.telegram.org/auth, login and create app. Check how to create app on telegram. Now save api_id and api_hash which you got from my.telegram.org/auth.
  7. Create a telegram bot by using Bot Father. Check how to create bot in telegram. Bot Father will give you bot token save that token.
  8. Create Google Drive API key from your above created gmail account. Read this article's Getting Your API Key and Saving Your Credentials section for getting two file named client_secrets.json and mycreds.txt.
  9. Search @chatid_echo_bot in telegram (This bot is not mine. You can google how to get chat id in telegram.) and click start this will give you your telegram user_id.
  10. So now you have saved five things:-
    • api_id
    • api_hash
    • bot_token
    • client_secrets.json
    • mycreds.txt
    • telegram user_id

How to use?

Steps to use.

Step 1:

  • Just git clone this repository.

    git clone https://github.com/whitehatjrchintu/mega-to-gdrive-bot.git

    cd mega-to-gdrive-bot

  • Or download this repository as zip.

Step 2:

  • After cd or unzip upload client_secrets.json and mycreds.txt files, which we download in step 8 of Prerequisites, in that folder.

Step 3:

  • Now create repository (i will recommend to create private repository.) in your github account and upload all files and folders.

Step 4:

  • Copy your github repository's link and paste after ?template= in this link https://www.heroku.com/deploy/?template=. Like this:-

    https://www.heroku.com/deploy/?template=https://github.com/whitehatjrchintu/mega-to-gdrive-bot

Step 5:

  • Now enter App name in app_name and api_id, api_hash, bot_token, mega.nz email, mega.nz password and your telegram user_id which you saved in above steps, in respective asked field. Then click Deploy app.

Step 6:

  • Finally go to your bot, click start button, send #login command and this will login into mega.nz.

What this bot can do?

  • You can operate your mega.nz account with this bot.

  • You can download other mega.nz files to telegram. Just send https://mega.nz/the_other_file_url it will send that file to your telegram.

  • You can upload mega.nz uploaded files to GDrive. Just send https://mega.nz/the_other_file_url it will ask you.

    link

  • You can upload telegram uploaded files to mega.nz. Just forward the telegram upload file to the bot.

  • You can upload telegram uploaded files to GDrive. Just forward the telegram upload file to the bot.

    forward

  • You can import other mega.nz files to your account. Use #import https://mega.nz/the_other_file_url command.

  • You can list files that are uploaded on your mega.nz account. Just use #ls command.

  • You can remove any file from your mega.nz account. Just use #remove file_name command.

  • You can download your own mega.nz files. Just use #get file_name command.

  • You can use #other command for executing other mega.nz commands.

Todo:-

  • After download share mega.nz folder as a zip. Currently it download folder but can't zip the folder.

If you found any mistake or have any suggestion let me know i will correct/apply that.

Meant for educational purpose only. I am not responsible if mega or telegram block your account.

You might also like...
OpenSea Bulk Uploader And Trader 100000 NFTs (MAC WINDOWS ANDROID LINUX) Automatically and massively upload and sell your non-fungible tokens on OpenSea using Python Selenium
OpenSea Bulk Uploader And Trader 100000 NFTs (MAC WINDOWS ANDROID LINUX) Automatically and massively upload and sell your non-fungible tokens on OpenSea using Python Selenium

OpenSea Bulk Uploader And Trader 100000 NFTs (MAC WINDOWS ANDROID LINUX) Automatically and massively upload and sell your non-fungible tokens on OpenS

Wrapper around the Mega API

python-mega Overview Wrapper around the Mega API. Based on the work of Julien Marchand. Installation Install using pip, including any optional package

Simple Telegram Bot to Download and Upload Files From Mega.nz

Mega.nz-Bot Simple Telegram Bot to Download Files From Mega.nz and Upload It to Telegram Features All Mega.nz File Links supported No login required A

A Telegram Bot to Play Audio in Voice Chats With Youtube and Deezer support. Supports Live streaming from youtube Supports Mega Radio Fm Streamings

Bot To Stream Musics on PyTGcalls with Channel Support. A Telegram Bot to Play Audio in Voice Chats With Supports Live streaming from youtube and Mega

A Simple Telegram Bot By @AsmSafone to Download Files From Mega.nz and Upload It to Telegram

MegaDL-Bot A Simple Telegram Bot By @AsmSafone to Download Files From Mega.nz and Upload It to Telegram Features No Login Required All Mega.nz File Li

Modified Version of mega.py package for Pyrogram Bots

Pyro Mega.py Python library for the Mega.co.nz API, currently supporting: login uploading downloading deleting searching sharing renaming moving files

A telegram bot to download mega.nz links. (made with pyrogram).

Mega Link Downloader Bot This is a telegram bot to download mega.nz links and return them as files/videos - Made by a 100% noob! (When I mean noob I r

A Simple Telegram Bot that can Download Files From Mega.nz and Upload It to Telegram

MegaDL-Bot A Simple Telegram Bot By @mrkpbots to Download Files From Mega.nz and Upload It to Telegram Features No Login Required All Mega.nz File Lin

A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

URL-Uploader (Bot) A Bot Upload file|video To Telegram using given Links. Features: 👉 Only Auth Users (AUTH_USERS) Can Use The Bot 👉 Upload YTDL Sup

Comments
  • Little Confusion

    Little Confusion

    hi; first of all thanks a ton for this repo, its really helpful as i was looking for the one. But i have a little confusion here:

    My main concern is to copy/upload from (business) mega to my td so can i copy/upload huge files/folders without any limit (or as business limit)? and what will be the upload speed? will it be the same as heroku?

    question 
    opened by askfriends 4
  • MEGA TO DRIVE TRANSFER BOT

    MEGA TO DRIVE TRANSFER BOT

    LINK

    https://github.com/cheems/Mega-to-Google-Drive

    Hi brother, I'm writing to give you an idea..

    there is a way to transfer a drive directly without downloading the mega nz link..

    if you study the script I threw at you, it is possible

    all you have to do is adapt this script to the telegram bot and add premium account support..

    google drive to google drive clone looks like fire transfer is fast

    opened by mirrorclone 1
Owner
null
Uploader-Bot - A Modified Telegram Url Uploader Bot With Mongodb, Zee5, Sonyliv Support and Many Other Yt-dlp Sites

???????????????? ?????????????????? ?? APP_ID API_HASH TG_BOT_TOKEN DATABASE_URL

null 11 Sep 10, 2022
An automated, headless YouTube Uploader

An automated, headless YouTube Uploader Authors: Christian C., Moritz M., Luca S. Related Projects: YouTube Watcher, Twitch Compilation Creator, Neura

null 127 Dec 23, 2022
A simple url uploader bot with permenent thumbnail support

URL-Uploader A simple url uploader bot with permenent thumbnail support Scrapped some code from @SpEcHIDe's AnyDLBot Repository Please fork this repos

Fayas Noushad 40 Nov 29, 2021
A pdisk uploader bot written in Python

Pdisk Uploader Bot ?? Upload on Pdisk by Url, File and also by direct forward post from other channel... Features Post to Post Conversion Url Upload D

Paritosh Kumar 33 Oct 21, 2022
Pdisk Uploader Bot

pdisk-bot pdisk uploader telegram bot How To Use Configs TG_BOT_TOKEN - Get bot token from @BotFather API_ID - From my.telegram.org API_HASH - From my

lokaman chendekar 25 Oct 21, 2022
arweave-nft-uploader is a Python tool to improve the experience of uploading NFTs to the Arweave storage for use with the Metaplex Candy Machine.

arweave-nft-uploader arweave-nft-uploader is a Python tool to improve the experience of uploading NFTs to the Arweave storage for use with the Metaple

0xEnrico 84 Dec 26, 2022
Async ShareX uploader written in python

Async ShareX uploader written in python

Jacob 2 Jan 7, 2022
Powerful Url uploader bot With Mongodb support 🔥

Uploader X Bot Telegram RoBot to Upload Links. Features: ?? Upload YouTube-dl Supported Links to Telegram. ?? Upload HTTP/HTTPS as File/Video to Teleg

C͡linton Abraꫝam 250 Jan 6, 2023
Bulk NFT uploader to OpenSea!

Bulk NFT Uploader Description Simple easy peasy python script which logins to opensea account using metamask and bulk uploads NFT to your default coll

Lakshya Khera 25 May 23, 2022
TG-Url-Uploader-Bot - Telegram RoBot to Upload Links

MW-URL-Uploader Bot Telegram RoBot to Upload Links. Features: ?? Only Auth Users

Aadhi 3 Jun 27, 2022