Docs

How Macy~Sync works

From the first run to the agent that finishes the setup.

Status

MacySync is in early development and not released yet. Working today: each Mac's identity and look, the bus repo, finding the Macs on your account, Send or Receive with approval, the encrypted Mac to Mac stream and the setup brief. Being built now: the Pick tree and the Move screen.

What you need

  • Two Macs, both running MacySync.
  • One GitHub account, signed in on both (the GitHub CLI works too).
  • The two Macs on the same network, or both on Tailscale.
  • For the setup step, an agent: Claude Code, Codex, OpenRouter, Ollama or a command of your own.

First run

MacySync gives the Mac a random eight digit id, takes its computer name, and reads the hardware to guess the model and colour it draws. Change the name and the look on the Device tab. It then makes or picks your private bus repo and registers the Mac there with its public key.

Find and pair

On the right, press Find Macs on this account. Point at a Mac to light it up, click to pick it. Between the two, press Send or Receive; the other Mac shows a request and its owner approves it. The direction holds for this session only.

Pick and move

The sender offers a tree: categories, apps or folders, then the parts of each. The receiver ticks what it wants; ticking a parent ticks every leaf under it. Only the ticked leaves travel, straight from Mac to Mac. Things that can be rebuilt, like caches and node_modules, can be left out.

The agent

Each item lands in a staging folder, then in place; whatever was already there is kept. The new Mac writes AGENTS.md and GOAL.md into the transfer folder and runs the agent command you chose, for example:

cd {dir} && claude "Read AGENTS.md and GOAL.md in this folder and do what they say."

Security

Small things on GitHub (the offer, the picks, the stream key) are sealed boxes to the other Mac's public key (X25519, XSalsa20-Poly1305). The files go as an XChaCha20-Poly1305 stream under a random key only the two Macs know; every frame is authenticated, and a cut stream fails instead of ending early. The device secret stays in a file only you can read.

Command line

macysync              open the window
macysync --demo       the window on made-up Macs; touches nothing
macysync --detect     what this Mac reports about itself and the look it gets
macysync --scan       what this Mac can offer, with sizes

Durum

MacySync erken geliştirme aşamasında, henüz yayınlanmadı. Bugün çalışanlar: her Mac'in kimliği ve görünümü, bus deposu, hesaptaki Mac'leri bulma, onaylı Gönder ya da Al, Mac'ten Mac'e şifreli akış ve kurulum notu. Şu an yapılanlar: Seç ağacı ve Taşı ekranı.

Ne gerekir

  • İkisinde de MacySync çalışan iki Mac.
  • İkisinde de girişi yapılmış tek bir GitHub hesabı (GitHub CLI da olur).
  • Aynı ağda ya da ikisi de Tailscale'de iki Mac.
  • Kurulum adımı için bir ajan: Claude Code, Codex, OpenRouter, Ollama ya da kendi komutun.

İlk açılış

MacySync Mac'e sekiz haneli rastgele bir kimlik verir, bilgisayar adını alır ve çizeceği modeli ve rengi tahmin etmek için donanımı okur. Adı ve görünümü Cihaz sekmesinden değiştirebilirsin. Sonra özel bus deposunu oluşturur ya da seçer ve Mac'i açık anahtarıyla oraya kaydeder.

Bul ve eşleş

Sağda Bu hesaptaki Mac'leri bul'a bas. Bir Mac'in üstüne gel, ekranı yansın; tıklayıp seç. İkisinin arasında Gönder ya da Al'a bas; diğer Mac bir istek gösterir ve sahibi onaylar. Yön yalnızca bu oturum için geçerlidir.

Seç ve taşı

Gönderen bir ağaç sunar: kategoriler, uygulamalar ya da klasörler, sonra her birinin parçaları. Alan istediklerini işaretler; bir üst öğeyi işaretlemek altındaki her şeyi işaretler. Yalnızca işaretlenenler gider, doğrudan Mac'ten Mac'e. Önbellekler ve node_modules gibi yeniden kurulabilenler dışarıda bırakılabilir.

Ajan

Her öğe önce bir hazırlık klasörüne, sonra yerine iner; orada zaten olan korunur. Yeni Mac aktarım klasörüne AGENTS.md ve GOAL.md yazar ve seçtiğin ajan komutunu çalıştırır, örneğin:

cd {dir} && claude "Read AGENTS.md and GOAL.md in this folder and do what they say."

Güvenlik

GitHub'daki küçük şeyler (teklif, seçimler, akış anahtarı) diğer Mac'in açık anahtarına mühürlü kutulardır (X25519, XSalsa20-Poly1305). Dosyalar yalnızca iki Mac'in bildiği rastgele bir anahtarla XChaCha20-Poly1305 akışı olarak gider; her parça doğrulanır, kesilen bir akış erken bitmiş sayılmaz, hata verir. Cihaz sırrı yalnızca senin okuyabildiğin bir dosyada kalır.

Komut satırı

macysync              pencereyi açar
macysync --demo       pencere, uydurma Mac'lerle; hiçbir şeye dokunmaz
macysync --detect     bu Mac'in kendisi hakkında söyledikleri ve aldığı görünüm
macysync --scan       bu Mac'in sunabildikleri, boyutlarıyla