{"id":21157964,"url":"https://github.com/axotion/httpforwarder","last_synced_at":"2025-03-14T15:26:20.050Z","repository":{"id":93032110,"uuid":"127761615","full_name":"axotion/HttpForwarder","owner":"axotion","description":"Simple http splitter","archived":false,"fork":false,"pushed_at":"2019-01-24T02:26:23.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T09:08:44.610Z","etag":null,"topics":["forwarder","go","http","httpforwarder","httpsplitter"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/axotion.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":"2018-04-02T13:42:34.000Z","updated_at":"2020-03-03T12:38:49.000Z","dependencies_parsed_at":"2023-07-03T20:00:39.790Z","dependency_job_id":null,"html_url":"https://github.com/axotion/HttpForwarder","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/axotion%2FHttpForwarder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axotion%2FHttpForwarder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axotion%2FHttpForwarder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axotion%2FHttpForwarder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axotion","download_url":"https://codeload.github.com/axotion/HttpForwarder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243599702,"owners_count":20317143,"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":["forwarder","go","http","httpforwarder","httpsplitter"],"created_at":"2024-11-20T12:13:49.516Z","updated_at":"2025-03-14T15:26:20.024Z","avatar_url":"https://github.com/axotion.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HttpForwarder\n_Super-duper splitter for your critial endpoints_\n\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)[![forthebadge](https://forthebadge.com/images/badges/gluten-free.svg)](https://forthebadge.com)[![forthebadge](https://forthebadge.com/images/badges/made-with-go.svg)](https://forthebadge.com)\n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n![alt text](https://media.giphy.com/media/XoM2ufTqkS10YdBUKr/giphy.gif)\n\n# Features!\n\n  - Split one http request to many without effort!\n  - (Think of something else)\n\nI created this tool for better control requests from companies I work with. 504 (and another critial status code) or lost data beacause of _something_ are not dangerous now! Splitter will try to deliver your requests no matter what.\n\n### Installation\n\nHttoForward requires x86/x64/arm to complie and at least GO 1.6.\n\n ```sh\n$ git clone git@github.com:axotion/HttpForwarder.git\n```\n\n### Usage\n\nEdit sites.json \n\n```json\n[\n    {\n        \"_client\" : \"TEST2\",\n        \"identificator\" : \"7ac2970651534830874ba712a30de940\", \n        \"forward\" : [\n            {\n                \"address\" : \"http:/url.com/187q5lg1\",\n                \"method\" : \"POST\",\n                \"auth\" : \"\",\n                \"username\" : \"\",\n                \"password\" : \"\",\n                \"retry\" : 10,\n                \"expected_status\" : 200\n            },\n            \n            {\n                \"address\" : \"https://www.dobretrojany.pl/fdsfdsfdsfsfs\",\n                \"method\" : \"POST\",\n                \"auth\" : \"basic\",\n                \"username\" : \"username\",\n                \"password\" : \"password\",\n                \"retry\" : 30,\n                \"expected_status\" : 200\n            }\n        ]\n    },\n    {\n        \"identificator\" : \"TEST1\", \n        \"forward\" : [\n            {\n                \"address\" : \"http://test1.com/id\",\n                \"method\" : \"POST\",\n                \"auth\" : \"\",\n                \"username\" : \"\",\n                \"password\" : \"\",\n                \"retry\" : 10,\n                \"expected_status\" : 200\n            },\n            {\n                \"address\" : \"http://bing1.com/id\",\n                \"method\" : \"POST\",\n                \"auth\" : \"basic\",\n                \"username\" : \"\",\n                \"password\" : \"\",\n                \"retry\" : 30,\n                \"expected_status\" : 200\n            }\n        ]\n    }\n]\n```\n\nThen \n```GO\ngo build ; ./main\n```\n**This will run small server for incoming requests**\n\nYou can invoke splitter by request on specific URL\n```\n0.0.0.0:9000/forward/identificator with POST method\n```\n\nThese headers will be append\n```\n\"X-Real-IP\"\n\"X-Forwarder-For\"\n\"X-Forwarded-Host\"\n```\n\n\nAnd that's it! Nothing more!\n\n### Todos\n\n - Write MORE Tests\n - Write ANY Tests\n - More auth methods\n\nLicense\n----\n\nMIT\n\n\n**Free Software, Hell Yeah!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxotion%2Fhttpforwarder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxotion%2Fhttpforwarder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxotion%2Fhttpforwarder/lists"}