obourgain / http2back

Push or get via HTTP(S) to different backends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Go Report Card

What is http2back

http2back provides a HTTP server to upload files to various backends :

  • Filesystem
  • FTP
  • AWS S3
  • Dropbox

Building

Requirements :

  • Go lang > 1.5
  • glide
git clone https://github.com/nmaupu/http2back
cd http2back
glide install && make

Usage

Once configured (see next section), just run the server :

./http2back filesystem --dest=/tmp
2017/10/11 11:30:44 Starting http server on 127.0.0.1:8080 using provider Filesystem (tmp)

Send something using the client of your choice :

curl -X PUT -F file=@file-42.lol http://127.0.0.1:8080/

Configuration

Configuration is done using command arguments :

./http2back [--bind=<binding-address>] [--port=<server-port>] COMMAND [OPTS]

Each command corresponds to one provider, pop help using :

./http2back COMMAND help

Dependencies

The following dependencies have been used :

About

Push or get via HTTP(S) to different backends

License:The Unlicense


Languages

Language:Go 98.1%Language:Makefile 1.9%