Serve
Simple file server with a little extra
Install command
brew tap tsukinoko-kun/tap
brew install tsukinoko-kun/tap/serve
Current version
2.3.2Platforms
macos
- x86_64
- ARM
linux
- x86_64
- ARM
README.md
serve
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
intPort to listen on (default is a random port)
--verbose
-v
Verbose output