picohttp

command module
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 20 Imported by: 0

README

PicoHTTP

This is a tiny static HTTP server. It is intended to be run locally to serve files, primarily RevealJS presentations.

The server can be configured using environment variables or CLI arguments:

Environment CLI Meaning
WEBROOT -root The filesystem path to serve.
LISTEN -listen The TCP/IP address to listen on, in "host:port" notation.
- -no-browser Do not open a webbrowser to see the served files.

Building

  • Install Go.
  • Run some environment that includes make.
  • Run make install to locally build & install PicoHTTP.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址