You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems you've correctly configured the sync server.
2
+
3
+
Before anything, check out this video where I explained how to connect the app and the server. That should clear up most things.
4
+
5
+
This server is only meant to communicate with the **Linkora** apps that are available on both **Android** and **Desktop**. You can't use this server with them as there's no frontend client on web yet. Well, you can if you set up your own thing from scratch that connects to this server and does what it's supposed to do.
6
+
7
+
## Important Notes
8
+
9
+
#{PLACEHOLDER_1}
10
+
11
+
### **HTTPS Support**
12
+
- If you're **hosting locally**, you **can't connect** via **HTTPS** right now.
13
+
- HTTPS requires a **trusted certificate** from a recognized Certificate Authority (CA), which isn’t typically applicable for local setups.
14
+
- The other way is to manually generate a self-signed certificate and configure it, which may be added in future versions.
15
+
- If you're **hosting on a cloud service**, you can use HTTPS by setting up an SSL certificate through your provider.
16
+
17
+
### **Database & Data Syncing**
18
+
- Apps have their **own databases**.
19
+
- This server is **only meant to store your data** in the local system that you're currently running on.
20
+
- If, for some reason, data gets deleted (maybe uninstalled or whatever), you can **connect to this server**, and the app will **pull everything** from the database that’s currently on your machine to its local database.
21
+
-**i.e.,**
22
+
- The app has its **own database**.
23
+
- This server is now **connected to a database**.
24
+
- Linkora **app and server sync data** between the app and the database.
25
+
26
+
### **Deletion Behavior**
27
+
- If something gets **deleted from the Linkora app(s)** while you have a server saved on clients, even if the server is **not up**, it will be **deleted as soon as the server is up** and you open the Linkora app.
28
+
-**It's gone, that’s it. You can't undo this.**
29
+
- (*I should probably add a trash mechanism instead of deleting permanently, but for now, this can't be undone.*)
30
+
31
+
### **LWW (Last-Write-Wins) Implementation**
32
+
- This server follows **LWW (Last-Write-Wins)**.
33
+
- Even if your clients have a saved connection, if the **server is offline**, the **most recently edited data** (from any client) will be updated in the database on your machine once the server is back online and the client apps reconnect.
34
+
35
+
### **Blank Pages on Other Routes**
36
+
- If you're seeing blank pages for other routes, that's completely normal since there's no UI with this server except for this page.
37
+
38
+
## Troubleshooting & Additional Help
39
+
- If something isn’t covered here, check out the **YouTube video** where I explained how to connect the app and the server.
40
+
- Also, go through **GitHub issues**; you might find the solution there.
41
+
- If not, **create an issue on GitHub**, and I'll fix it when I get some time.
0 commit comments