Mega link in. Plain download link out.
You have watched this happen: a 70 GB folder on Mega, downloading in a browser tab, dies at 90%. No resume. Start again tomorrow.
Here is the actual reason. Mega encrypts everything, so your browser has to decrypt it in memory before a single byte reaches your disk. That is why big files choke, why there is no resume, and why your download manager sits there useless β it cannot speak Megaβs language.
The fix is a small worker sitting in the middle, handing you a normal HTTP link instead:
MEGA LINK YOUR WORKER YOUR DISK
ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββ
β π encrypted β βββββββΊ β π§ decrypts β βββββββΊ β π₯ plain β
β browser onlyβ β at the edge β β HTTP URL β
β no resume β β range: β
β β resumable β
ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββ
MEGA-INDEX-CLOUDFLARE β GPL-3.0, 247 stars, 368 forks, running since 2021, README updated July 2026.
What a plain HTTP link unlocks β four things that were impossible before:
1οΈβ£ DOWNLOAD MANAGERS IDM Β· aria2 Β· JDownloader Β· wget all work now.
A Mega link speaks to nothing but a browser tab.
2οΈβ£ RESUME + THREADS the worker serves HTTP range requests, so a transfer
pauses overnight and continues β and splits into
parallel threads instead of one thin stream.
3οΈβ£ STREAM, DON'T STORE paste the URL into VLC and a 4 GB video plays without
touching your disk at all.
4οΈβ£ QUOTA the fetch happens at Cloudflare's edge, not on your
connection β the author's own headline for the project
is "MEGA quota bypass, fast and stable downloads".
π₯ What it looks like when it is running
This is the worker running. Paste a public link at the top, and the whole folder comes back as a plain file list with a Download button on every row. On the right, the browserβs own download panel is doing the work β a 6.2 GB ISO pulling at 3.6 MB/sec, with the finished files stacked above it. Pause it, close the lid, come back and continue.
π The no-account way β ten clicks, nothing installed
This mode never asks for a Mega login. You get a landing page where you paste any public Mega link.
1οΈβ£ copy worker.js β raw.githubusercontent.com/developeranaz/
MEGA-INDEX-CLOUDFLARE/refs/heads/main/worker.js
2οΈβ£ dash.cloudflare.com β Workers & Pages β Create Application
3οΈβ£ Start with "Hello World!" β Get Started β Deploy
4οΈβ£ Edit Code β delete everything β paste worker.js β Deploy
5οΈβ£ open your worker URL β paste a mega.nz link β done
The README also carries a one-click deploy button that forks the repo and deploys it for you. No environment variables, no secrets, no server to rent β Cloudflareβs free worker tier carries the whole thing.
π What you get once it is running
- Folder link β a browsable index of the whole tree, every file with its own direct link. Your own private index page of a public share.
- File link β a clean page with the name, the size, and a download button any manager can grab.
- Account mode (optional) β point it at your own Mega account and the entire account becomes a fast browsable index instead of a slow web app.
β οΈ Read this before you use the account mode
There is a code generator page for the account mode, and it asks for your Mega email and password. Its own note says the password βis sent directly to Cloudflare and is never viewed, stored, or accessed by any third partyβ.
Worth knowing precisely what that means: the credentials go to the authorβs own worker, which happens to run on Cloudflare. That worker logs in and returns your session ID and master key, which are the two values that unlock everything in the account.
- Use Shared Link Mode instead β the page itself offers it, and it needs no account and no password at all.
- The generator page sits behind an ad-block wall; adding
?bypass_adblock=1to the URL opens it, since the author left that switch in the code. - The author labels the whole project experimental. It works; it is not a polished product.
- The free Cloudflare tier has a daily request ceiling β fine for you, not for running a public service.
Why this matters beyond one tool: it can exist at all because a public Mega folder link exposes its entire file tree with no login β the decryption key rides in the part of the URL that never reaches Megaβs servers. Every Mega tool walks through that same doorway, and this is the cleanest use of it: no account, no client, no quota wall, just a link your own software already understands. ![]()


!