Install

A light-weight Go server that hosts the file directory it's in (HTML or otherwise) over HTTP. Inspired by simple Unix programs that do one thing well.

go-live

Can be used for local development or production static-site serving as a run-your-own Github-pages. By default, go-live hosts the directory it is executed in.

Based on JavaScript's famous live-server utility, but much faster, lighter (4 MB), and doesn't require Node.js to be installed. Can also be used for production file serving.

Supports Linux, Windows, and Mac, as well as ARM and x64. Please leave all comments, questions, or suggestions in the Github issues.

On MacOS (with Brew)

brew tap antsankov/go-live && brew install go-live

On MacOS (without Brew)

$ curl -LJO https://github.com/antsankov/go-live/releases/download/v1.0.0/go-live-mac.zip
$ unzip -d /usr/local/bin/go-live && chmod +x /usr/local/bin/go-live
$ go-live
  • ARM64 Mac (new M1 chip) is supported. Download file from the releases page, chmod +x, and then move it to your path. Brew coming soon.

On Linux (using Snapcraft)

snap install go-live

Linux 64-Bit (Ubuntu/RHEL/etc.):

$ wget https://github.com/antsankov/go-live/releases/download/v1.0.0/go-live-linux-x64 -O /usr/bin/go-live
$ chmod +x /usr/bin/go-live
$ go-live
  • Deb packages coming soon! (Help wanted)

  • Need ARM? Check the releases page.

Docker

docker pull antsankov/go-live

To run (will serve current directory on port 9000):

docker run --rm -v "${PWD}":/workdir -p 9000:9000 antsankov/go-live go-live

Go Get (must have Go installed)

GO111MODULE=on go get github.com/antsankov/go-live

Windows

Download Here and Execute

  • Chocolatey coming soon! (Help wanted)

  • Make sure when running that all necessary ports are open and user has permissions (Help wanted)

  • QT based front-end? (Help wanted)