Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varbhat/serv
📡 HTTP File/Directory Server
https://github.com/varbhat/serv
http https server spa ssl tls
Last synced: 6 days ago
JSON representation
📡 HTTP File/Directory Server
- Host: GitHub
- URL: https://github.com/varbhat/serv
- Owner: varbhat
- License: gpl-3.0
- Created: 2021-06-22T18:39:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-18T14:19:39.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T03:45:26.622Z (5 months ago)
- Topics: http, https, server, spa, ssl, tls
- Language: Go
- Homepage: https://github.com/varbhat/serv
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
serv
HTTP File/Directory Server
## Introduction
- `serv` is HTTP File/Directory Server.
- It can serve Directories, Files and SPAs over HTTP(or HTTPS).## Installation
You can download binary for your OS from [Releases](https://github.com/varbhat/serv/releases/latest) . Also , if you have [Go](https://golang.org/) installed , you can install `serv` by typing this in terminal.
```bash
go install github.com/varbhat/serv@latest
```## Usage
```bash
serv is HTTP File/Directory ServerUsage of serv:
-addr Listen Address (Default: ":9955")
-cert Path to TLS Certificate (Required for HTTPS)
-dir Directory to Serve (Default: Current Directory)
-key Path to TLS Key (Required for HTTPS)
-spa SPA Mode
-help Print this Help
```
## License
[GPLv3.0](LICENSE)