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.

fair-test is a library to build and deploy FAIR metrics tests APIs supporting the specifications used by the FAIRMetrics working group.

☑️ FAIR test fair-test is a library to build and deploy FAIR metrics tests APIs supporting the specifications used by the FAIRMetrics working group. I

Maastricht University IDS 6 Oct 30, 2022
Autofilterv5 With Same more Features

Autofilterv5 With Same more Features ✨ Imbd + Index +.....

Selfie SD 8 Oct 21, 2022
DankMemer-Farmer - Autofarm Self-Bot for Discord bot Named Dankmemer.

DankMemer-Farmer Autofarm Self-Bot for Discord bot Named Dankmemer. Warning We are not responsible if you got banned, since "self-bots" outside of the

Mole 16 Dec 14, 2022
Template to create a telegram bot in python

Template for Telegram Bot Template to create a telegram bot in python. How to Run First add src to PYTHONPATH: export PYTHONPATH=${PWD} Then run: pyt

Ali Hejazizo 12 Dec 24, 2022
Token-gate Notion pages

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

John 8 Oct 13, 2022
Mandatory join to channel using pyTelegramBotAPI

Running set your bot token to config.py set channel username to config.py set channel url to config.py $ python join.py Attention Bot must be administ

Abdulatif 6 Oct 08, 2022
Demo of using Telegram to send alert message

MIAI_Telegram Demo of using Telegram to send alert message Video link: https://youtu.be/oZ9CsIrlMgg #MìAI Fanpage: http://facebook.com/miaiblog Group

4 Jun 20, 2021
A Telegram Bot written in Python for mirroring files on the Internet to your Google Drive

No support is going to be provided of any kind, only maintaining this for vps user on request. This is a Telegram Bot written in Python for mirroring

Sunil Kumar 42 Oct 28, 2022
A better rename and convert bot with upload mode option and Auto detection

A better rename and convert bot with upload mode option and Auto detection

Code X Mania 2 Nov 09, 2021
Tools for use in DeFi. Impermanent Loss calculations, staking and farming strategies, coingecko and pancakeswap API queries, liquidity pools and more

DeFi open source tools Get Started Instalation General Tools Impermanent Loss, simple calculation Compare Buy & Hold with Staking and Farming Complete

Juan Pablo Pisano 467 Jan 08, 2023
NFT which pays royalties to its creator each time it is sold.

Chialisp NFT with Perpetual Creator Royalties This is a chialisp NFT in which the creator/minter defines a puzzle hash which will capture a fixed perc

Geoff Walmsley 20 Jun 28, 2022
Written in Python, freezed into stand-alone executable with PyInstaller. This app will make sure you stay in New World without getting kicked for inactivity.

New World - AFK Written in Python, freezed into stand-alone executable with PyInstaller. This app will make sure you stay in New World without getting

Rodney 5 Oct 31, 2021
The Encoder Bot For Python

The_Encoder_Bot Configuration Add values in environment variables or add them in config.env.example and rename file to config.env. Basics API_ID - Get

8 Jan 01, 2022
Public release of Telepathy, an OSINT toolkit for investigating Telegram groups. Enhanced features and improvements will be added over time.

Telepathy Welcome to Telepathy, an OSINT toolkit for scraping Telegram data to help investigate shady goings on. Currently, the tool is limited to scr

Jordan Wildon 484 Jan 01, 2023
Proxy-Bot - Python proxy bot for telegram

Proxy-Bot 🤖 Proxy bot between the main chat and a newcomer, allows all particip

Anton Shumakov 3 Apr 01, 2022
itadori webhook spammer fucker

itadori-webhook-spammer-fucker Installation # install the requirements $ python3 -m pip install -r requirements.txt $ python3 main.py Repl.it: https:/

6 Mar 05, 2022
Most Simple & Powefull web3 Trade Bot (WINDOWS LINUX) Suport BSC ETH

Most Simple & Powefull Trade Bot (WINDOWS LINUX) What Are Some Pros And Cons Of Owning A Sniper Bot? While having a sniper bot is typically an advanta

GUI BOT 6 Jan 30, 2022
IOGen - An Open source discord token generator

_____ ____ _____ |_ _/ __ \ / ____| | || | | | |

0xVichy#1234 85 Nov 03, 2022
基于nonebot2开发的群管机器人qbot,支持上传并运行python代码以及一些基础管理功能

nonebot2-Eleina 基于nonebot2开发的群管机器人qbot,支持上传并运行python代码以及一些基础管理功能 Readme 环境:python3.7.3+,go-cqhttp 安装及配置:参见(https://v2.nonebot.dev/guide/installation.h

1 Dec 06, 2022
Software com interface gráfica para criar postagens anônimas no Telegra.ph do Telegram e compartilhar onde quiser...

Software com interface gráfica para criar postagens anônimas no Telegra.ph do Telegram e compartilhar onde quiser...

Elizeu Barbosa Abreu 4 Feb 05, 2022