{"id":16308795,"url":"https://github.com/dgl/httphere","last_synced_at":"2025-04-13T03:15:12.886Z","repository":{"id":57708666,"uuid":"19514418","full_name":"dgl/httphere","owner":"dgl","description":"Go web server to serve the current directory.","archived":false,"fork":false,"pushed_at":"2014-05-06T23:33:49.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T03:15:09.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dgl.cx/httphere/","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/dgl.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}},"created_at":"2014-05-06T23:30:52.000Z","updated_at":"2023-03-24T02:09:50.000Z","dependencies_parsed_at":"2022-09-09T17:20:43.544Z","dependency_job_id":null,"html_url":"https://github.com/dgl/httphere","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/dgl%2Fhttphere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fhttphere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fhttphere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgl%2Fhttphere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgl","download_url":"https://codeload.github.com/dgl/httphere/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657919,"owners_count":21140846,"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-10-10T21:18:45.125Z","updated_at":"2025-04-13T03:15:12.865Z","avatar_url":"https://github.com/dgl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"HTTP Here\n=========\n\nVery simple golang webserver to serve the current directory. For when you just\nwant a web server, here, now.\n\n    $ httphere\n    2014/05/06 23:17:47 Opening server on :8080 available at:\n      - http://127.0.0.1:8080/\n      - http://192.0.2.36:8080/\n      - http://[::1]:8080/\n      - http://[2001:db8:11a9:c:cafe:4eee:eeee:eee]:8080/\n      - http://[fe80::5e51:4eee:eeee:eee]:8080/\n\nIf you trust me (and I have a build for your system):\n\n    curl -O https://dgl.cx/httphere/$(uname -sm | tr 'A-Z ' 'a-z-')/httphere\n    chmod +x httphere\n    ./httphere\n\nThis will serve the current directory, doing this in your home directory may be\na bad idea. Better to store it in your ~/bin, then run it in a specific\ndirectory.\n\nSome of these builds may not work for various reasons (e.g. go statically links\non OpenBSD, this will only work for a specific version because OpenBSD does not\nguarantee compatibility between versions).\n\n\nWhy?\n====\n\nI was using the simple:\n\n    python3 -m http.server\n\nHowever this is single threaded and will block if you have a download in\nprogress. Also it didn't support IPv6 by default. Both of which are a bit lame.\nSo this is a very simple go program.\n\nBuilding\n========\n\nInstall go, if you haven't, see http://golang.org/doc/install\n\nThen:\n\n    go build -ldflags -s httphere.go\n\n(Using -ldflags -s cuts the executable size in half.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgl%2Fhttphere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgl%2Fhttphere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgl%2Fhttphere/lists"}