Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 483 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 483 Bytes

Serve - Simple HTTP File Server

A minimalist HTTP file server written in Go that serves files from a specified directory. It provides functionality similar to python -m http.server.

Usage Examples

  • Serve current directory: ./serve
  • Specify port and directory: ./serve -p 3000 /path/to/directory
  • Serve on all interfaces: ./serve -h 0.0.0.0 -p 8000 /path/to/directory

Installation

To install Serve, run:

go install github.com/marifcelik/serve@latest