Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wargio/file-share

Quickly share a file over the network using HTTP thanks to the Gin Framework
https://github.com/wargio/file-share

Last synced: 25 days ago
JSON representation

Quickly share a file over the network using HTTP thanks to the Gin Framework

Awesome Lists containing this project

README

        

# Share File

Simple utility to spawn a small webserver that allows you to share one or multiple files

## Usage

```bash
share-file file1 file2 file3
# then open the browser to ip:8080
```

## Building

```bash
go mod download
CGO_ENABLED=0 go build
```

## Update assets.go

You will need to install [go-assets-builder](https://github.com/jessevdk/go-assets-builder)

```bash
go-assets-builder templates/ -o assets.go -s /templates/
CGO_ENABLED=0 go build
```