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: 2 months ago
JSON representation
A simple alternative to transfer.sh written in Golang. Share files via curl easily!
- Host: GitHub
- URL: https://github.com/alufers/biedatransfer
- Owner: alufers
- Created: 2021-04-24T20:21:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-24T14:14:48.000Z (over 1 year ago)
- Last Synced: 2024-10-04T13:31:26.751Z (3 months ago)
- Topics: curl, drag-and-drop, file-upload
- Language: Go
- Homepage:
- Size: 2.96 MB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
locationdatabasepath: ./IP2LOCATION-LITE-DB5.BIN
recentssize: 40```