ben-z / Silent-Sync

Automatically takes care of the file syncing while you work.
https://atom.io/packages/silent-sync
Other
8 stars 0 forks source link
atom coffeescript ssh sync

Silent Sync

As of Dec 6, 2019, this project is (officially) no longer active.

Build Status

Silent Sync is built for simplicity and clarity. With minimal setup, it automates the uploading process of working with a remote server.

Warning: this plugin is not yet compatible with windows, please check back in a week or two as it's under active development (unfortunately no longer active due to the lack of time, please check out atom-sync instead.) :smile:. (Of course, any help is greatly appreciated!)

Installation

apm install silent-sync

Features

Settings

Through atom's settings panel

Using silent-sync.json (Recommended)

using a configuration file has the benefit of having a unique configuration for each project.

Enable Use configuration file in atom's settings panel and add a silent-sync.json to your project root.

example silent-sync.json

{
  "enabled": true,
  "host": "somedomain.com",
  "port": 22,
  "username": "someone",
  "remoteDir": "/home/someone/Projects/myproject",
  "exclude": [
    "/someDir"
  ],
  "include": [
    "/someDir/something"
  ],
  "deleteRemoteFiles":true,
  "rsyncFlags": "avz"
}

After modifying the settings, restart the plugin by toggling it twice with ctrl-alt-s or using the menu to see the change take effect.

Troubleshooting

Error Possible Reasons
Code 255 Cannot connect to server. 1. Server is down. 2. Key file does not match. 3. Host is not trusted (try to ssh [YOUR_HOST] in terminal and try again.)
Always displaying SilentSync: Syncing Large projects can take a bit of time to sync. If it takes way too long, please create an issue with the steps to reproduce the problem.

Note: This is my first atom.io plugin, please feel free to send pull requests or report issues and bugs!