https://github.com/chyroc/serve
Static file hosting
https://github.com/chyroc/serve
Last synced: 7 months ago
JSON representation
Static file hosting
- Host: GitHub
- URL: https://github.com/chyroc/serve
- Owner: chyroc
- License: apache-2.0
- Created: 2021-09-30T06:47:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T12:59:23.000Z (over 2 years ago)
- Last Synced: 2025-04-06T02:32:22.590Z (9 months ago)
- Language: Go
- Size: 894 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serve
[](https://codecov.io/gh/chyroc/serve)
[](https://goreportcard.com/report/github.com/chyroc/serve)
[](https://github.com/chyroc/serve/actions)
[](https://opensource.org/licenses/Apache-2.0)
[](https://pkg.go.dev/github.com/chyroc/serve)
[](https://badge.fury.io/go/github.com%2Fchyroc%2Fserve)

## Features
- Access to static files and folders
- Random port selection
- Local logging
- Localhost HTTPS
- Identify the Content-Type of the file
## Install
```shell
brew install chyroc/tap/serve
```
```shell
go install github.com/chyroc/serve@latest
```
## Usage
Simple to use
```shell
serve
```
Deploy a directory
```shell
serve ./some-dic
```
Enable https
```shell
serve --https
```
| | |
| --- | --- |
|
|
|
|
|
|