How arboff/mega-checker-by-arboff works
Project type and purpose
• This is a proxy-less, command-line Mega.nz account checker written in Python.
• It reads a list of account credentials (combo.txt), tries each against the Mega.nz service via the mega.py library, logs hits/fails locally, and optionally posts results to a Discord webhook.
File structure
• Top-level:
• main.py → entry point, CLI control flow
• func.py → core functions (login, storage fetch, file I/O, webhook calls)
• combo.txt → input file, list of email:password combos
• Mega.nz Checker by Arboff.exe → Windows executable wrapper
• __pycache__ → compiled bytecode
• .idea → IDE project settings
• No separate “frontend”/“backend” folders—this is a single-process CLI tool.
• Dependencies are specified implicitly (colorama, discord-webhook, mega.py).
Key insights from the README
• Uses mega.py to interact with Mega.nz (no proxies).
• Colorama powers terminal UI; discord-webhook handles outgoing notifications.
• On each “hit,” the script:
1. Captures storage info
2. Writes to a “hits” file with extra metadata
3. Fires an optional Discord embed message
• Provides counters for total/current, hits, fails, customs.
a. Main components
1. CLI Interface (main.py)
2. Input Reader (combo.txt parser)
3. Checker Engine (func.py: login & storage-fetch logic)
4. File Storage Subsystem
– hits.txt, fails.txt, customs.txt
5. Discord Webhook Service
6. External Service: Mega.nz API
7. Packaging Layer: PyInstaller-generated .exe (optional)
b. Relationships & interactions
– CLI Interface triggers the Input Reader
– For each combo, it calls Checker Engine
– Checker Engine invokes Mega.nz API over HTTPS
– Results branch: write to local file → if hit & webhook enabled → HTTP POST to Discord
c. Architectural patterns
– Procedural, single-process pipeline
– “Producer–Consumer” style: input combos are consumed one by one
– Separation of concerns: I/O (func.py) vs. orchestration (main.py)
d. Key technologies
– Python runtime
– mega.py library for Mega.nz calls
– discord-webhook for notifications
– PyInstaller for .exe packaging