πŸ”§ Turn Any Mega Link Into a Plain Download Link β€” Resumable, Streamable, No Account

:wrench: 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 β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

:link: 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=1 to 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. :key:

1 Like