Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>SoloSyncNew to Visual Studio Code? Get it now.
SoloSync

SoloSync

SZLK

|
7 installs
| (0) | Free
Automatically protect a project folder you choose with restorable snapshots in storage you control.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SoloSync

SoloSync protects the code that Git has not protected yet. It creates restorable snapshots of the project folder you choose in Google Drive, on a directly connected QNAP NAS, or in a local or mounted folder.

What the first release does

  • Creates a snapshot manually from the Command Palette, Explorer, status bar, or SoloSync sidebar.
  • Automatically creates a snapshot after the current Git commit changes.
  • Creates an idle snapshot after workspace files stop changing.
  • Keeps Git branch, commit, message, and dirty-state context with every snapshot.
  • Shows snapshot history inside VS Code.
  • Shows current Google Drive backup files in the sidebar, grouped by project and folder.
  • Restores a whole snapshot into a new folder without overwriting the current workspace.
  • Restores one selected file to a location you choose.
  • Verifies every restored snapshot with SHA-256 hashes.
  • Backs up only the project folder you explicitly choose, even when VS Code has a broader parent folder open.
  • Shows scanning and copying progress with a Cancel button that discards the incomplete snapshot.
  • Reuses unchanged file contents across snapshots instead of uploading another complete directory tree.
  • Records connection time, each scanning/copying/upload/verification/publication phase duration, and total elapsed time in SoloSync: Show Backup Logs without writing file contents, local paths, credentials, or raw provider errors to the log.

SoloSync never synchronizes remote deletions back into your workspace. The first release also never deletes old snapshots automatically.

Start protecting a project

  1. Open the SoloSync sidebar and run SoloSync: Setup.
  2. Choose the project folder you want SoloSync to protect.
  3. Choose Google Drive, QNAP NAS, a local folder, or a mounted NAS share for snapshots.
  4. Run SoloSync: Back Up Now. The progress notification can cancel an incorrect or unexpectedly large backup.

The sidebar Setup button keeps the two choices separate: Project folder is what SoloSync backs up, while Backup location is where snapshots are stored. Google Drive opens its normal browser sign-in and then uses the visible SoloSync Backups folder; no desktop sync folder is required. A QNAP can be connected directly with the HTTPS address of a WebDAV-enabled shared folder. Other NAS shares must already be mounted by your operating system. SoloSync checks that the selected location is available and writable. A mounted backup folder inside the selected project is automatically excluded from snapshots.

Backup Settings keeps the destination, QNAP HTTPS address and secure sign-in, backup timing, and exclusions in one entry point. QNAP passwords remain hidden in VS Code secure storage rather than appearing in settings.json. The sidebar shows the selected project, storage type, and destination folder, and provides recovery actions if either location becomes unavailable.

Future snapshots appear in the SoloSync activity bar. When Google Drive is connected, Backup Files shows the current readable copy of each protected file under its project and folder. Use a file's inline actions to restore it from the latest completed snapshot or open it in Google Drive. The view loads on demand and refreshes after a completed backup; it does not poll Drive in the background. Restoring from this view reads only the latest manifest, so the request count does not grow with snapshot history. Git commit backups are enabled by default. Idle backups default to ten minutes and can be changed in VS Code Settings.

Restoring safely

Open SoloSync → Backup History, then use a snapshot's restore action. Full snapshots always restore into a newly created directory. SoloSync does not overwrite the open workspace.

Use Restore File when only one file is needed. You select the file from the snapshot and then choose its destination.

What is stored

Local folders and QNAP use the logical snapshot structure below:

SoloSync/<project-id>/
  objects/<sha256>                 # one verified copy of each distinct file content
  snapshots/<snapshot-id>/
    manifest.json                  # the complete restorable file list for this point in time

Each snapshot is logically complete, but its unchanged bytes are not copied again. The manifest maps every relative project path to a stable SHA-256 content object, so old and new snapshots remain independently restorable while a repeated unchanged snapshot uploads only its manifest. Snapshots created by older SoloSync versions with files inside each snapshot remain readable and restorable. The manifest never stores the original absolute workspace path.

Google Drive keeps the same logical model without creating a folder and a file named manifest.json for every automatic backup:

SoloSync Backups/
  Backup History/
    <snapshot-time-and-id>.json    # compact records for every project
    Previous File Versions/        # superseded contents retained for restore
  <project-name>/
    <relative-path>/
      <original-file-name.ext>     # one stable current file per source path

