Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
/ http2back Public archive
forked from nmaupu/http2back

Push or get via HTTP(S) to different backends

License

Notifications You must be signed in to change notification settings

mirakl/http2back

 
 

Repository files navigation

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/mirakl/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 [email protected] 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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.3%
  • Makefile 4.6%
  • Dockerfile 3.1%