Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anjmao/static-server

Go static files server with gzip compression
https://github.com/anjmao/static-server

compression fileserver golang static-site

Last synced: 12 days ago
JSON representation

Go static files server with gzip compression

Awesome Lists containing this project

README

        

# About
Static files server useful for serving local static files like single page apps. Static server also includes gzip compression which helps to estimate production bundle sizes.

## Installation

```
go get github.com/anjmao/static-server
```

## Usage

Serve from current directory
```
static-server
```

Serve from another directory
```
static-server -dir ./dist
```