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.

Fetching tweets and integrating it with Kafka and PySpark

KafkaPySpark Zookeeper bin/zookeeper-server-start.sh config/zookeeper.properties Kafka Server bin/kafka-server-start.sh config/server.properties Kafka

Priyansh 2 Dec 29, 2021
Yandex OSINT tool

YaSeeker Description YaSeeker - an OSINT tool to get info about any Yandex account using email or login. It can find: Fullname Photo Gender Yandex UID

HowToFind 110 Jan 03, 2023
IACR Events Scraper

IACR Events Scraper This scrapes https://iacr.org/events/ and exports it as a calendar file. I host a version of this for myself under https://arrrr.c

Karolin Varner 6 May 28, 2022
vk Bot because of which everyone will lag

VK-crash-bot open cmd and write: "pip install vk-api" To configure the bot, you need to open main.py and set the value to such variables as "token" an

NotQuki 0 Jun 05, 2022
A userbot made for telegram

𝚃𝙷𝙴 𝙼𝙰𝙵𝙸𝙰𝙱𝙾𝚃 This is a userbot made for telegram. I made this userbot with help of all other userbots available in telegram. All credits go

MafiaBotOP 8 Apr 08, 2022
Protection-UB - Simple Group Protection userbot running on python3 with ARQ

Protection-UB Simple Group Protection userbot running on python3 with ARQ ⚠️ Not

szsupunma 1 Feb 06, 2022
A Tᴇʟᴇɢʀᴀᴍ Vɪᴅᴇᴏ Pʟᴀʏᴇʀ Bᴏᴛ Tᴏ Pʟᴀʏ YT Vɪᴅᴇᴏs & Lɪᴠᴇ Sᴛʀᴇᴀᴍ.

Tuktuky_Music Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram medi

TᑌKTᑌKY ᖇᗩᕼᗰᗩᑎ 3 Sep 14, 2021
Hassium Server Manager For Python

Hassium Server Manager This is meant to be a tool for mostly internal use. I decided that I would make it open souce in case anyone wanted to use it.

0 Nov 24, 2022
Azure Neural Speech Service TTS

Written in Python using the Azure Speech SDK. App.py provides an easy way to create an Text-To-Speech request to Azure Speech and download the wav file.

Rodney 1 Oct 11, 2021
A casino discord bot written in Python

Casino Bot Casino bot is a gambling discord bot I made for my friends. It is able to play blackjack, slots, flip a coin, and roll dice. It stores ever

Connor Swislow 27 Dec 30, 2022
A comand-line utility for taking automated screenshots of websites

shot-scraper A comand-line utility for taking automated screenshots of websites For background on this project see shot-scraper: automated screenshots

Simon Willison 837 Jan 07, 2023
Protect Discord server invite link

DiscordOauth2Join Protect discord server invite links! Setup I will not help setting up the discord application, but just python. First, install the r

ZEEE 4 Aug 12, 2021
A media upload to telegraph module

A media upload to telegraph module

Fayas Noushad 5 Dec 01, 2021
Discord bot for the IOTA Wiki

IOTA Wiki Bot Discord bot for the IOTA Wiki Report Bug · Request Feature About The Project This is a Discord bot for the IOTA Wiki. It's currently use

IOTA Community 2 Nov 14, 2021
PlexAutoSkip - Automatically skip content in Plex

PlexAutoSkip Automatically skip tagged content in Plex A background python scrip

Michael Higgins 97 Dec 21, 2022
Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram.

✨ SpamProtectionRobot ✨ Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram. Requirements Python = 3.7 Install Locally Or On A VPS $ git clon

Akshay Rajput 46 Dec 13, 2022
An Open Source ALL-In-One Telegram RoBot, that can do lot of things.

An Open Source ALL-In-One Telegram RoBot, that can do lot of things.

JOBIN 0 Dec 01, 2021
With this program you can work English & Turkish

1 - How Can I Work This? You must have Python compilers in order to run this program. First of all, download the compiler in the link. Compiler 2 - Do

Mustafa Bahadır Doğrusöz 3 Aug 07, 2021
🛒 Bot de lista de compras compartilhada para o Telegram

Lista de Compras Lista de compras de Cuducos e Flávia. Comandos do bot Comando Descrição /add item Adiciona item à lista de compras /remove item

Eduardo Cuducos 4 Jan 15, 2022
Ghost-toolbox - Ghost's official Discord raid tool

Ghost Toolbox Ghost's official Discord raid tool. How to use Clone this repo int

G H Ø S T 10 Oct 31, 2022