141 lines
4.0 KiB
Plaintext
141 lines
4.0 KiB
Plaintext
This file contains Self-hosted LiveSync settings as YAML.
|
|
Except for the `livesync-setting` code block, we can add a note for free.
|
|
|
|
If the name of this file matches the value of the "settingSyncFile" setting inside the `livesync-setting` block, LiveSync will tell us whenever the settings change. We can decide to accept or decline the remote setting. (In other words, we can back up this file by renaming it to another name).
|
|
|
|
We can perform a command in this file.
|
|
- `Parse setting file` : load the setting from the file.
|
|
|
|
**Note** Please handle it with all of your care if you have configured to write credentials in.
|
|
|
|
|
|
````yaml:livesync-setting
|
|
remoteType: ""
|
|
useCustomRequestHandler: false
|
|
couchDB_URI: http://couch.bruynooghe.dev/
|
|
couchDB_DBNAME: obsidian
|
|
liveSync: true
|
|
syncOnSave: true
|
|
syncOnStart: false
|
|
savingDelay: 200
|
|
lessInformationInLog: false
|
|
gcDelay: 0
|
|
versionUpFlash: ""
|
|
minimumChunkSize: 20
|
|
longLineThreshold: 250
|
|
showVerboseLog: false
|
|
suspendFileWatching: false
|
|
trashInsteadDelete: true
|
|
periodicReplication: false
|
|
periodicReplicationInterval: 60
|
|
syncOnFileOpen: false
|
|
encrypt: false
|
|
usePathObfuscation: false
|
|
doNotDeleteFolder: true
|
|
resolveConflictsByNewerFile: true
|
|
batchSave: false
|
|
batchSaveMinimumDelay: 5
|
|
batchSaveMaximumDelay: 60
|
|
deviceAndVaultName: ""
|
|
usePluginSettings: false
|
|
showOwnPlugins: false
|
|
showStatusOnEditor: true
|
|
showStatusOnStatusbar: true
|
|
showOnlyIconsOnEditor: false
|
|
usePluginSync: true
|
|
autoSweepPlugins: true
|
|
autoSweepPluginsPeriodic: true
|
|
notifyPluginOrSettingUpdated: true
|
|
checkIntegrityOnSave: false
|
|
batch_size: 25
|
|
batches_limit: 25
|
|
useHistory: true
|
|
disableRequestURI: true
|
|
skipOlderFilesOnSync: true
|
|
checkConflictOnlyOnOpen: false
|
|
showMergeDialogOnlyOnActive: false
|
|
syncInternalFiles: true
|
|
syncInternalFilesBeforeReplication: false
|
|
syncInternalFilesIgnorePatterns: \/node_modules\/, \/\.git\/, \/obsidian-livesync\/
|
|
syncInternalFilesInterval: 60
|
|
additionalSuffixOfDatabaseName: 3719da583cc6987d
|
|
ignoreVersionCheck: false
|
|
lastReadUpdates: 23
|
|
deleteMetadataOfDeletedFiles: true
|
|
syncIgnoreRegEx: ""
|
|
syncOnlyRegEx: ""
|
|
customChunkSize: 50
|
|
readChunksOnline: true
|
|
watchInternalFileChanges: true
|
|
automaticallyDeleteMetadataOfDeletedFiles: 0
|
|
disableMarkdownAutoMerge: false
|
|
writeDocumentsIfConflicted: false
|
|
useDynamicIterationCount: false
|
|
syncAfterMerge: false
|
|
configPassphraseStore: ""
|
|
permitEmptyPassphrase: false
|
|
useIndexedDBAdapter: true
|
|
useTimeouts: false
|
|
writeLogToTheFile: false
|
|
doNotPaceReplication: false
|
|
hashCacheMaxCount: 300
|
|
hashCacheMaxAmount: 50
|
|
concurrencyOfReadChunksOnline: 30
|
|
minimumIntervalOfReadChunksOnline: 25
|
|
hashAlg: xxhash64
|
|
suspendParseReplicationResult: false
|
|
doNotSuspendOnFetching: false
|
|
useIgnoreFiles: false
|
|
ignoreFiles: .gitignore
|
|
syncOnEditorSave: false
|
|
pluginSyncExtendedSetting:
|
|
PLUGIN_DATA/folder-note-plugin:
|
|
key: PLUGIN_DATA/folder-note-plugin
|
|
mode: 1
|
|
files:
|
|
- plugins/folder-note-plugin/data.json
|
|
PLUGIN_MAIN/folder-note-plugin:
|
|
key: PLUGIN_MAIN/folder-note-plugin
|
|
mode: 1
|
|
files:
|
|
- plugins/folder-note-plugin/manifest.json
|
|
- plugins/folder-note-plugin/main.js
|
|
- plugins/folder-note-plugin/styles.css
|
|
PLUGIN_DATA/obsidian-livesync:
|
|
key: PLUGIN_DATA/obsidian-livesync
|
|
mode: 1
|
|
files:
|
|
- plugins/obsidian-livesync/data.json
|
|
PLUGIN_MAIN/obsidian-livesync:
|
|
key: PLUGIN_MAIN/obsidian-livesync
|
|
mode: 1
|
|
files:
|
|
- plugins/obsidian-livesync/manifest.json
|
|
- plugins/obsidian-livesync/main.js
|
|
- plugins/obsidian-livesync/styles.css
|
|
syncMaxSizeInMB: 50
|
|
settingSyncFile: settings
|
|
writeCredentialsForSettingSync: false
|
|
notifyAllSettingSyncFile: true
|
|
isConfigured: true
|
|
settingVersion: 0
|
|
enableCompression: false
|
|
accessKey: ""
|
|
bucket: ""
|
|
endpoint: ""
|
|
region: auto
|
|
secretKey: ""
|
|
useEden: false
|
|
maxChunksInEden: 10
|
|
maxTotalLengthInEden: 1024
|
|
maxAgeInEden: 10
|
|
disableCheckingConfigMismatch: false
|
|
displayLanguage: ""
|
|
enableChunkSplitterV2: false
|
|
disableWorkerForGeneratingChunks: false
|
|
processSmallFilesInUIThread: false
|
|
notifyThresholdOfRemoteStorageSize: 0
|
|
usePluginSyncV2: false
|
|
usePluginEtc: false
|
|
|
|
```` |