Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kemokemo/miniweb
Tiny web service to serve files. :tada:
https://github.com/kemokemo/miniweb
Last synced: 1 day ago
JSON representation
Tiny web service to serve files. :tada:
- Host: GitHub
- URL: https://github.com/kemokemo/miniweb
- Owner: kemokemo
- License: mit
- Created: 2021-08-21T18:48:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T14:25:49.000Z (9 months ago)
- Last Synced: 2024-06-21T11:02:50.743Z (5 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# miniweb
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/kemokemo/miniweb) [![build-check](https://github.com/kemokemo/miniweb/actions/workflows/build-check.yml/badge.svg)](https://github.com/kemokemo/miniweb/actions/workflows/build-check.yml)
Tiny web service to serve files. :tada:
## Usage
```sh
miniweb -p {your port} {your content directory}# ex) miniweb -p 9000 ./my/content/directory
## open 'http://localhost:{your port}' via browser
```For more detail, please check with the output of `miniweb -h` command.
## How to install
### Homebrew
```sh
brew install kemokemo/tap/miniweb
```### Scoop
First, add my scoop-bucket.
```sh
scoop bucket add kemokemo-bucket https://github.com/kemokemo/scoop-bucket.git
```Next, install this app by running the following.
```sh
scoop install miniweb
```### Build yourself
```sh
go install github.com/kemokemo/miniweb
```### Binary
Download from [the release page](https://github.com/kemokemo/miniweb/releases/latest), unpack the archive and put the binary somewhere in your `PATH`.