AI Sync logo AI Sync v0.0.3

Sync Your AI Configs
Across All Your Machines

One tool to rule them all. Manage CLAUDE.md, .cursorrules, GEMINI.md and more from a single source of truth.

Why AI Sync?

The Problem

You use Cursor, Claude, Copilot… each has its own config files scattered across dozens of repos.

The Privacy

These configs often contain personal preferences or sensitive prompts you don't want to commit to public repos.

The Chaos

Switching machines? Re-cloning? You lose your carefully crafted rules. Copy-pasting manually is tedious and error-prone.

How It Works

A background service watches your files and syncs them to a central git store.

Central Store (Local Git Repo) Sync Engine Target Repo A Target Repo B

Files are synced bidirectionally. Changes in Repo A → Store → Repo B.

Step 1

Base

Last known state

v1.0
Step 2

Local Change

You edited rules in Repo A

v1.1 (Modified)
Step 3

Auto-Merge

Syncs to Store w/o conflict

Synced

Main Features

Centralized Management

Keep your CLAUDE.md, .cursorrules, GEMINI.md in one safe place.

Bidirectional Sync

Edit in your repo OR in the dashboard. Changes propagate everywhere.

Multi-Machine

Works across Mac, Linux, and Windows. Syncs path mappings automatically.

Web Dashboard

A beautiful local UI to manage repos, view files, and resolve conflicts.

Git Integration

Automatically manages .gitignore in target repos so your personal configs stay personal.

Conflict Resolution

Visual 3-way merge tool for when you edit the same file on two machines.

Work Across Machines

Your store is just a Git repo. Push it to GitHub (private) and pull it on another machine.

Cloud Git Machine A (Mac) Machine B (Linux) git push/pull git push/pull

Installation & Usage

1. Install

git clone https://github.com/dinhanhthi/ai-sync
cd ai-sync
pnpm install
pnpm build

2. Run

# Start the app
pnpm start

# Open http://localhost:2703

3. Update

git pull
pnpm install
pnpm build
pnpm start