feat: add WebDAV cloud sync (pull from Clash Verge backups)#790
Open
muzi-xiaoren wants to merge 1 commit into
Open
feat: add WebDAV cloud sync (pull from Clash Verge backups)#790muzi-xiaoren wants to merge 1 commit into
muzi-xiaoren wants to merge 1 commit into
Conversation
Add a "WebDAV Sync" settings screen that connects to the same WebDAV server Clash Verge backs up to, downloads the latest backup zip, and imports its subscription profiles into CMFA — for seamless one-way sync from a Clash Verge desktop install. - WebDavClient: PROPFIND list + GET download (OkHttp, Basic auth) against the fixed `clash-verge-rev-backup/` directory Clash Verge uses - VergeBackup: unzip + parse profiles.yaml (SnakeYAML), extract remote (subscription) profiles; local/enhancement profiles are skipped - Idempotent import through the existing ProfileManager create+commit pipeline (dedup by source URL), validated by the mihomo core - New WebDAV settings entry/screen, credential storage in UiStore, EN/zh strings, SnakeYAML R8 keep rules Pull-only for now (no upload), so it can never overwrite desktop state. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a "WebDAV Sync" settings screen that connects to the same WebDAV server Clash Verge backs up to, downloads the latest backup zip, and imports its subscription profiles into CMFA — for seamless one-way sync from a Clash Verge desktop install.
clash-verge-rev-backup/directory Clash Verge usesPull-only for now (no upload), so it can never overwrite desktop state.