{"id":16746700,"url":"https://github.com/mkon/api_valve","last_synced_at":"2025-06-16T16:12:27.900Z","repository":{"id":32436999,"uuid":"121991071","full_name":"mkon/api_valve","owner":"mkon","description":"Lightweight ruby/rack API reverse proxy or gateway.","archived":false,"fork":false,"pushed_at":"2025-05-23T07:20:05.000Z","size":208,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T10:45:05.900Z","etag":null,"topics":["api-gateway","hacktoberfest","proxy","rack","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/mkon.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,"zenodo":null}},"created_at":"2018-02-18T21:11:17.000Z","updated_at":"2024-12-17T07:43:24.000Z","dependencies_parsed_at":"2024-01-08T10:32:02.696Z","dependency_job_id":"d55a4913-8b17-44bd-9f0c-2a72367379ad","html_url":"https://github.com/mkon/api_valve","commit_stats":{"total_commits":147,"total_committers":8,"mean_commits":18.375,"dds":0.435374149659864,"last_synced_commit":"0a7f097f4ab3b14951a9fbd75040e2cd619b9fdf"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/mkon/api_valve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fapi_valve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fapi_valve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fapi_valve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fapi_valve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkon","download_url":"https://codeload.github.com/mkon/api_valve/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fapi_valve/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260194786,"owners_count":22972640,"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":["api-gateway","hacktoberfest","proxy","rack","ruby"],"created_at":"2024-10-13T02:08:09.809Z","updated_at":"2025-06-16T16:12:27.875Z","avatar_url":"https://github.com/mkon.png","language":"Ruby","readme":"# ApiValve\n\n[![Gem Version](https://badge.fury.io/rb/api_valve.svg)](https://badge.fury.io/rb/api_valve)\n![](https://github.com/mkon/api_valve/workflows/Test/badge.svg?branch=main)\n[![Depfu](https://badges.depfu.com/badges/1f5892cc85d02997050e0a4d077c7dc4/overview.svg)](https://depfu.com/github/mkon/api_valve?project_id=5958)\n\nExtensible rack application that serves as lightweight API reverse proxy.\n\n## Installation\n\nJust add the gem to your `Gemfile`\n\n```ruby\ngem 'api_valve'\n```\n\n## Usage\n\nSee the [examples](https://github.com/mkon/api_valve/tree/master/examples) section on how to\ncreate \u0026 configure your own proxy using this gem.\n\n### Headers\n\nBy default the following headers are forwarded:\n\n* `Accept`\n* `Content-Type`\n* `User-Agent`\n* `X-Real-IP`\n* `X-Request-Id`\n\nAdditionally these headers are generated:\n\n* `X-Forwarded-For`: The ApiGateway is added to the list\n* `X-Forwarded-Host`: Filled with original request host\n* `X-Forwarded-Port`: Filled with original request port\n* `X-Forwarded-Prefix`: Filled with the path prefix of the forwarder within the Api Gateway (eg `SCRIPT_NAME` env)\n* `X-Forwarded-Proto`: Filled with original request scheme\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkon%2Fapi_valve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkon%2Fapi_valve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkon%2Fapi_valve/lists"}