Syncthing: Difference between revisions

From wikinotes
No edit summary
Line 28: Line 28:


</blockquote><!-- Locations -->
</blockquote><!-- Locations -->
= Clients =
<blockquote>
{| class="wikitable"
|-
| [[mobius sync]] || ios synchronization client
|-
| [[syncthing-gtk]] || UI/systemtray for syncthing
|-
|}
</blockquote><!-- Clients -->


= Configuration =
= Configuration =
Line 60: Line 71:
</blockquote><!-- Install -->
</blockquote><!-- Install -->


= Clients =
= Usage =
<blockquote>
== Sharing Device IDs ==
<blockquote>
Before computers can share a folder, both must add the other's device ID.
 
<syntaxhighlight lang="yaml">
# on one syncthing
syncthing-gtk
  - Settings: Show ID
 
# on the other
syncthing UI:
  - Add Remote Device:
</syntaxhighlight>
</blockquote><!-- Sharing Device IDs -->
 
== Sharing Folders ==
<blockquote>
<blockquote>
{| class="wikitable"
After each device has added the other, you can share existing folders.<br>
|-
From the computer with the share, choose to share with the other.
| [[mobius sync]] || ios synchronization client
 
|-
<syntaxhighlight lang="yaml">
| [[syncthing-gtk]] || UI/systemtray for syncthing
Folders: org-mode
|-
  - Edit:
|}
    - Tab: Sharing
</blockquote><!-- Clients -->
    - Unshared Devices:
      - [x] your-other-device
    - Save
</syntaxhighlight>
</blockquote><!-- Sharing Folders -->
</blockquote><!-- Usage -->

Revision as of 00:02, 29 January 2023

self-hosted file synchronization tool written in go.
one server install can host, and control access to multiple shared folders.

Documentation

official docs https://docs.syncthing.net/
docs: cli https://docs.syncthing.net/users/syncthing.html
github https://github.com/syncthing/syncthing
home https://syncthing.net/

Locations

${syncthing_home}/config.xml depending on config, maybe user-home, or daemon-home
http://127.0.0.1:8384 default web-ui

Clients

mobius sync ios synchronization client
syncthing-gtk UI/systemtray for syncthing

Configuration

<configuration version="37">
  <gui enabled="true" tls="true" debugging="false">
    <address>127.0.0.1:8384</address>
  </gui>
</configuration>

Install

pacaur -S syncthing

sudo systemctl --user enable syncthing.service
sudo systemctl --user start syncthing.service
pkg install syncthing

# rc.conf
syncthing_enable="YES"
syncthing_home="/usr/local/etc/syncthing"
syncthing_user="syncthing"
syncthing_group="syncthing"

Usage

Sharing Device IDs

Before computers can share a folder, both must add the other's device ID.

# on one syncthing
syncthing-gtk
  - Settings: Show ID

# on the other
syncthing UI:
  - Add Remote Device:

Sharing Folders

After each device has added the other, you can share existing folders.
From the computer with the share, choose to share with the other.

Folders: org-mode
  - Edit:
    - Tab: Sharing
    - Unshared Devices:
      - [x] your-other-device
    - Save