http-server
brew install http-server
v14.1.1
MIT
Simple zero-configuration command-line HTTP server
386
30-day installs · #1971
1.6k
90-day · #1766
7.5k
365-day · #1621
14.2k
★ GitHub stars · updated 4mo ago
Runtime dependencies
GitHub topics
command-line
hacktoberfest
hosting
http
http-server
server
static
static-server
Links
- https://github.com/http-party/http-server
- GitHub: http-party/http-server
- Brew formula source: Formula/h/http-server.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [
"http-server-rs"
],
"dependencies": [
"node"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Simple zero-configuration command-line HTTP server",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:41+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "http-server",
"github_default_branch": "master",
"github_last_commit_at": "2026-04-15T11:09:09Z",
"github_readme_excerpt": "[](https://github.com/http-party/http-server/actions)\n[](https://www.npmjs.com/package/http-server) [](https://formulae.brew.sh/formula/http-server) [](https://www.npmjs.com/package/http-server)\n[](https://github.com/http-party/http-server/blob/master/LICENSE)\n\n# http-server: a simple static HTTP server\n\n`http-server` is a simple, zero-configuration command-line static HTTP server. It is powerful enough for production usage, but it\u0027s simple and hackable enough to be used for testing, local development and learning.\n\n\n\n## Installation:\n\n#### Running on-demand:\n\nUsing `npx` you can run the script without installing it first:\n\n npx http-server [path] [options]\n\n#### Globally via `npm`\n\n npm install --global http-server\n\nThis will install `http-server` globally so that it may be run from the command line anywhere.\n\n#### Globally via Homebrew\n\n brew install http-server\n \n#### As a dependency in your `npm` package:\n\n npm install http-server\n\n#### Using Docker\n\nNote: a public image is not provided currently, but you can build one yourself\nwith the provided Dockerfile.\n\n1. Create an image\n ```\n docker build -t my-image .\n ```\n2. Run a container\n ```\n docker run -p 8080:8080 -v \"${pwd}:/public\" my-image\n ```\n In the example above we\u0027re serving the directory `./` (working directory).\n If you wanted to serve `./test` you\u0027d replace `${pwd}` ",
"github_repo": "http-party/http-server",
"github_stars": 14191,
"github_topics": [
"command-line",
"hacktoberfest",
"hosting",
"http",
"http-server",
"server",
"static",
"static-server"
],
"homepage": "https://github.com/http-party/http-server",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 386,
"installs_365d": 7533,
"installs_90d": 1605,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "http-server",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1971,
"rank_365d": 1621,
"rank_90d": 1766,
"raw_hash": "949bd0d7d63da334",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/h/http-server.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "14.1.1",
"versioned_formulae": [],
"why_use_this": null
}