Skip to content

wangkai2014/megadloader

 
 

Repository files navigation

Development

  1. Install docker
  2. Run npm start
  3. Open localhost:10101 in the browser

API Calls

GET /api/status

  • returns the status of the app

POST /api/urls/ {mega_url}

  • sends the url to the backend

DELETE /api/urls/{url_id}

  • deletes a url from the history

GET /api/categories/

  • get a list of categories supported by the server

POST /api/categories/ {name}

Install mega-sdk locally

$ sudo apt install \
    swig libfreeimage-dev libcurl4-openssl-dev libc-ares-dev libsqlite3-dev \
    libsodium-dev libcrypto++-dev libtool libssl-dev python3.7-dev \
    python3-wheel
$ git clone https://github.com/meganz/sdk.git
$ cd sdk
$ ./autogen.sh
$ PYTHON_VERSION=3.7 ./configure \
    --disable-silent-rules \
    --enable-python \
    --disable-examples \
    --with-python3
$ make
$ cd bindings/python/
$ python setup.py bdist_wheel
$ pip install dist/megasdk-*.whl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.5%
  • JavaScript 26.4%
  • Dockerfile 7.4%
  • Shell 1.6%
  • HTML 0.1%