{"id":21275677,"url":"https://github.com/halimath/mini-httpd","last_synced_at":"2025-07-12T06:33:19.025Z","repository":{"id":38108340,"uuid":"363599776","full_name":"halimath/mini-httpd","owner":"halimath","description":"A super-simple http server for dev and testing","archived":false,"fork":false,"pushed_at":"2022-06-10T07:45:33.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T13:13:40.713Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halimath.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}},"created_at":"2021-05-02T08:12:10.000Z","updated_at":"2022-06-10T07:38:37.000Z","dependencies_parsed_at":"2022-09-04T01:40:26.093Z","dependency_job_id":null,"html_url":"https://github.com/halimath/mini-httpd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/halimath/mini-httpd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halimath%2Fmini-httpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halimath%2Fmini-httpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halimath%2Fmini-httpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halimath%2Fmini-httpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halimath","download_url":"https://codeload.github.com/halimath/mini-httpd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halimath%2Fmini-httpd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264951610,"owners_count":23687974,"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-21T09:36:08.366Z","updated_at":"2025-07-12T06:33:19.004Z","avatar_url":"https://github.com/halimath.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mini-httpd\n\n`mini-httpd` is a super-simple, minimal http server used to serve static files\nfrom a directory.\n\n---\n\n**Caution: `mini-httpd` is a development tool and not designed for production systems.**\n\n---\n\n# Install\n\n## Build yourself\n\n`mini-httpd` is written using [Go](https://golang.org/). You need a working Go\ninstallation. To install the latest version, run\n\n```\n$ go install github.com/halimath/mini-httpd\n```\n\n# Usage\n\nTo simply serve the content of the current directory, run\n\n```\n$ mini-httpd\n```\n\nThis will start the server listening on `:8080` for HTTP connections.\n\nThe following command line switches can be used to customize the behaviour:\n\n\nSwitch | Default Value | Description\n-- | -- | --\n`doc-root` | `.` | Document root\n`http-address` | `:8080` | Network address to bind to listen for incoming requests\n`no-log` | _no argument_ | Disable logging\n\n# Author\n\n`mini-httpd` is written by [Alexander Metzner](mailto:alexander.metzner@gmail.com)\n\n# License\n\n\u003e \n\u003e Copyright (c) 2021 Alexander Metzner.\n\u003e \n\u003e Licensed under the Apache License, Version 2.0 (the \"License\");\n\u003e you may not use this file except in compliance with the License.\n\u003e You may obtain a copy of the License at\n\u003e \n\u003e     http://www.apache.org/licenses/LICENSE-2.0\n\u003e \n\u003e Unless required by applicable law or agreed to in writing, software\n\u003e distributed under the License is distributed on an \"AS IS\" BASIS,\n\u003e WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\u003e See the License for the specific language governing permissions and\n\u003e limitations under the License.\n\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalimath%2Fmini-httpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalimath%2Fmini-httpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalimath%2Fmini-httpd/lists"}