Skip to content

hazell20/seedsync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeedSync

SeedSync is a GUI-configurable, LFTP-based file transfer and management program. With a LFTP backend, it can fetch files from a remote server (like your seedbox) at maximum throughput. Fully GUI-configurable means not having to muck around with scripts. SeedSync also allows you to extract archives and delete files on both the local machine and the remote server, all from the GUI!

SeedSync currently supports the following features:

  • LFTP-backend for high-throughput, parallel transfers
  • Web-based GUI accessible from any device
  • View and control progress of file transfers from GUI
  • Extract/decompress archive files
  • Delete local or remote files
  • Auto-Queue + Auto-Extract - automatically download and extract files as soon as they appear on your seedbox
  • Only fetch the files you want with Auto-Queue pattern matching
  • Fully open source!

Supported OS:

  • Linux (debian package, docker image)
  • Windows (docker image)
  • MacOS (docker image)

Tested on:

  • Ubuntu 14.04 and above
  • Windows 10 Home

Screenshots

Dashboard on Desktop Dashboard on Mobile Change LFTP settings from GUI
Dashboard on Desktop Dashboard on Mobile Change LFTP settings from GUI

Installation

Installation options are:

Ubuntu Deb Package

  1. Download the deb package from the latest release

  2. Install the deb package:

    sudo dpkg -i <deb file>
  3. During the first install, you will be prompted for a user name: Install prompt for username This is the user under which the seedsync service will run. The transferred files will be owned by this user. It is recommended that you set this to your user (and NOT root).

  4. After the installation is complete, verify that the application is running by going to http://localhost:8800 in your browser.

  5. Go to the Settings page and fill out the required information. While password-based login is supported, key-based authentication is highly recommended! See the Key-Based Authentication Setup section for details.

Docker Image on Linux

  1. Run the docker image with the following command:

    docker run -p 8800:8800 -v <downloads directory>:/downloads ipsingh06/seedsync

    where <downloads directory> refers to the location on host machine where downloaded files will be placed.

  2. Access application GUI by going to http://localhost:8800 in your browser.

  3. Go to the Settings page and fill out the required information. While password-based login is supported, key-based authentication is highly recommended! See the Key-Based Authentication Setup section for details.

Docker Image on Windows

SeedSync supports Windows via the Docker container.

  1. Install Docker on Windows.

    1. Docker for Windows if you have Windows 10 Pro or above

    2. Docker Toolbox if you have Windows 10 Home or below

  2. Make sure you can successfully run the Hello World app in Docker.

  3. Open the Docker terminal and run the SeedSync image with the following command:

    docker run -p 8800:8800 -v <downloads directory>:/downloads ipsingh06/seedsync

    where <downloads directory> refers to the location on host machine where downloaded files will be placed. Note: the Windows host machine path is specified as /c/Users/...

  4. Access application GUI to verify SeedSync is running. Docker on Windows may not forward port to the local host. We need to find the IP address of the container.

    1. Open a new Docker terminal and run the command:

      docker-machine ip
      192.168.100.17
    2. Open <ip address>:8800 in your browser. In this example that would be http://192.168.100.17:8800

    3. Verify that SeedSync dashboard loads.

  5. Go to the Settings page and fill out the required information. While password-based login is supported, key-based authentication is highly recommended! See the Key-Based Authentication Setup section for details.

Usage

SeedSync's web-based GUI can be accessed at http://localhost:8800.

You may also access it from another device by replacing 'localhost' with the IP address or hostname of the machine where it is installed.

Password-less/Key-based Authentication Setup

Password-based access to your remote server is highly unsecure. It is strongly recommended that you setup key-based authentication.

  1. You will need to generate a public-private key pair. Here is a simple tutorial that walks you through this process.

    Note: make sure the access is setup for the user under which SeedSync is running.

    Note2: if you're using docker, also see the Installing SSH Keys into the Docker Container section.

  2. Before continuing, verify the password-less access by SSH'ing into your remote server in a terminal:

    ssh <remote user>@<remote server>

    You should be able to log in to the remote server without being prompted for a password

  3. Update the settings

    1. Access the web GUI and choose the Settings page from the menu.
    2. Replace your password in the "Server Password" field with anything else (it can't be empty).
    3. Select "Use password-less key-based authentication".
    4. Restart SeedSync

Installing SSH Keys into the Docker Container

  1. Generate a SSH private/public key pair. Here is a simple tutorial that walks you through this process.

  2. Run this command in a new Docker terminal while the SeedSync container is running:

    docker container ls
    
    CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS              PORTS                    NAMES
    28c87db489e1        ipsingh06/seedsync   "/bin/sh -c '/app/..."   12 seconds ago      Up 11 seconds       0.0.0.0:8800->8800/tcp   pedantic_raman

    Note down the container id for the image named ipsingh06/seedsync. It this example the container id is 28c87db489e1

  3. Copy the private key 'id_rsa' that you generated earlier into the container:

    docker cp id_rsa 28c87db489e1:/root/.ssh/
  4. Set the correct permissions on the private key

    docker exec 28c87db489e1 chmod 600 /root/.ssh/id_rsa
  5. Verify that the container can SSH into remote server without password.

    docker exec -it 28c87db489e1 ssh <username>@<address>

    where <username> and <address> are the username and address of the remote server.

Dashboard

The Dashboard page shows all the files and directories on the remote server and the local machine. Here you can manually queue files to be transferred, extract archives and delete files.

AutoQueue

AutoQueue queues all newly discovered files on the remote server. You can also restrict AutoQueue to pattern-based matches (see this option in the Settings page). When pattern restriction is enabled, the AutoQueue page is where you can add or remove patterns. Any files or directories on the remote server that match a pattern will be automatically queued for transfer.

Report an Issue

Please report any issues on the issues page. Please post the logs as well. The logs are available at:

  • Deb install: <user home directory>/.seedsync/log/seedsync.log
  • Docker: Run docker logs <container id>

FAQ

How do I restart SeedSync?

SeedSync can be restarted from the web GUI. If that fails, you can restart the service from command-line:

sudo service seedsync restart

SeedSync can't seem to connect to my remote server?

Make sure your remote server address was entered correctly. If using password-based login, make sure the password is correct. Check the logs for details about the exact failure.

How can I save my settings across updates when using the Docker image?

To maintain state across updates, you can store the settings in the host machine. Add the following option when starting the container.

-v <directory on host>:/config

where <directory on host> refers to the location on host machine where you wish to store the application state.

License

SeedSync is distributed under Apache License Version 2.0. See License.txt for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 69.8%
  • TypeScript 25.1%
  • CSS 1.8%
  • HTML 1.8%
  • Shell 0.6%
  • Dockerfile 0.5%
  • Other 0.4%