Skip to content

Fakechippies/goHTTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dancing Gopher

goHTTP

A tiny but mighty HTTP file server written in Go


Features

  • 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

Demo

goHTTP Demo Output


Usage

1. Build it

go build -o gohttp

2. (Optional) Install it globally

sudo mv gohttp /usr/bin/

3. Run it

As a local installation or binary

# 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/dir

If installed to /usr/bin or globally installed:

gohttp           # Serves current dir on :8000
gohttp 9000      # Serves current dir on :9000
gohttp 9000 /path/to/dir  # Serves dir on :9000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages