A tiny but mighty HTTP file server written in Go
- Blazing fast file server written in Go
- Color-coded logs for request methods (GET, POST, etc.)
- ⏱Logs client IP, request time, method, and path
- Easily serve any directory you want
- Port availability check before binding
- ⚙Simple CLI with optional directory override
- Clean and hackable — perfect for red teaming, demos, or local dev
go build -o gohttpsudo mv gohttp /usr/bin/# Serve current directory on default port 8000
./gohttp
# Serve current directory on custom port
./gohttp 9000
# Serve specific directory on custom port
./gohttp 9000 /path/to/dirgohttp # Serves current dir on :8000
gohttp 9000 # Serves current dir on :9000
gohttp 9000 /path/to/dir # Serves dir on :9000
