Skip to content
Aiden2711Public

About

Vibe-coded, open source, Steam Cloud alternative for non-Steam games, emulated games,etc

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SaveSync

Your game saves, backed up, restored, and synced — without losing a byte.

An open-source backup and sync engine for emulator and PC game saves.
A Steam Cloud alternative that's local-first and fully offline-capable.

Engine Desktop UI Storage Status

A small disclaimer: I'm a first-year computer science student, so bear with me this project is very much a work in progress and, yes, it's vibe-coded. SaveSync is open source and aims to be a Steam Cloud alternative for emulators and PC games you own. Cloud syncing currently supports Google Drive, with other providers such as Dropbox, iCloud (that one is a bit harder), and self-hosted storage planned for the future.

SaveSync snapshots game saves into a local, versioned history you can browse, restore, and sync between devices. It's built around one core principle: a save file is irreplaceable. Nothing gets overwritten until a verified, recoverable copy exists somewhere else.

How it works

What How
Back up Snapshots every enrolled game's save locations into immutable, checksummed revisions stored locally in SQLite. Nothing is replaced without a verified, recoverable copy.
Restore Staged, journaled restores with rollback, so an interrupted restore never leaves a half-written save.
Sync History is a DAG of immutable revisions shared across devices; conflicts keep both revisions by default, and nothing is silently merged.
Discover Finds candidate save locations for your games, but never enrolls anything automatically — you choose each game and confirm its mode first.

The rules it never breaks

  • Never touches the only good copy. SaveSync will not modify or delete the only known-good copy of a save unless the operation is guaranteed to succeed — or a recoverable alternative already exists.
  • Everything is opt-in. Backups and sync start only after you manually enroll a game and confirm its enrollment mode. No automation without explicit consent.
  • Offline first. Local backup and restore work with no network at all. Google Drive is optional, never a runtime requirement.
  • Stable identity. Every enrolled game keeps a UUID that survives reinstalls, hardware swaps, and device changes.

Quick start

You need a Rust toolchain and Node.js installed.

Where What to do
1. Check the engine cd savesync-core && cargo test
2. Run the app cd savesync-desktop && ./scripts/dev.sh — starts Vite on 127.0.0.1:1420 together with the Tauri debug shell
3. Build installers cd savesync-desktop && ./scripts/build.sh

Components

Directory What it is
savesync-core/ Rust synchronization and save-management engine.
savesync-desktop/ Tauri 2 and React desktop application.
savesync-docs/ Architecture, roadmap, threat model, and testing documentation.
.opencode/ Project-specific coding agents and skills.

Under the hood

Piece Detail
Storage SQLite in WAL mode, with migrations applied through PRAGMA user_version. Stores the game registry, snapshots, operations, and conflicts.
History Revisions are immutable and form a DAG — history is not timestamps.
Sync providers A mockable storage-provider interface for remote upload/download. Google Drive v3 is implemented; local backup and restore never depend on it.
Platform adapters Pluggable adapters for save discovery, isolated from the core.
Release verification One command checks everything: ./savesync-docs/scripts/maint/verify-release.sh.

Documentation

Document What's inside
savesync-docs/architecture.md System architecture and module boundaries.
savesync-docs/roadmap.md Phased plan, from safe local foundation to production hardening.
savesync-docs/sync-protocol.md The revision DAG, snapshot tracking, and conflict protocol.
savesync-docs/threat-model.md Threat model for save data and filesystem boundaries.
savesync-docs/testing-strategy.md Testing strategy across engine, safety, and desktop layers.
savesync-docs/ADR-0001.md Architecture decision record: core technology stack.

Status

Phase State
Phase 0 — Setup & Architecture Done
Phase 1 — Safe Local Foundation Done
Phase 2 — Cloud Sync & DAG Engine (incl. Google Drive v3) Done
Phase 3 — Platform Adapters & Production Hardening In progress

All verification commands
# Core engine tests
cd savesync-core && cargo test

# Rust formatting and lints
cd savesync-core && cargo fmt --all && cargo clippy --all-targets -- -D warnings

# Desktop production frontend and binary
cd savesync-desktop && npm run build

# Desktop shell lints and tests
cd savesync-desktop/src-tauri && cargo clippy --all-targets -- -D warnings
cd savesync-desktop/src-tauri && cargo test

# Database behavior: migrations, WAL, foreign keys
cd savesync-core && cargo test --lib db::tests

# Enrollment gating and discovery candidates
cd

About

Vibe-coded, open source, Steam Cloud alternative for non-Steam games, emulated games,etc

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages