{"id":34224931,"url":"https://github.com/b13rg/locallhost","last_synced_at":"2026-03-10T16:09:15.374Z","repository":{"id":310569159,"uuid":"1040375808","full_name":"B13rg/locallhost","owner":"B13rg","description":"A tool to display information about http requests","archived":false,"fork":false,"pushed_at":"2025-08-27T22:58:31.000Z","size":2948,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T12:59:23.926Z","etag":null,"topics":["echo-server","golang","http"],"latest_commit_sha":null,"homepage":"http://6.resolv.to","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/B13rg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T22:09:40.000Z","updated_at":"2025-08-27T22:58:35.000Z","dependencies_parsed_at":"2025-08-19T00:35:42.176Z","dependency_job_id":null,"html_url":"https://github.com/B13rg/locallhost","commit_stats":null,"previous_names":["b13rg/locallhost"],"tags_count":4,"template":false,"template_full_name":"B13rg/template-golang","purl":"pkg:github/B13rg/locallhost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B13rg%2Flocallhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B13rg%2Flocallhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B13rg%2Flocallhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B13rg%2Flocallhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B13rg","download_url":"https://codeload.github.com/B13rg/locallhost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B13rg%2Flocallhost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30341991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["echo-server","golang","http"],"created_at":"2025-12-16T00:01:17.021Z","updated_at":"2026-03-10T16:09:15.365Z","avatar_url":"https://github.com/B13rg.png","language":"Go","readme":"# locallhost\n\nA simple http server that echoes client http request information.\nAlso provides links to localhost (`127.0.0.1`, `[::1]`) for easy navigation to locally hosted projects.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eTable of Contents\u003c/b\u003e\u003c/summary\u003e\n\u003cp\u003e\n\n- [locallhost](#locallhost)\n  - [Key Features](#key-features)\n  - [Technical Overview](#technical-overview)\n  - [Installation](#installation)\n  - [Getting Started](#getting-started)\n    - [Configuration](#configuration)\n    - [Deployment](#deployment)\n  - [Documentation and Additional Resources](#documentation-and-additional-resources)\n    - [Links](#links)\n  - [Development](#development)\n    - [Contributing](#contributing)\n  - [License](#license)\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n## Key Features\n\n* Show request IP address and port\n* `/ip` endpoint provides raw request IP address\n* Show entire HTTP request header\n* `/json` endpoint provides request info formatted as JSON\n* ipv4+ipv6 localhost links\n  * Quick links for port 80\n  * Customizable port number\n* Webpage \u003c `7kB`, Binary \u003c `10MB`, Docker image \u003c `13MB`\n\n![Screenshot of the web application](./docs/ScreenShot.png)\n\n## Technical Overview\n\nUses Golang's `net/http` and `html/template` packages to display request info.\n\n## Installation\n\n```\ngo install -v github.com/B13rg/locallhost@main\n```\n\n## Getting Started\n\n### Configuration\n\n```sh\n❯ ./locallhost -h                                                                                                                         ─╯\nStart a server on a configured port that returns info about http requests.\n\nUsage:\n  locallhost [flags]\n  locallhost [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  version     Get version\n\nFlags:\n      --color               enable colorized output (default true)\n      --debug               log additional information about what the tool is doing. Overrides --loglevel\n  -h, --help                help for locallhost\n  -L, --loglevel string     set zerolog log level (default \"info\")\n  -p, --port int            Set http port for server to listen on (default 8080)\n      --profiledir string   directory to write pprof profile data to\n\nUse \"locallhost [command] --help\" for more information about a command.\n```\n\n### Deployment\n\n#### Natively\n\n```\ngo build ./locallhost\n./locallhost\n```\n\n#### Docker\n\n```\ndocker-compose -f ./docker/compose.yml build\ndocker-compose -f ./docker/compose.yml up -d\n```\n\n## Documentation and Additional Resources\n\nSee [./docs](docs/) folder.\nMost if not all of the documentation is generated from the golang code.\n\n### Links\n\n* Inspiration:\n  * https://locallhost.com\n\n## Development\n\nUses Golang `1.24.2`.\n\n### Contributing\n\nOpen an issue or PR.\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13rg%2Flocallhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb13rg%2Flocallhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13rg%2Flocallhost/lists"}