tar-server

command module
v0.0.0-...-161545e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 10 Imported by: 0

README

Tar Server

CircleCI Maintainability Test Coverage Go Report Card

This server will package the selected folder into a .tar and to be downloaded into the user PC

Motivation

This application is to develop to solve the annoying problem of transferring files from the stored data PC to the host PC by plugging USB hard drive. This method is slow and time consuming, besides when transfering large files into the USB hard drives, it will usually slow down to few MB/s. This application will solve this annoying problem and will constantly stream the data at maximum ethernet speed.

Now you could enjoy fast transfer of large data to your host PC :)

Deployment using Docker
docker run -it --rm -v <DIR_TO_SHARE>:/data timx/tar-server
Deployment using Docker compose
version: "3"

services:
    tarserver:
        image: timx/tar-server
        ports:
            - "3000:3000"
        environment:
            - DIR_PATH=<DIR_TO_SHARE>
        volumes:
            - <DIR_TO_SHARE>:<DIR_TO_SHARE>:ro
Build from source
go build && ./tar-server

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL