Homebrew

tsukinoko-kun/tap

Serve

Simple file server with a little extra

Install command

brew tap tsukinoko-kun/tap
brew install tsukinoko-kun/tap/serve
https://github.com/tsukinoko-kun/serve

Current version

2.3.2

Platforms

macos

linux

README.md

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