darx / magnet-api-proxy

An Unofficial API for MagnetDL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

magnet-api-proxy

Simple unofficial API which interfaces MagnetDl (more coming soon) & OMDb; deployable and tested using AWS Lambda.

Getting started

git clone https://github.com/darx/magnet-api-proxy.git
cd magnet-api-proxy
npm ci
(ehco PROXY_HOSTNAME= && ehco PROXY_USER_ID= && ehco PROXY_PASSWORD= && ehco OMDB_API= && echo OMDB_HOSTNAME= && ehco HOSTNAME_MAGNETDL= && ehco AWS_REGION= && ehco AWS_ACCESSKEYID= && ehco AWS_SECRETACCESSKEYID= && ehco AWS_S3_CACHE_BUCKET=) > .env

Working/Developing locally

npm run test:server

Bundle for AWS Lambda

Generates bundle.zip file in root directory of the project which is ready for deployment.

npm run bundle

About

An Unofficial API for MagnetDL

License:MIT License


Languages

Language:JavaScript 100.0%