Giter Club home page Giter Club logo

mega-account-generator's Introduction

mega-account-generator

mega-account-generator is a tool used to generate Mega accounts using Gmail and Megatools.

Requirements

How to Install

pip install -r requirements.txt

Configure Gmail API

To use Gmail API, you need to configure it in the Google Cloud console. Follow the steps below:

  1. Go to Set up your environment and follow all the instructions.
  2. Make sure to select User type as External in OAuth consent screen and grant all Gmail Scopes.
  3. Follow the instructions to complete the setup.
  4. Save the downloaded JSON file as credentials.json, and move the file to your working directory.

Scripts

  • generate-mega.py: Generates Mega accounts.
  • signin_accounts.py: Keeps Mega accounts alive (Thanks to f-o/MEGA-Account-Generator).
  • refresh-token.py: Generates token.pickle used for Gmail authentication.

How to Use

  1. Replace the MEGATOOLS variable in generate-mega.py with your Megatools path.
  2. Replace the MAIL variable in generate-mega.py with your gmail username.
  3. Run python refresh-token.py to generate token.pickle (Run only once and make sure to run on local machine rather than a server).
  4. Copy token.pickle to your working folder (Only needed if you plan to run the script on a server, otherwise ignore as it creates the file in the working directory itself).
  5. Run python generate-mega.py.

Demo

python generate-mega.py --help
usage: generate-mega.py [-h] [--n N]

Generate Mega Accounts

options:
  -h, --help  show this help message and exit
  --n N       The number of mega accounts to generate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.