Automic VaultAutomic Vault

brew

http-server を Homebrew, Nix でインストール

http-server のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install http-server

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#http-server

nixpkgs package indexes · pkgs/by-name/ht/http-server/package.nix · ソース: api.github.com

概要

パッケージ概要

Simple zero-configuration command-line HTTP server

コマンドとエイリアス

  • http-server

履歴

プロジェクトの歴史と使われ方

http-server is a Node.js command-line static HTTP server. Its README describes a zero-configuration server that is simple enough for testing, local development, and learning, but also includes practical options for caching, directory listings, proxying, TLS, headers, and authentication.

プロジェクトの歴史

The GitHub repository was created in June 2011, and npm registry metadata records the package beginning the same day with version 0.1.0. The project became one of the standard Node-era answers to 'serve this folder over localhost' before npx made one-off CLI execution common.

The package evolved from a tiny static-file helper into a more featureful local server. The README documents installation through npx, global npm, Homebrew, dependency installation, and Docker builds, while release metadata shows the project reaching the 14.x line in 2021 and 2022.

採用の歴史

http-server's adoption is visible across npm, GitHub, and Homebrew: the official README includes npm and Homebrew badges, GitHub displays a large star/fork footprint and many dependents, and the input metadata records Homebrew and Nix packaging. Its popularity comes from needing no application framework when all a developer wants is static files over HTTP.

使われ方

Common use is `npx http-server` or a global `http-server` command pointed at a directory. Options cover port and address selection, cache control, gzip and Brotli serving, CORS headers, custom headers, SPA-style proxy fallback, TLS certificates, basic authentication, robots.txt generation, and MIME overrides.

パッケージ好きにとっての重要性

For package nerds, http-server is a classic small CLI that became infrastructure glue. It sits at the intersection of npm's executable-bin model, frontend local development, static-site demos, and Homebrew packaging for JavaScript tools that people want outside a single Node project.

タイムライン

  • 2011: The http-party/http-server repository was created on GitHub.
  • 2011: The npm package was created with early 0.1.x versions.
  • 2017: The GitHub release list includes the 0.10.0 release.
  • 2021: The project published the 13.x and 14.0.0 release lines.
  • 2022: The project published the 14.1.x release line.

Related projects

  • Related tools include Python's built-in simple HTTP server, serve, live-server, Caddy, Vite dev server workflows, and the Rust http-server package. It also uses Node and npm conventions for command distribution.

ソース

  • Official GitHub README/release metadata and npm registry metadata.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:http,server

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
http-servercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版14.1.1
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/http-party/http-server

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:http-server
バージョン14.1.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/http-server
ホームページhttps://github.com/http-party/http-server
リポジトリhttps://github.com/http-party/http-server
上流ドキュメントhttps://github.com/http-party/http-server#readme
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/http-server/-/http-server-14.1.1.tgz
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehttp-server
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • http-server-rs
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

http-server

nix profile install nixpkgs#http-server
  • normalized package name match
  • 一致条件: Http Server
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/http-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment