{"id":20832906,"url":"https://github.com/udhos/forward","last_synced_at":"2026-04-27T07:31:54.440Z","repository":{"id":167477139,"uuid":"642920529","full_name":"udhos/forward","owner":"udhos","description":"forward forwards requests to other services.","archived":false,"fork":false,"pushed_at":"2023-06-08T04:55:09.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T17:09:21.569Z","etag":null,"topics":["forward","go","golang","kubernetes","proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","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/udhos.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":"2023-05-19T16:45:40.000Z","updated_at":"2023-05-21T01:30:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"a38a474a-6508-4624-bf8d-17b947e55e01","html_url":"https://github.com/udhos/forward","commit_stats":null,"previous_names":["udhos/forward"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/udhos/forward","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fforward","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fforward/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fforward/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fforward/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udhos","download_url":"https://codeload.github.com/udhos/forward/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udhos%2Fforward/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32327701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["forward","go","golang","kubernetes","proxy"],"created_at":"2024-11-18T00:13:38.027Z","updated_at":"2026-04-27T07:31:54.422Z","avatar_url":"https://github.com/udhos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/udhos/forward/blob/main/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/udhos/forward)](https://goreportcard.com/report/github.com/udhos/forward)\n[![Go Reference](https://pkg.go.dev/badge/github.com/udhos/forward.svg)](https://pkg.go.dev/github.com/udhos/forward)\n[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/forward)](https://artifacthub.io/packages/search?repo=forward)\n[![Docker Pulls forward](https://img.shields.io/docker/pulls/udhos/forward)](https://hub.docker.com/r/udhos/forward)\n\n# forward\n\n[forward](https://github.com/udhos/forward) forwards requests to other services.\n\n* [Build](#build)\n* [Usage](#usage)\n* [Docker](#docker)\n* [Helm chart](#helm-chart)\n\n## Build\n\n```\ngit clone https://github.com/udhos/forward\n\ncd forward\n\n./build.sh\n```\n\n## Usage\n\nSend this request body to `forward`.\n\n```\nbody: put-actual-body-to-forward-here\nmethod: GET\nset_headers:\n  key1: value1\n  key2: value2\nurl: http://localhost:2000/v1/hello # put full request URL here\n```\n\n### Example for Google\n\n```\n# start forward\nforward\n```\n\n```\n# call forward\n\n$ more sample/google.yaml\nurl: https://www.google.com/search?q=golang\nmethod: GET\n\n$ curl --data-binary @sample/google.yaml localhost:8080/forward\n\u003coutput omitted\u003e\n```\n\n### Example for miniapi\n\nForward to [miniapi](https://github.com/udhos/miniapi).\n\n```\n# start miniapi on port 2000\nexport ADDR=:2000\nminiapi\n```\n\n```\n# start forward\nforward\n```\n\n```\n# call forward\n\n$ more sample/miniapi.yaml\nbody: aaaaa\nmethod: PUT\nset_headers:\n  a: b\nurl: http://localhost:2000/v1/hello\n\n$ curl --data-binary @sample/miniapi.yaml localhost:8080/forward\n\n{\"request\":{\"headers\":{\"A\":[\"b\"],\"Accept-Encoding\":[\"gzip\"],\"Content-Length\":[\"5\"],\"User-Agent\":[\"Go-http-client/1.1\"],\"X-B3-Sampled\":[\"1\"],\"X-B3-Spanid\":[\"23e1685fce0c9374\"],\"X-B3-Traceid\":[\"1c8318e574e71c17b61eec3814ede924\"]},\"method\":\"PUT\",\"uri\":\"/v1/hello\",\"host\":\"localhost:2000\",\"body\":\"aaaaa\",\"form_query\":{},\"form_post\":{},\"parameters\":{\"param1\":\"\",\"param2\":\"\"}},\"message\":\"ok\",\"status\":200,\"server_hostname\":\"ubuntu\",\"server_version\":\"1.0.5\"}\n```\n\n## Docker\n\nDocker hub:\n\nhttps://hub.docker.com/r/udhos/forward\n\nPull from docker hub:\n\n```\ndocker pull udhos/forward:0.0.0\n```\n\nBuild recipe:\n\n```\n./docker/build.sh\n```\n\n## Helm chart\n\n### Using the repository\n\nSee https://udhos.github.io/forward/.\n\n### Create\n\n```\nmkdir charts\ncd charts\nhelm create forward\n```\n\nThen edit files.\n\n### Lint\n\n```\nhelm lint ./charts/forward --values charts/forward/values.yaml\n```\n\n### Test rendering chart templates locally\n\n```\nhelm template forward ./charts/forward --values charts/forward/values.yaml\n```\n\n### Render templates at server\n\n```\nhelm install forward ./charts/forward --values charts/forward/values.yaml --dry-run\n```\n\n### Generate files for a chart repository\n\nA chart repository is an HTTP server that houses one or more packaged charts.\nA chart repository is an HTTP server that houses an index.yaml file and optionally (*) some packaged charts.\n\n(*) Optionally since the package charts could be hosted elsewhere and referenced by the index.yaml file.\n\n    docs\n    ├── index.yaml\n    └── forward-0.1.0.tgz\n\nSee script [update-charts.sh](update-charts.sh):\n\n    # generate chart package from source\n    helm package ./charts/forward -d ./docs\n\n    # regenerate the index from existing chart packages\n    helm repo index ./docs --url https://udhos.github.io/forward/\n\n### Install\n\n```\nhelm install forward ./charts/forward --values charts/forward/values.yaml\n```\n\n### Upgrade\n\n```\nhelm upgrade forward ./charts/forward --values charts/forward/values.yaml\n```\n\n### Uninstall\n\n```\nhelm uninstall forward\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudhos%2Fforward","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudhos%2Fforward","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudhos%2Fforward/lists"}