Skip to content

marcelofelipes/direct-mega

 
 

Repository files navigation

Direct MEGA

MEGA downloads working like normal downloads!

Screenshot

Download the file above or watch it (original link).

How to use:

When downloading a file replace https://mega.nz with https://directme.ga. Everything works in your computer and you can download anything directly from MEGA.

You can view files, if your browser supports then, by using view before the # part. Folders are also supported: a link to a folder will show a list the files inside it so you can download or view one of those.

Warning:

This website don't bypass any bandwidth quota.
But you can use the splitter to workaround that: https://directme.ga/splitter

FAQ:

  • Q: Why downloading don't work?
    A: If it's not downloading then there's a bug: clear your browser cache.
    If it still don't works open an issue (or find other way to contact the developers).
  • Q: Where is the direct link?
    A: MEGA files are encrypted, so there's no direct link. But this website skips the "start download" button and starts download immediately, so it's almost direct.
  • Q: Can I use it in some download manager?
    A: It works using JavaScript, so no. If you open it in any download manager it will only download an HTML page and nothing else.
  • Q: How it works?
    A: Downloading like the image shows uses Service Workers and Streams API. Currently only Google Chrome / Chromium supports that. In other browsers it uses Blob and a[download] (similar to MEGA).

Extra arguments

  • &use-http-range: uses the HTTP Range header which allows video and music seeking (disabled by default until bugs get fixed)
  • &start=X: starts downloading from the X part of the file (default unit: byte)
  • &end=X: stops downloading at the X part of the file (default unit: byte)
  • &name=X: rename files downloaded
  • &cipher: downloads the encrypted file

About

Download MEGA files like any other file using Service Workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%