{"id":18679865,"url":"https://github.com/bsctl/replyserver","last_synced_at":"2025-11-07T14:30:20.305Z","repository":{"id":148233902,"uuid":"246901065","full_name":"bsctl/replyserver","owner":"bsctl","description":"reply web server written in golang","archived":false,"fork":false,"pushed_at":"2020-03-12T18:09:53.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T21:44:45.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/bsctl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-12T18:09:11.000Z","updated_at":"2020-03-12T18:09:55.000Z","dependencies_parsed_at":"2023-05-19T12:15:48.068Z","dependency_job_id":null,"html_url":"https://github.com/bsctl/replyserver","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/bsctl%2Freplyserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsctl%2Freplyserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsctl%2Freplyserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsctl%2Freplyserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsctl","download_url":"https://codeload.github.com/bsctl/replyserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533068,"owners_count":19654617,"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":[],"created_at":"2024-11-07T09:46:07.185Z","updated_at":"2025-11-07T14:30:20.275Z","avatar_url":"https://github.com/bsctl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A reply web server for test\nThe replyserver is a simple web server for test. It returns the client request and its headers.\n\nUsage:\n\n    ./replyserver -h\n    -listen string\n            The address to listen on for http requests (default \":1969\")\n    -listentls string\n            The address to listen on for https requests (default \":1968\")\n    -cert string\n            The file name containing a TLS server certificate (default \"server.crt\")\n    -key string\n            The file name containing a TLS server key (default \"server.key\")\n    -check string\n            The address to listen on for healty probes. (default \":1936\")\n\nFor example:\n\n    ./replyserver -cert server-tls.crt -key server-tls.key\n\n    curl http://macbook.local:1969\n    Server Name = \"MacBook.local\"\n    Client Addr = \"127.0.0.1:64349\"\n    Host = \"macbook.local:1969\"\n    Method = \"GET\"\n    URL = \"/\"\n    Protocol = \"HTTP/1.1\"\n    +++ Request Headers: +++\n    Header[\"Accept\"] = [\"*/*\"]\n    Header[\"User-Agent\"] = [\"curl/7.54.0\"]\n\n    curl -k https://macbook.local:1968\n    Server Name = \"MacBook.local\"\n    Client Addr = \"127.0.0.1:64500\"\n    Host = \"macbook.local:1968\"\n    Method = \"GET\"\n    URL = \"/\"\n    Protocol = \"HTTP/2.0\"\n    +++ Request Headers: +++\n    Header[\"Accept\"] = [\"*/*\"]\n    Header[\"User-Agent\"] = [\"curl/7.54.0\"]\n\nBuild and run with Docker:\n\n    docker build -t bsctl/replyserver:latest .\n    docker run -d -p 80:1969 -p 443:1968 -p 8080:1936 \\\n           --name replyserver \\\n           bsctl/replyserver:latest -cert server-tls.crt -key server-tls.key\n\nDeploy on OpenShift:\n\n    oc apply -f oscp-deploy.yaml\n\nDeploy on Kubernetes:\n\n    kubectl apply -f k8s-deploy.yaml\n\nThat's all.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsctl%2Freplyserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsctl%2Freplyserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsctl%2Freplyserver/lists"}