{"id":45587496,"url":"https://github.com/pareshpawar/simple-http-server","last_synced_at":"2026-02-23T11:55:32.514Z","repository":{"id":180412345,"uuid":"665030994","full_name":"pareshpawar/simple-http-server","owner":"pareshpawar","description":"Simple HTTP Server that returns ip address, headers and many other request data. use this as a test app to to deploy in your servers or practice to deploy","archived":false,"fork":false,"pushed_at":"2024-10-24T07:16:50.000Z","size":40,"stargazers_count":6,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-25T02:57:56.173Z","etag":null,"topics":["golang","hacktoberfest","simple-http-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pareshpawar.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-07-11T09:32:03.000Z","updated_at":"2024-10-24T07:16:49.000Z","dependencies_parsed_at":"2024-10-24T10:03:53.814Z","dependency_job_id":"85ee63af-ff8d-4815-8de5-22f11733e26f","html_url":"https://github.com/pareshpawar/simple-http-server","commit_stats":null,"previous_names":["pareshpawar/simple-http-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pareshpawar/simple-http-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pareshpawar%2Fsimple-http-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pareshpawar%2Fsimple-http-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pareshpawar%2Fsimple-http-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pareshpawar%2Fsimple-http-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pareshpawar","download_url":"https://codeload.github.com/pareshpawar/simple-http-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pareshpawar%2Fsimple-http-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29741981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: 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":["golang","hacktoberfest","simple-http-server"],"created_at":"2026-02-23T11:55:32.240Z","updated_at":"2026-02-23T11:55:32.494Z","avatar_url":"https://github.com/pareshpawar.png","language":"Go","readme":"# Simple HTTP Server in Go as a Container Image\n[![ci](https://github.com/pareshpawar/simple-http-server/actions/workflows/main.yml/badge.svg)](https://github.com/pareshpawar/simple-http-server/actions/workflows/main.yml)\n\n`simple-http-server` returns IP address, headers and many other request data. Use this as a test app to to deploy in your servers or practice to deploy. you can use this image in docker or kubernetes based deployments\n\n### How it works?\n\n- Starts listening on port 8081 for HTTP traffic\n- On every request it returns following things:\n  - Request Type\n  - Hostname or Host of request\n  - Local IP of Container\n  - Remote IP\n  - All Request Headers\n  - And Environment Variable called `YOUR_ENV`\n  - optionally mount html dir to `/dist/html` to serve html pages\n\n### How to use it?\n\n- I've hosted this image on [Docker Hub](https://hub.docker.com/r/pareshpawar/simple-http-server) or you can build it yourself if you want to.\n\n  ```bash\n  docker run --rm -p 8081:8081 pareshpawar/simple-http-server\n  ```\n\n- Optionally, forward port via your proxy or load balancer.\n\n#### To Do\n\n- [x] Make std output/logs colored and pretty 😅\n- [x] Serving html file as output on ```/html/``` endpoint\n- [x] create github actions for docker image build\n- [ ] Add Environment Variable to switch text output to html output\n- [ ] Serve a html pages from a external directory\n- [ ] Add volume Env var to serve volume as http dir\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpareshpawar%2Fsimple-http-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpareshpawar%2Fsimple-http-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpareshpawar%2Fsimple-http-server/lists"}