{"id":20191267,"url":"https://github.com/paulannekov/mighty-lambda-proxy","last_synced_at":"2025-03-03T07:28:29.042Z","repository":{"id":39757528,"uuid":"190937417","full_name":"PaulAnnekov/mighty-lambda-proxy","owner":"PaulAnnekov","description":"Flexible AWS Lambda proxy server.","archived":false,"fork":false,"pushed_at":"2022-12-30T17:48:58.000Z","size":1016,"stargazers_count":1,"open_issues_count":19,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T18:51:26.061Z","etag":null,"topics":["cors-proxy","lambda-functions","serverless"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PaulAnnekov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-08T21:36:21.000Z","updated_at":"2020-03-15T17:10:24.000Z","dependencies_parsed_at":"2023-01-31T12:31:27.467Z","dependency_job_id":null,"html_url":"https://github.com/PaulAnnekov/mighty-lambda-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulAnnekov%2Fmighty-lambda-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulAnnekov%2Fmighty-lambda-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulAnnekov%2Fmighty-lambda-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulAnnekov%2Fmighty-lambda-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaulAnnekov","download_url":"https://codeload.github.com/PaulAnnekov/mighty-lambda-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241626545,"owners_count":19993264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cors-proxy","lambda-functions","serverless"],"created_at":"2024-11-14T03:48:10.824Z","updated_at":"2025-03-03T07:28:29.013Z","avatar_url":"https://github.com/PaulAnnekov.png","language":"TypeScript","readme":"# Mighty Lambda proxy\n\nFlexible AWS Lambda proxy server. Unlike other solutions, it supports any request/response payload (gzip, br,\nimage, xml, json, etc.). Also you can easily enable CORS for endpoints which don't allow cross-origin requests.\n\n## How to use\n\n```\ngit clone https://github.com/PaulAnnekov/mighty-lambda-proxy.git\ncd mighty-lambda-proxy\nnpm install\nnpx serverless deploy -v # or node_modules/.bin/serverless deploy -v\n```\n\nIn the output you will see your endpoint url. To make it proxy your request,\njust add `?url=[target]` in the end, e.g.:\n\n`https://abcdefghij.execute-api.eu-central-1.amazonaws.com/dev?url=https://example.com`\n\n## Proxy timeout\n\nBy default function asks Lambda service for timeout value \n([getRemainingTimeInMillis()](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-context.html)). But you can\nspecify your own timeout value by following \"Set usagePlan, CORS settings, proxy timeout\" guide below.\n\n## Configure\n\n### Set stage during deploy\n\n`npx serverless deploy --stage prod`\n\n### Set region during deploy\n\n`npx serverless deploy --region eu-central-1`\n\n### Set [UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html), [CORS settings](https://serverless.com/blog/cors-api-gateway-survival-guide/), proxy timeout\n\n1. Copy `serverless.vars.sample.yml` and rename to `serverless.vars.yml`\n2. In `serverless.vars.yml` modify and leave options you need \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulannekov%2Fmighty-lambda-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulannekov%2Fmighty-lambda-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulannekov%2Fmighty-lambda-proxy/lists"}