# [[Syncthing]] [site](https://syncthing.net/) ![[Syncthing.svg]] Syncthing is an [[opensource]] [[File Synchronization]] tool that allows devices to connect to each other remotely so that they can transfer files between them. Crucially, unlike services like [[Dropbox]], files are never stored in a central server; they are always kept only on the devices themselves. The Syncthing servers only store device IDs for the purpose of matching up devices with each other. ## Setting up Syncthing ### Installation On a Mac, run this command to install Syncthing. You'll need to install [[Homebrew]] first if you don't already have it installed. ``` brew install syncthing ``` Then run Syncthing: ```bash syncthing ``` This opens up Syncthing's management UI in your browser. For future reference, it's always at `http://localhost:8384` by default. ### Syncing to another device Install Syncthing on every device that you want to sync. Then, from the Syncthing UI on one of the devices, go to Actions > Show ID. You'll see a long string. Copy it. Then, from another device, click *Add a new remote device* and then add the ID you copied. This sends a request to the first device. Accept the request. Then, on the device with the folder you want to sync, click *Add folder* and fill out the information as necessary. Note that in the *Sharing* tab, you can also choose whether the sharing should be one-way (Send only) or two-way (Send and receive). Hit Save and the sync should start automatically. ### Keeping it going Syncthing is a service that runs on your device(s), but by default, it will be stopped when you close that terminal window. Follow the instructions [[How to leave a service running when the terminal window is closed on macOS|here]] to make sure Syncthing runs even when you close the window, and also starts up when you reboot your device. %% # Excalidraw Data ## Text Elements ## Drawing ```json { "type": "excalidraw", "version": 2, "source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.1.4", "elements": [ { "id": "4y8R7iOA", "type": "text", "x": 118.49495565891266, "y": -333.44393157958984, "width": 3.8599853515625, "height": 24, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "solid", "strokeWidth": 2, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 967149026, "version": 2, "versionNonce": 939059582, "isDeleted": true, "boundElements": null, "updated": 1713723615080, "link": null, "locked": false, "text": "", "rawText": "", "fontSize": 20, "fontFamily": 4, "textAlign": "left", "verticalAlign": "top", "containerId": null, "originalText": "", "lineHeight": 1.2 } ], "appState": { "theme": "dark", "viewBackgroundColor": "#ffffff", "currentItemStrokeColor": "#1e1e1e", "currentItemBackgroundColor": "transparent", "currentItemFillStyle": "solid", "currentItemStrokeWidth": 2, "currentItemStrokeStyle": "solid", "currentItemRoughness": 1, "currentItemOpacity": 100, "currentItemFontFamily": 4, "currentItemFontSize": 20, "currentItemTextAlign": "left", "currentItemStartArrowhead": null, "currentItemEndArrowhead": "arrow", "scrollX": 583.2388916015625, "scrollY": 573.6323852539062, "zoom": { "value": 1 }, "currentItemRoundness": "round", "gridSize": null, "gridColor": { "Bold": "#C9C9C9FF", "Regular": "#EDEDEDFF" }, "currentStrokeOptions": null, "previousGridSize": null, "frameRendering": { "enabled": true, "clip": true, "name": true, "outline": true } }, "files": {} } ``` %%