Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/anjmao/static-server
- Owner: anjmao
- License: mit
- Created: 2019-12-21T19:47:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-21T20:21:25.000Z (almost 5 years ago)
- Last Synced: 2023-03-02T13:11:22.374Z (over 1 year ago)
- Topics: compression, fileserver, golang, static-site
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```