The single Backup History folder contains the small records SoloSync needs for restore and one Previous File Versions folder with immutable restore contents. A single-root project folder directly mirrors that root's relative directories instead of repeating the workspace folder name; multi-root projects keep one named folder per root so equal relative paths remain distinct. When a file changes, SoloSync updates that current file in place with the same Drive file ID. The current view changes only after its snapshot is published; if overlapping backups finish out of order, SoloSync reconciles it to the newest published snapshot. Historical contents stay separate and content-addressed, so every published snapshot remains independently restorable and identical bytes can still be reused across paths. Existing hash-named objects and duplicate visible objects created by version 0.0.12 are migrated when the project is next backed up. On the next backup, SoloSync moves current files out of the redundant single-root folder created by version 0.0.13 without changing their Drive IDs, then preserves that old folder and anything else inside it under Backup History as Previous Folder Layout - <folder name>. Older snapshot folders remain readable and restorable, but new backups do not create them.

The tested Google Drive path stays below the 30-request target: at most 26 remote requests for the first empty backup including connection, first-time folder creation, and the one-time layout marker; 23 for a changed small-file snapshot on an active connection; 12 for an unchanged snapshot; and 22 for reconnect plus an unchanged backup. Replacing an existing visible file uses at most 15 requests; changing back to content already retained in history uses at most 12. These are single-page test-model ceilings and include the deterministic ID-pool refill exercised by the test sequence. SoloSync reserves 100 IDs at once so subsequent refills are amortized. Unchanged historical objects are checked together using Drive's SHA-256 metadata instead of being downloaded one by one. Files up to 5 MiB use one multipart request; larger files retain resumable transfer protection with 8 MiB chunks. A changed file is transferred to immutable history and to its readable current copy, so actual time for large or numerous changes still depends on the bytes that must cross the network.

Defaults and exclusions

SoloSync skips symbolic links and excludes common generated directories including .git, node_modules, dist, build, out, .next, and .cache. You can change exclusions with the solosync.exclude setting.

Before the first Google Drive upload, SoloSync detects common secret-bearing files such as .env, PEM keys, and id_rsa*, then lets you exclude them or remember an explicit include choice. You can clear those remembered choices in SoloSync: Backup Settings. Transfers use HTTPS, but snapshots remain readable at the chosen destination because client-side encryption is not part of this release.

Storage support

SoloSync supports:

  • A QNAP shared folder connected directly over HTTPS.
  • A local external disk.
  • A NAS share mounted with SMB or another operating-system-supported protocol.
  • Google Drive through native browser sign-in and the Drive API, including browser-based Coder/code-server and remote VS Code environments.

Connect Google Drive

  1. Choose Backup location → Google Drive.
  2. Complete Google sign-in in your browser. Local desktop VS Code returns automatically; browser and remote environments show a one-time SoloSync code to paste back into the connection prompt.
  3. SoloSync creates or finds SoloSync Backups, verifies the connection, and shows the connected Google account.

SoloSync requests only drive.file, so it can manage files it creates without receiving access to the rest of your Drive. The authorization service handles the fixed HTTPS callback needed by browser and remote environments; backup file contents still transfer directly between the extension and Google Drive and are not sent through that service. Disconnecting keeps existing backups. Revoking access also keeps backups but requires every installation using that Google authorization to sign in again.

The public SoloSync home page, privacy policy, and terms of service describe the same Google data path and readable-backup boundary shown in the extension. The official square application logo is available as a PNG for the Google OAuth consent screen.

Connect QNAP NAS

  1. On the NAS, create a dedicated shared folder and a non-administrator account that can read and write only that folder.
  2. In QTS, open Control Panel → Network & File Services → Win/Mac/NFS/WebDAV → WebDAV, enable WebDAV, and use HTTPS.
  3. Make the shared folder available through a trusted HTTPS address. A private VPN address is preferred; do not expose QTS, SMB, or SSH just for SoloSync.
  4. In SoloSync, choose Backup location → QNAP NAS and enter the complete shared-folder address, username, and password.

SoloSync tests the connection by creating, reading, moving, and removing one temporary test folder. The password is kept in VS Code secure storage. A backup is reported as protected only after every uploaded file has been read back and verified, and the completed snapshot appears in remote history.

Use SoloSync: Browse and Restore Backups to recover a project even when its original folder or computer is unavailable. See the QNAP implementation and security design for supported gateway and authentication boundaries.

See the native Google Drive connection design and product design for the storage and security model.

Development

npm ci
npm test
npm run package

The packaged VSIX can be installed through Extensions → … → Install from VSIX.

Privacy and security

  • Workspace contents are written only to the destination you choose.
  • The small SoloSync authorization service exchanges and refreshes Google credentials for browser and remote environments. It does not receive backup file names or contents; Drive uploads and downloads go directly to Google.
  • Snapshot verification uses SHA-256.
  • Full restore is non-destructive by default.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft