{"id":22373861,"url":"https://github.com/ayltai/passthrough-proxy-weatherbit","last_synced_at":"2026-04-29T20:35:12.761Z","repository":{"id":75293181,"uuid":"397531654","full_name":"ayltai/passthrough-proxy-weatherbit","owner":"ayltai","description":"A pass-through proxy to communicate with Weatherbit API server","archived":false,"fork":false,"pushed_at":"2021-08-28T14:04:12.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T03:49:10.671Z","etag":null,"topics":["aws","aws-lambda","terraform","weather","weather-api","weatherbit","weatherbit-api"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayltai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-18T08:43:20.000Z","updated_at":"2021-08-28T16:24:11.000Z","dependencies_parsed_at":"2023-06-06T01:30:18.918Z","dependency_job_id":null,"html_url":"https://github.com/ayltai/passthrough-proxy-weatherbit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ayltai/passthrough-proxy-weatherbit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2Fpassthrough-proxy-weatherbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2Fpassthrough-proxy-weatherbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2Fpassthrough-proxy-weatherbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2Fpassthrough-proxy-weatherbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayltai","download_url":"https://codeload.github.com/ayltai/passthrough-proxy-weatherbit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2Fpassthrough-proxy-weatherbit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","aws-lambda","terraform","weather","weather-api","weatherbit","weatherbit-api"],"created_at":"2024-12-04T21:15:03.426Z","updated_at":"2026-04-29T20:35:12.756Z","avatar_url":"https://github.com/ayltai.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weatherbit API pass-through proxy server\n\n[![GitHub workflow status](https://img.shields.io/github/workflow/status/ayltai/passthrough-proxy-weatherbit/CI?style=flat)](https://github.com/ayltai/passthrough-proxy-weatherbit/actions)\n![Maintenance](https://img.shields.io/maintenance/yes/2021)\n[![Release](https://img.shields.io/github/release/ayltai/passthrough-proxy-weatherbit.svg?style=flat)](https://github.com/ayltai/passthrough-proxy-weatherbit/releases)\n[![License](https://img.shields.io/github/license/ayltai/passthrough-proxy-weatherbit.svg?style=flat)](https://github.com/ayltai/passthrough-proxy-weatherbit/blob/master/LICENSE)\n\nA pass-through proxy to communicate with [Weatherbit](https://www.weatherbit.io) API server.\n\n## How it works\n\nIt acts as a simple web proxy that sends all requests it receives to `https://api.weatherbit.io`. You may need to send your secret key to the proxy if it is a protected API. Check the official [documentation](https://www.weatherbit.io/api).\n\nThe proxy runs on AWS Lambda.\n\n## Supported APIs\n\n* `/v2.0/current`\n* `/v2.0/forecast/hourly`\n* `/v2.0/forecast/daily`\n\n## Setup\n\n[Terraform](https://www.terraform.io) is used for deployment on AWS.\n\n### Development\n\n[LocalStack](https://localstack.cloud) is used to provide local AWS services.\n\n**Requirements**\n\n* [Docker](https://www.docker.com)\n\n**Steps**\n\n1. Start LocalStack\n   ```shell\n   docker run --rm -it -p 4566:4566 -p 4571:4571 -e \"SERVICES=iam,lambda,apigateway,cloudwatch,logs,sts\" localstack/localstack\n   ```\n2. Run Terraform scripts\n   ```shell\n   cd terraform/local\n   terraform init\n   terraform apply -auto-approve\n   ```\n3. Take note of the outputs when Terraform completes. Example:\n   ```shell\n   Outputs:\n\n   rest_api_url = \"http://localhost:4566/restapis/7rujauhl95/api/_user_request_\"\n   ```\n4. Test the deployed endpoint\n   ```shell\n   curl http://localhost:4566/restapis/7rujauhl95/api/_user_request_/v2.0/current?key=[API Key]\u0026lat=22.3193\u0026lon=114.1694\u0026lang=en\n   ```\n\n### Production\n\n**Requirements**\n\n* Have an AWS account ready. We will need the Access and Secret Keys to run the Terraform scripts.\n* Have a Terraform account ready. We will need it to store the Terraform states.\n\n**Steps**\n\n1. Run Terraform scripts\n   ```shell\n   cd terraform/remote\n   terraform init\n   terraform apply -auto-approve\n   ```\n2. Take note of the outputs when Terraform completes\n3. Test the deployed endpoint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayltai%2Fpassthrough-proxy-weatherbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayltai%2Fpassthrough-proxy-weatherbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayltai%2Fpassthrough-proxy-weatherbit/lists"}