Automic VaultAutomic Vault

brew

Install darkhttpd with Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper

Small static webserver without CGI. Version 1.17 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install darkhttpd

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install darkhttpd

MacPorts ports tree · www/darkhttpd/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add darkhttpd

Alpine Linux edge package indexes · darkhttpd · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install darkhttpd

Fedora Rawhide package metadata · darkhttpd · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#darkhttpd

nixpkgs package indexes · pkgs/by-name/da/darkhttpd/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S darkhttpd

Arch Linux sync databases · darkhttpd · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install darkhttpd

openSUSE Tumbleweed package metadata · darkhttpd · source: download.opensuse.org

overview

Package summary

Small static webserver without CGI

Commands and aliases

  • darkhttpd

history

Project history and usage

darkhttpd is a small C static web server designed for quickly serving files without CGI, daemon scaffolding, or a separate configuration file.

Project history

Emil Mikulic's official page describes darkhttpd as a web server for when a server is needed in a hurry. The project emphasizes a single binary, no required installation files, no inetd dependency, and no configuration file beyond specifying the web root.

Adoption history

The official README and project page highlight portability across FreeBSD, Linux, OpenBSD, and Solaris, plus a very small Docker image. GitHub releases show active 1.x maintenance into the mid-2020s.

How it is used

Users run darkhttpd by pointing it at a document root, then add command-line flags for port, bind address, logging, chroot, privilege drop, directory listing behavior, pidfiles, redirects, custom headers, and Docker deployment.

Why package nerds care

darkhttpd is the sort of utility package people keep installed for throwaway local serving, embedded images, rescue shells, and tiny containers: the appeal is that the server is boring, static, scriptable, and not tied to a configuration tree.

Timeline

  • 2003: The official page's copyright span begins.
  • 2021: The official page was published with the current project summary.
  • 2024: v1.15 and v1.16 were published on GitHub.
  • 2025: v1.17 was published on GitHub.

Related projects

  • The README compares darkhttpd culturally with small static servers and notes that suckless.org lists it among software that 'sucks less'.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:http,server

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
darkhttpdcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.17
manager updated
local dataok
upstreamcurrent
latest detectedv1.17

https://github.com/emikulic/darkhttpd

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:darkhttpd
Version1.17
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/darkhttpd
Homepagehttps://unix4lyfe.org/darkhttpd/
Repositoryhttps://github.com/emikulic/darkhttpd
Upstream docshttps://github.com/emikulic/darkhttpd
LicenseISC
Source archivehttps://github.com/emikulic/darkhttpd/archive/refs/tags/v1.17.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedarkhttpd
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

darkhttpd

nix profile install nixpkgs#darkhttpd
  • normalized package name match
  • Matched by: Darkhttpd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/da/darkhttpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

darkhttpd 1.17-r0

A simple, single-threaded, static content webserver

https://unix4lyfe.org/darkhttpd/

sudo apk add darkhttpd
  • License: ISC
  • Architecture: x86_64
  • Source Package: darkhttpd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Darkhttpd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: darkhttpd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

darkhttpd-openrc 1.17-r0

A simple, single-threaded, static content webserver (OpenRC init scripts)

https://unix4lyfe.org/darkhttpd/

sudo apk add darkhttpd-openrc
  • License: ISC
  • Architecture: x86_64
  • Source Package: darkhttpd
  • normalized package name match
  • Matched by: Darkhttpd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: darkhttpd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

darkhttpd 1.17-5.fc45

Secure, lightweight, fast, single-threaded HTTP/1.1 server

https://github.com/emikulic/darkhttpd

sudo dnf install darkhttpd
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: darkhttpd
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Darkhttpd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: darkhttpd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

darkhttpd 1.17-1

A small and secure static webserver

https://unix4lyfe.org/darkhttpd/

sudo pacman -S darkhttpd
  • License: ISC
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Darkhttpd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: darkhttpd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

darkhttpd 1.17-1.3

When you need a web server in a hurry

https://unix4lyfe.org/darkhttpd

sudo zypper install darkhttpd
  • License: ISC
  • Category: Productivity/Networking/Web/Servers
  • Architecture: x86_64
  • Source Package: darkhttpd
  • 6 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Darkhttpd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: darkhttpd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

darkhttpd

sudo port install darkhttpd
  • normalized package name match
  • Matched by: Darkhttpd
MacPorts ports tree · api.github.com · MacPorts ports tree: www/darkhttpd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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