feat(koreader): Set public server as default for KOReader Sync (#1732)

This commit is contained in:
Zeedif
2025-10-24 16:37:22 -06:00
committed by GitHub
parent c35dd1a2c7
commit 4011a4c3ee
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -204,7 +204,7 @@ server.opdsCbzMimetype = "MODERN"
### KOReader Sync ### KOReader Sync
``` ```
server.koreaderSyncServerUrl = "http://localhost:17200" server.koreaderSyncServerUrl = "https://sync.koreader.rocks/"
server.koreaderSyncUsername = "" server.koreaderSyncUsername = ""
server.koreaderSyncUserkey = "" server.koreaderSyncUserkey = ""
server.koreaderSyncDeviceId = "" server.koreaderSyncDeviceId = ""
@@ -213,7 +213,7 @@ server.koreaderSyncPercentageTolerance = 1.0E-15 # range: [1.0E-15, 1.0]
server.koreaderSyncStrategyForward = PROMPT # PROMPT, KEEP_LOCAL, KEEP_REMOTE, DISABLED server.koreaderSyncStrategyForward = PROMPT # PROMPT, KEEP_LOCAL, KEEP_REMOTE, DISABLED
server.koreaderSyncStrategyBackward = DISABLED # PROMPT, KEEP_LOCAL, KEEP_REMOTE, DISABLED server.koreaderSyncStrategyBackward = DISABLED # PROMPT, KEEP_LOCAL, KEEP_REMOTE, DISABLED
``` ```
- `server.koreaderSyncServerUrl` where KOReader Sync Server is running. - `server.koreaderSyncServerUrl` where KOReader Sync Server is running. Public servers (e.g., `https://sync.koreader.rocks/`, `https://kosync.ak-team.com:3042/`) or self-hosted instances can also be used.
- `server.koreaderSyncUsername` the username with which to authenticate at the KOReader instance. - `server.koreaderSyncUsername` the username with which to authenticate at the KOReader instance.
- `server.koreaderSyncUserkey` the password/key with which to authenticate at the KOReader instance. - `server.koreaderSyncUserkey` the password/key with which to authenticate at the KOReader instance.
- `server.koreaderSyncDeviceId` a unique ID to identify Suwayomi at the KOReader Sync Server. Leave blank to auto-generate. - `server.koreaderSyncDeviceId` a unique ID to identify Suwayomi at the KOReader Sync Server. Leave blank to auto-generate.
@@ -600,7 +600,8 @@ class ServerConfig(
val koreaderSyncServerUrl: MutableStateFlow<String> by StringSetting( val koreaderSyncServerUrl: MutableStateFlow<String> by StringSetting(
protoNumber = 59, protoNumber = 59,
group = SettingGroup.KOREADER_SYNC, group = SettingGroup.KOREADER_SYNC,
defaultValue = "http://localhost:17200", defaultValue = "https://sync.koreader.rocks/",
description = "KOReader Sync Server URL. Public alternative: https://kosync.ak-team.com:3042/",
) )
val koreaderSyncUsername: MutableStateFlow<String> by StringSetting( val koreaderSyncUsername: MutableStateFlow<String> by StringSetting(