Skip to content

tsukinoko-kun/serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serve

Test

Run serve to start a webserver hosting the content of a directory.

Install

Go install

go install github.com/tsukinoko-kun/serve@latest

Homebrew

brew tap tsukinoko-kun/tap
brew install tsukinoko-kun/tap/serve

Usage

serve [directory] [flags...]

Flags

  • --md

    Compile Markdown files to HTML

  • --port -p int

    Port to listen on (default is a random port)

  • --verbose -v

    Verbose output