https://github.com/sgaunet/httpfileserver
https://github.com/sgaunet/httpfileserver
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sgaunet/httpfileserver
- Owner: sgaunet
- Created: 2022-03-22T16:51:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T22:43:55.000Z (12 months ago)
- Last Synced: 2025-02-13T08:18:22.001Z (5 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/sgaunet/httpfileserver/releases/latest)
[](https://goreportcard.com/report/github.com/sgaunet/httpfileserver)

[](https://codeclimate.com/github/sgaunet/httpfileserver/maintainability)# httpfileserver
A simple webserver in Golang to expose a directory by http.
You can use the binary (releases) or the docker image (from scratch, it's a multi-arch image).There is a possibility to add a basic auth by defining environment variable :
* HTTP_USER
* HTTP_PASSWORD# Build
This project is using :
* golang 1.17+
* [task for development](https://taskfile.dev/#/)
* docker
* [docker buildx](https://github.com/docker/buildx)
* docker manifest
* [goreleaser](https://goreleaser.com/)## Binary
```
task
```## Docker Image
```
task image
```# Release
## Snapshot
```
task snapshot
```## Release
```
task release
```