Ecosyste.ms: Awesome

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

https://github.com/alufers/biedatransfer

A simple alternative to transfer.sh written in Golang. Share files via curl easily!
https://github.com/alufers/biedatransfer

curl drag-and-drop file-upload

Last synced: 3 months ago
JSON representation

A simple alternative to transfer.sh written in Golang. Share files via curl easily!

Lists

README

        

# biedatransfer

An easy to use and simple file transfer website built in Golang.

![Screenshot](./docs/screenshot_main.png)

It allows for file upload using the web interface (drag and drop) or via `curl`

It also parses the uploaded files using `binwalk`, `file`, `exiftool` and `ldd` and displays the data on a separate page.

![Screenshot](./docs/screenshot_details.png)

## Usage

Place a `biedatransfer-config.yaml` file in the working directory or in `/etc/biedatransfer`. Example contents:

You will also need a IP2LOCATION file for the resolution of upload locations via ip.

```
http:
addr: :8080
mode: debug
trustedproxies:
- 127.0.0.0/24
url: http://localhost:8080
upload:
datadir: ./data
forbiddennames:
- index.html
- index.htm
- robots.txt
- humans.txt
- favicon.ico
- wp-admin.php
- xmlrpc.php
- .env
- .git
- .config
- recents.json
- .
- /
- ./
- style.css
forbiddenprefixes:
- .well-known
- .git
- .htaccess
- .htpasswd
- google
locationdatabasepath: ./IP2LOCATION-LITE-DB5.BIN
recentssize: 40

```