Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wargio/file-share
- Owner: wargio
- Created: 2024-06-12T04:36:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T02:40:04.000Z (4 months ago)
- Last Synced: 2024-10-28T20:56:43.904Z (2 months ago)
- Language: Go
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/GPL-3.0-or-later.txt
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
```