dev-resources.site
for different kinds of informations.
How I Sync my Obsidian Notes For Free !
I use Notion as my daily note-taking app. However, since all data in Notion is stored entirely in the cloud, Iâve noticed that the app can be slow to load and update notes. Iâve also observed a lag in syncing updates between my laptop and phone.
As a result, I began searching for alternatives and found two options: Anytype and Obsidian. Anytype has a limit of 1GB of cloud storage. Additionally, I wanted an option that allows me to keep my notes in Markdown format, so I decided to use Obsidian.
Obsidian is a great tool, but I missed the sync feature that Notion and Anytype offer. When I checked Obsidianâs website, I found that it charges $4 per month for sync, which adds up to around 4,000 Rupees per yearâtoo expensive for a sync feature, in my opinion.
Suddenly, the developer within me awoke, and I decided to build a setup for myself (time is less costly than money for me đ€Ș). But then I wondered if another developer might have already thought of this.
And yes, I was right!
I found a solution called Syncthing. Syncthing is a continuous file synchronization program. Itâs encrypted, open-source, and uses an open protocol. It works with macOS, Windows, Linux, and Android.
Hereâs a step-by-step guide to setting up folder sync between your Mac and Android phone using Syncthing:
Step 1: Install Syncthing on Your Mac
-
Download Syncthing:
- Visit the Syncthing official website.
- Download the macOS version of Syncthing.
-
Install Syncthing:
- Open the downloaded
.dmg
file. - Drag Syncthing to the Applications folder.
- Open the downloaded
-
Run Syncthing:
- Open Syncthing from the Applications folder.
- The first time you run it, your web browser will open to the Syncthing web interface.
-
Allow Syncthing through Firewall:
- If prompted, allow Syncthing to accept incoming network connections in the firewall settings.
Step 2: Install Syncthing on Your Android Phone
-
Download Syncthing:
- Open the Google Play Store on your Android phone.
- Search for âSyncthingâ and install it.
-
Run Syncthing:
- Open the Syncthing app on your Android phone.
- Allow the necessary permissions for storage and network access.
Step 3: Connect Your Mac and Android Phone
-
Find Your Device ID on Mac:
- In the Syncthing web interface on your Mac, go to the âActionsâ menu (three dots in the top right) and select âShow ID.â
- Copy the Device ID.
-
Add Your Macâs Device ID to Android:
- On your Android phone, open Syncthing.
- Tap the âAdd Deviceâ button (usually a â+â icon).
- Paste your Macâs Device ID and give it a name (e.g., âMy Macâ).
- Save the settings.
-
Add Your Androidâs Device ID to Mac:
- On your Android device, tap âShow Device IDâ in Syncthing and copy it.
- In the Syncthing web interface on your Mac, a dialog should appear asking if you want to add a new device (your Android device).
- Paste the Android device ID if necessary and give it a name (e.g., âMy Phoneâ).
- Click âSave.â
Step 4: Set Up Folder Sync
-
Add a Folder on Your Mac:
- In the Syncthing web interface on your Mac, click the âAdd Folderâ button.
- Select the folder you want to sync.
- Assign a label (e.g., âSync Folderâ).
- Share the folder with your Android device by selecting its name under the âSharingâ section.
- Click âSave.â
-
Add a Folder on Your Android Phone:
- On your Android device, tap the folder icon with a â+â in Syncthing.
- Choose âReceive Folderâ if you want to receive the folder from your Mac, or âSend & Receiveâ for bidirectional sync.
- Select a location on your phone where you want to store the synced folder.
- Confirm by tapping âAdd.â
Step 5: Start Syncing
-
Initiate Sync:
- Both devices should now be connected, and the folder will start syncing automatically.
- You can monitor the sync progress in the Syncthing interfaces on both devices.
-
Check the Sync:
- Modify a file in the folder on your Mac, and you should see the changes reflected on your Android phone within seconds.
Step 6: Customize Sync Settings (Optional)
-
Folder Settings:
- You can adjust the sync settings such as file versioning, rescan intervals, and file ignore patterns through the folder settings in the Syncthing interface.
-
Connection Settings:
- You can also configure connection settings like enabling or disabling relay and global discovery if youâre on the same local network.
Thatâs it! Youâve successfully set up Syncthing to sync a folder between your Mac and Android phone.
Featured ones: