Public | Automated Build

Last pushed: 2 years ago
Short Description
Easy File Sync server
Full Description

Easync

Simple HTTP File Sync API

Requirements

  • Stack
  • Redis

Installation

git clone https://gitlab.com/theSuess/easync.git
cd easync
stack install
# start the redis server then:
easync

Usage

# Create a new User
curl -i -X POST -H "Username:Rick" -H "Password:Sanchez" localhost:3000/user/

# Upload a file
curl -i -X POST -F "file=@/path/to/your/file" \
    -H "Username:Rick" -H "Password:Sanchez" \
    localhost:3000/sync/filename

# Get the file
curl -i -H "Username:Rick" -H "Password:Sanchez" localhost:3000/sync/filename

Docker

docker run -d -p 3000:3000 thesuess/easync
Docker Pull Command
Owner
thesuess
Source Repository