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.

Estimate the total emissions for popular CryptoArt platforms.

cryptoart-footprint Estimate the total CO2 footprint for popular CryptoArt platforms. The goal is to accurately quantify the ecological damage of Ethe

Kyle McDonald 182 Oct 12, 2022
Python library to interact with a Z-Wave JS server.

zwave-js-server-python Python library for communicating with zwave-js-server. Goal for this library is to replicate the structure and the events of Z-

Home Assistant Libraries 54 Dec 18, 2022
SongFinder Bot helps you to find song name by recognising via voice note or instagram reels shared link.

SongFinder V1.1 SongFinder to detect songs name by just sending voice note or instagram reels links to your telegram bot. FFMPEG must be installed on

Abhishek Pathak 4 Dec 30, 2022
The best discord Nuk3r !

Discord - Nuker ☢️ Nuk3r ☢️ STEP 1 ✅ We go create discord bot ! [] Go on https://discord.com/developers/applications [] Set the name of your applica

2s.py 1 Apr 16, 2022
Discord music bot using discord.py, slash commands, and yt-dlp.

bop Discord music bot using discord.py, slash commands, and yt-dlp. Features Play music from YouTube videos and playlists Queue system with shuffle Sk

Hizkia Felix 3 Aug 11, 2022
WILSON Cloud Respwnder is a Web Interaction Logger Sending Out Notifications with the ability to serve custom content in order to appropriately respond to client-issued requests.

WILSON Cloud Respwnder What is this? WILSON Cloud Respwnder is a Web Interaction Logger Sending Out Notifications (WILSON) with the ability to serve c

48 Oct 31, 2022
This is a Python package to create a snowflake identifier similar to Discord's or Twitter's.

snowflake2 Based on falcondai and fenhl's Python snowflake tool, but with documentation and simliarities to Discord. Installation instructions Install

Learnloot 2 Mar 19, 2022
A Simple Telegram Maths Calculator Bot

Calculator-Bot-v1 A Simple Telegram Maths Calculator Bot Demo BOT LINK: Variables Variables Required Variables API_HASH: Get

ᗪᗩᖇK ✞Oᖇᗪ 1 Dec 18, 2021
WIOpy - Walmart Affiliate API Python wrapper

WalmartIO Python Wrapper - WIOpy A python wrapper for the Walmart io API. Only s

6 Nov 14, 2022
SongLink Discord Bot - Discord bot to share music links easily

SongLink_Discord_Bot Discord bot to share music links easily. Take a link from y

Edgar Lefevre 4 Feb 18, 2022
Posts locally saved videos to the desired subreddit

redditvideoposter posts locally saved videos to the desired subreddit ================================================================= STEPS: pip ins

Kyrus 2 Dec 01, 2021
Unlimited Filter Telegram Bot 2

Mother NAther Bot Features Auto Filter Manuel Filter IMDB Admin Commands Broadcast Index IMDB search Inline Search Random pics ids and User info Stats

LɪᴏɴKᴇᴛᴛʏUᴅ 1 Oct 30, 2021
This is telegram bot to generate string session for using user bots. You can see live bot in https://telegram.dog/string_session_Nsbot

TG String Session Generate Pyrogram String Session Using this bot. Demo Bot: Configs: API_HASH Get from Here. API_ID Get from Here. BOT_TOKEN Telegram

Anonymous 27 Oct 28, 2022
Bot playing "mathbattle" game from Telegram messenger

mathbattlebot Bot playing mathbattle game from Telegram messenger Installing: run in command line pip3 install -r requirements.txt Running: Example c

Egor 1 May 30, 2022
a Disqus alternative

Isso – a commenting server similar to Disqus Isso – Ich schrei sonst – is a lightweight commenting server written in Python and JavaScript. It aims to

Martin Zimmermann 4.7k Jan 02, 2023
Unofficial Python API client for Notion.so

notion-py Unofficial Python 3 client for Notion.so API v3. Object-oriented interface (mapping database tables to Python classes/attributes) Automatic

Jamie Alexandre 3.9k Jan 03, 2023
SQS + Lambda를 활용한 문자 메시지 및 이메일, Voice call 호출을 간단하게 구현하는 serverless 템플릿

AWS SQS With Lambda notification 서버 구축을 위한 Poc TODO serverless를 통해 sqs 관련 리소스(람다, sqs) 배포 가능한 템플릿 작성 및 배포 poc차원에서 간단한 rest api 호출을 통한 sqs fifo 큐에 메시지

김세환 4 Aug 08, 2021
A self hosted slack bot to conduct standups & generate reports.

StandupMonkey A self hosted slack bot to conduct standups & generate reports. Report Bug · Request Feature Installation Install already hosted bot (Us

Muhammad Haseeb 69 Jan 01, 2023
Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-reddit-bot

Ace Attorney twitter Bot Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-

Luis Mayo Valbuena 542 Dec 17, 2022
This repository is used to simplify the process of cloning the SSM documents across the AWS regions.

SSM Cloner Introduction This module is created in order to simplify the process of copying the SSM documents from one region to another regions. As an

6 Jun 04, 2022