百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MEGA-Account-Generator

> 编程语言
开源

MEGA.nz 帐户生成器由 Python 编写。它使用 Mail.tm 临时电子邮件来生成帐户,并自动验证它们。还可用于保持帐户的有效性。

198 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

MEGA.nz 帐户生成器由 Python 编写。它使用 Mail.tm 临时电子邮件来生成帐户,并自动验证它们。还可用于保持帐户的有效性。

MEGA.nz Account Creator

An Open Source demonstration of creating / managing multiple MEGA.nz accounts.

Key Features • How To Use • Acknowledgements • Support • License

Key Features

  • Generate new MEGA.nz accounts in bulk
  • Automatically verify emails
  • Fetch information about available storage
  • Keep accounts alive by logging in periodically

How To Use

Prerequisites:

  • megatools installed and added to your PATH
  • Python 3.6+

Installation:

bash
# Clone this repository
$ git clone https://github.com/f-o/MEGA-Account-Generator.git
# Go into the repository
$ cd MEGA-Account-Generator
# Install dependencies
$ pip install -r requirements.txt

Usage:

bash
# Create new accounts
$ python generate_accounts.py
# Sign in to accounts to keep them alive
$ python signin_accounts.py

Click here for Advanced Usage

bash
# Create new accounts with arguments
$ python generate_accounts.py [-h] [-n NUMBER_OF_ACCOUNTS] [-t NUMBER_OF_THREADS] [-p PASSWORD]
# Sign in to accounts to keep them alive
$ python signin_accounts.py
# Convert old CSV file to new format
$ python convert_csv.py [-h] [-i INPUT_FILE]
  • -n Number of new accounts to generate. If not specified, 3 accounts will be generated.
  • -t Number of threads to use for concurrent account creation. Maximum of 8.
  • -p Password to use for all accounts. If not specified, a random password will be generated for each account.
  • -h Show help.

Convert old CSV file to new format

What's this?

As of May 2024, the script has updated to use a new format for the CSV file. This means that the CSV file (accounts.csv) will be easier to use in the future.

Unfortunately the old format is not supported any more, so you will need to convert it to the new format.

You will need to convert the old CSV file only if you have accounts in the accounts.csv file from before May 2024.

Usage:

bash
# Convert old CSV file to new format
$ python convert_csv.py [-h] [-i INPUT_FILE]
  • -i Path to the input CSV file. If not specified, accounts.csv will be used.
  • -h Show help.

FAQ

  • Will this automatically verify emails?

    • Yes, the script will automatically fetch the verification link from the email, and use it to verify the account.
  • Can I log in to the accounts, on the web, after generating them?

    • Yes, that is how this script is intended to be used. Simply copy the email address and password from the CSV file and log in to the account.
  • There are multiple passwords in the CSV file. Which one should I use?

    • As of May 2024, all columns have appropriate headers.
    • You will need to use the password in the second columns titled MEGA Password.
  • What's with the other password then? And why do I need the Mail.tm ID?

    • The other password, in the Mail.tm Password column, is the password for the Mail.tm account.
    • You can use this password to sign in to the temporary Mail.tm account on their website.
    • In order to access the Mail.tm account, through their API, we also need the ID of the account. This is stored in the case it will be needed in the future.
  • What's with the -p/--password flag? Do I need it?

    • The -p flag is optional.
    • You can use this to specify a password for all accounts. If not specified, a random password will be generated for each account.
  • Can I generate multiple accounts in parallel?

    • Yes, this script can generate multiple accounts in parallel using the -t flag.
    • This is, however, not recommended, and will likely result in rate limits from Mail.tm.
    • The script will automatically retry in the event of a rate limit up to 5 times.
  • Why can I only run 8 threads?

    • Because of rate limits from Mail.tm.
    • We do not want to overload their service, which they generously offer for free.
  • Something is broken? I'm having trouble using this script.

    • Please open an issue on GitHub. Be sure to include information and screenshots.

Acknowledgements

This software was based heavily on IceWreck/MegaScripts.

His original Python script utilized GuerillaMail to generate temporary email addresses.

I've modified the script to use Mail.tm instead, with a lot of help from qtchaos/py_mega_account_generator.

I highly recommend checking out both of their projects.

Support

This project is free and open source.

If you find it useful, please consider supporting the project by donating.

License

MIT License

…

@f-o  ·  soon.to

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonaccount-generatoraccount-managementmegamegadrive

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言