Sign inSign up

timx/tar-server

By timx

•Updated almost 7 years ago

A simple server to package all files in a folder into .tar file and serving it

Image
1

2.8K

timx/tar-server repository overview

⁠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>:<DIR_TO_SHARE> -e DIR_PATH="<DIR_TO_SHARE>" 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

Tag summary

Content type

Image

Digest

Size

369.3 MB

Last updated

almost 7 years ago

docker pull timx/tar-server