Simple command-line application to "touch" your Mega accounts and avoid getting closed due to inactivity.
- run "pip install -r requirements.txt"
- ensure you have a space separated mega.txt in the root folder of the repository.
- run main.py
You can add comments to each account's line, an example would be:
[email protected] SuperToughPasswordHere #Golden Girls S1-3
While it runs, it will create a log file in this format in the logs/raw folder:
2023-11-25 21:52:10,299 Account [email protected] touched. Quota: 20480.0, Space used: {'used': 16285.399144172668, 'total': 20480.0} MB
2023-11-25 21:52:13,576 Account [email protected] touched. Quota: 20480.0, Space used: {'used': 15543.904494285583, 'total': 20480.0} MB
Once it has completed running, it will create a report in logs/reports:
Each report will be structured like this:
MegaKeep Account Changes Report
Total space used: xxxx.xx GB
Total Space available: xxxx.xx GB
Summary:
Added: xxx accounts
Content Increased: xxx accounts
Content Decreased: xxx accounts
Unchanged: xxx accounts
Added:
[email protected] - Space used: 14.40 GB, Space remaining: 5.60 GB
Content Increased:
[email protected] - Space used: 13.18 GB, Space remaining: 6.82 GB
Content Decreased:
[email protected] - Space used: 10.26GB, Space remaining: 9.74 GB
Unchanged:
[email protected] - Space used: 17.09 GB, Space remaining: 2.91 GB
What I hope to do is add a little functionality to the script. If you have previously added accounts, you'll see them, if an account you previously had is no longer there, it will let you know that. If you have increased the content or decreased the content, you'll see that too.
Enjoy!!