Skip to content

(forked from unix4lyfe.org). Now with Basic-Auth support

Notifications You must be signed in to change notification settings

boofish/darkhttpd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darkhttpd

(forked from https://unix4lyfe.org/git/darkhttpd)

If you're here for a Ubuntu/Debian package...

You can grab it here: https://github.com/ryanmjacobs/darkhttpd/releases/download/r2/darkhttpd-x86_64.deb

$ curl -O https://github.com/ryanmjacobs/darkhttpd/releases/download/r2/darkhttpd-x86_64.deb
$ dpkg -i darkhttpd-x86_64.deb

Now with HTTP Basic-Auth support

Usage: darkhttpd . --auth username:password
       darkhttpd . --port 8080 --auth john:pass123

How to build darkhttpd

Simply run:

$ make bin    # produces native binary only
$ make debian # will produce a .deb package too

To install:

$ sudo make install           # distro-independent
$ sudo dpkg -i darkhttpd.deb  # for Debian-based distros, e.g. Ubuntu

Usage

See the full usage by running darkhttpd --help.

Release Versions

This section documents what package/binaries I have compiled and uploaded to Github Releases.

  • r2 (2019-04-10):
    • compiled and statically linked to musl for better compatibility
    • CC=musl-gcc LDFLAGS=-static make deb
  • r1 (2019-04-10):
    • compiled and uploaded 64-bit .deb package
    • git hash d7501ec on master branch

About

(forked from unix4lyfe.org). Now with Basic-Auth support

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.2%
  • Makefile 0.8%