SimpleHTTPServer-like fileserver built in go
Go to file
Tracker-Friendly bf9f7f27e7 Fixed broken module path 2024-10-25 20:47:13 +01:00
.idea Initial commit 2024-07-11 18:18:29 +01:00
httpserver Run gofmt -s on httpserver/main.go 2024-10-25 20:45:05 +01:00
LICENSE.md Relicense so go doesn't have a fit 2024-07-18 17:35:07 +01:00
README.md Added reportcard and godoc 2024-10-25 20:43:49 +01:00
go.mod Fixed broken module path 2024-10-25 20:47:13 +01:00
main.go Added support for throttling connections 2024-09-02 15:58:27 +01:00

README.md

HTTPServer

This is a simple HTTP server meant to emulate python's SimpleHTTPServer module.

Go Report Card Go Reference

Usage

httpserver [-h] [--cgi] [-b ADDRESS] [-d DIRECTORY] [-p VERSION] [port]

Installing

First, have Go installed. Latest version, please. I'm talking about you debian.

Run as root

CDIR=$PWD
cd /tmp
git clone https://git.ailur.dev/ailur/httpserver --depth=1
cd httpserver/httpserver
make install

Compiling

git clone https://git.ailur.dev/ailur/httpserver --depth=1
cd httpserver/httpserver
make

This creates the binary "httpserver"