Skip to content
WombatFirst220Public

About

Work on the same projects from every Mac — pick up exactly where you left off. Uncommitted changes, unpushed commits, Claude Code memory. No server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

◆ roam

Work on the same projects from every Mac — and pick up exactly where you left off.
Uncommitted changes, new files, unpushed commits, even your Claude Code memory. Two commands, no server.

macOS Homebrew License Dependencies


You start a feature on the Mac mini at your desk. In the evening you grab the MacBook. Normally that means: commit half-finished work, push, pull, hope you didn't forget a file.

With roam:

mac-mini $ roam park
  ✓ MyApp         parked · feature/login · 4 files +120 −8

macbook  $ roam resume
  ✓ MyApp         resumed from Mac mini · 2 min ago · feature/login · 4 files +120 −8
  ✓ Ready. Open Xcode and Claude Code now.

Same branch, same uncommitted changes, same new files. And if you forget roam park — a background job already did it for you a few minutes ago.

Install

brew install wombatfirst220/tap/roam
roam setup

That's it — on every Mac. Updates: brew update && brew upgrade wombatfirst220/tap/roam (always with the full name — Homebrew also has an unrelated cask called roam). Homebrew brings age along, for secrets that travel encrypted. The setup wizard walks you through everything:

Step What happens
1 Pool finds an existing pool in iCloud Drive, Dropbox, kDrive, Nextcloud, Synology Drive, pCloud or ~/Library/CloudStorage (OneDrive, Google Drive, Box …) — or creates one
2 Projects folder ~/Developer by default, the same path on every Mac
3 Git access checks your remotes; creates an SSH key, copies it and opens GitHub's key page if needed
4 Projects picks up repos you already have, offers your GitHub repos (with gh), or takes any git URL
5 Auto-park a tiny LaunchAgent parks unfinished work every 10 minutes
6 Bring everything here clones what's missing, resumes work from your other Macs
7 Prerequisites checks Xcode, SDKs, signing, Node, … and offers to fix what it can

Run roam setup again any time — it confirms what's fine and repairs what isn't.

Take a project along

roam add

roam lists the folders in ~/Developer that aren't in the pool yet — or opens Finder for any other folder. A folder with a GitHub repo joins the pool as it is; one without gets its repo first (private unless you say public), exactly like roam new. A folder outside ~/Developer moves there, Claude Code history included, because every Mac keeps a project at the same path. roam add ~/Desktop/MyApp, roam add . or roam add git@github.com:you/app.git skip the question.

Rename a project

roam rename MyApp NewName

The app got a new name, the repo on GitHub too, maybe you renamed the folder already? roam rename gives the project its new name in the pool and takes everything along: this Mac's folder (unless it's renamed already), Claude Code history and memory (merged, if both names have some), the git address (asked from GitHub, which keeps redirecting a renamed repo), and what the pool keeps per project. Without a new name it suggests one — a folder here that holds the repo under another name, or the repo's new name on GitHub.

Your other Macs follow on their next run: their old folder moves to the new name, Claude history included — once no terminal or Claude Code session has its working directory in it (roam says which one) and the new address holds the same history. They never clone the project a second time. A Mac on roam before 1.10 would, so update it first. R in the app does the same for the selected project.

roam notices a rename on GitHub by itself (with gh): roam doctor names it with the fix, the app shows ↪ in the preview, and roam add or roam resume won't add or clone it as a second project.

All your projects at a glance

Press b in the app (or run roam projects): one list of your GitHub repos, the folders in ~/Developer and what's in roam, one row per repository.

● in roam — ⏎ takes it out: the folder stays on every Mac, the repo on GitHub too
○ not in roam yet — a folder here, a repo on GitHub, or both. ⏎ adds it (a folder without a repo gets one first)
↪ in roam, but renamed on GitHub — ⏎ renames it on every Mac (see above)
✗ in roam, but GitHub doesn't know the repo any more — ⏎ takes it out
· archived on GitHub

o opens the repo on GitHub, u reloads. Without a signed-in gh the list shows the folders here and the pool. roam remove MyApp takes a project out on the command line; roam add brings it back, its Claude memory in the pool too.

Start a new project

roam new MyApp

One command instead of ten: roam asks what you're building (iOS/macOS app, Swift package, web, other) and who may see it, then creates the folder, a fitting .gitignore and README, the GitHub repo, the first push — and adds it to the pool. Your other Macs get it with their next roam resume.

Already made the folder, say in Xcode? Run roam new inside it, or roam new ~/Developer/MyApp. Public repos can be committed under your GitHub username and its private noreply address, so your real name and email stay off the internet.

The app

Just type roam:

 ◆ roam  v1.9.2                                                                               14:02
╭─ Projects ─────────────────────────── 4 ─╮╭─ MyApp ───────────────────────────────────── ⏎ open ─╮
│ ❯ MyApp          feature… ●3 +1 ☁ ✻ 2m ● ││ Mac mini          feature/login ●3 +1 ☁              │
│   Website        main ✓            ◇ 3h  ││ MacBook Pro       main ✓                             │
│   Backend        main ↑2                 ││ ☁ parked here · 2m ago · feature/login               │
│   Docs           main +1                 ││ + new, never committed: docs/notes.md · i: in the r… │
│                                          ││ ⚿ secrets travel encrypted · e: off                  │
│                                          ││                                                      │
│                                          ││ AI sessions                                          │
│                                          ││ ✻ Fix the login               this Mac · 2m ●        │
│                                          ││ ◇ Add dark mode               MacBook Pro · 1 h      │
│                                          ││     recap   Login works again, README still open.    │
│                                          ││     you     also cover the expired token case        │
│                                          ││                                                      │
│                                          ││ Docs                                                 │
│ ✓ clean  ● changed  + new  ↑ unpushed    ││ README.md · CLAUDE.md · CHANGELOG.md · docs/api.md   │
╰──────────────────────────────────────────╯╰──────────────────────────────────────────────────────╯
╭─ Now ──────────────────────────────────────────────────────────────────────────── 3 in progress ─╮
│ ● Mac mini        MyApp           ✻ Claude ● running   ●3 changed   +1 new                       │
│ ◐ MacBook Pro     Website         ◇ Codex · 1h ago                                               │
│ ◐ MacBook Pro     Backend         ●2 changed                                                     │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Macs ──────────────────────────────────────────────────────────────── pool · iCloud Drive/roam ─╮
│ ▸ Mac mini             this Mac     macOS 26.1   Xcode 26.1   ✓ ready                            │
│ ● MacBook Pro          online       macOS 26.1   Xcode 26.1   ✗ 1 missing                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
 ROAM   ⏎ open  / filter  r resume  p park  y sync  s sessions  v docs  i repo  ? keys & symbols  q quit

Every Mac reports its state to the pool, so you see your other Macs even while they sleep. The app opens at once with what the pool knows and asks the remotes in the background.

Mark Means
✓ clean: nothing changed, everything pushed
●4 4 files changed that are in the repo
+2 2 files or folders that were never committed — they travel when parked, but aren't in the repo
↑2 2 commits not pushed yet
☁ work parked on the remote (violet: from this Mac, yellow: from another one — r takes it)
≡ / ≠ the same on every Mac / not — the preview says who is behind (MacBook is 2 commits behind), y syncs
— not cloned on that Mac
⚿ secrets travel encrypted
▸ ● ○ this Mac · online · away
● ◐ in Now an AI session running · open changes or a session in the last two hours
✻ ◇ ✦ ◈ ▣ Claude Code · Codex · Gemini CLI · Copilot CLI · opencode

The list shows the short form at its bottom, ? all of them. What macOS and sync apps leave in every folder — .DS_Store, ._*, Icon, iCloud's .<name>.icloud, Dropbox's .dropbox and the like — never counts: not as a change, not in a snapshot, not in the in-sync check.

≡ next to a project means in sync: every Mac has the same branch, commit and working tree, uncommitted and untracked files included. y (or roam sync MyApp) gets it there: this Mac parks, every other Mac that is online gets a request through the pool — it parks, resumes (merging if both sides changed) and answers — and this Mac takes over the result. A Mac picks a request up at once, as launchd watches the pool's requests/<Mac> folder (otherwise within the auto-park interval); requests older than 30 minutes are dropped, and a Mac that synced on request shows a notification. It works from either side: when the Mac that takes over is ahead and the other one only lacks commits, roam puts that Mac's open work on top of the newer commits instead of refusing — or says it's there already. A project just added with roam add comes along too: a Mac that doesn't have it yet clones it when it answers — and if the sync app hasn't brought that Mac the new project list yet, the request waits for its next run.

Now shows where work is going on at the moment, on every Mac: a running AI session (●), one from the last two hours or open changes on a Mac that is online (◐). It stays current by itself, every two minutes.

  • ⏎ opens a project: Sessions (where each AI session stopped, ⏎ reads it, c continues it), Docs (README, CLAUDE.md, … with a preview, ⏎ reads it, o opens your editor) and Git: everything that isn't in the repo, new (+, goes in with the next commit) or staying out (−, with the rule that keeps it out). ⏎ or space switches one: roam adds a line to the project's .gitignore or takes one out — .DS_Store and friends by name, so every folder is covered; for a broader rule like *.log it adds an exception (!/keep.log). Commit the .gitignore like any change. i on the dashboard opens this tab directly, roam ignore does the same on the command line. ⇥ or 1–3 switch tabs, esc goes back.

  • r resume and p park right in the app: one row per project, a spinner while it runs, ✓ or ✗ with the details when it's done — and a progress bar, in the tab too where the terminal shows one (Ghostty, iTerm2). d doctor, f fix, n new, a add run in the terminal as usual and bring you back. y syncs the selected project on every Mac (see above). e lets the selected project's secrets travel encrypted, or stops it (see below). R renames the selected project on every Mac, b opens the project browser (see above). L log, u refresh, A About This Mac (also roam about), ? shows every key.

  • / filters the projects as you type (wi finds WIMM), esc clears it.

  • The mouse works too: the wheel scrolls, a click selects, a click on the selected project opens it, a click on a tab switches to it. To select text, hold ⌥ or ⇧ while dragging (which one depends on the terminal), or turn the mouse off with ROAM_MOUSE=0.

  • The reader scrolls with j/k, space/b, g/G; / searches, n/N jump, ]/[ go to the next or previous heading — or the next prompt in a session.

  • Truecolor in iTerm2, Ghostty, WezTerm, VS Code and Terminal on macOS 26 and later, 256 colors elsewhere (ROAM_COLOR=256 forces it). roam classic — or ROAM_PLAIN=1 — gives you the previous menu, roam status the dashboard as plain text.

  • A little art where there's a terminal to show it — for everyone who still misses the old Macs. The app starts with the Happy Mac, then the logo. park sends a PowerBook's work up to the cloud, resume brings it down to a compact Mac, sync puts it next to an iMac G3, new says hello like the 1984 Mac, setup welcomes you, and when something fails, the Sad Mac shows up. The old Macs come in the six stripes of the old rainbow logo. Quit the app with nothing open, and it ends the way every old Mac did. Never in pipes, scripts or the background run; ROAM_NO_ART=1 turns it off, ROAM_NO_ANIM=1 skips the animated start.

      ╭────────────╮
      │ ╭────────╮ │
      │ │ ░▒▓▒░  │ │
      │ │        │ │               .-~~~-.
      │ ╰────────╯ │    ─ ─ ─▶    (   ☁   )
      ╰────────────╯             (_________)
     ╱ ▫▫▫▫▫▫▫▫▫▫▫ ╲
    ╱  ▫▫▫▫▫▫▫▫▫▫▫  ╲
    ╲──────(◯)──────╱
    
      ✓ All parked. On your next Mac: roam resume
    

Where did the AI leave off?

Claude Code on the Mac mini, Codex on the MacBook — and on the next Mac you want to know where each session stopped. roam sessions shows the AI sessions of every project, from every Mac:

$ roam sessions MyApp
  1  ✻ Fix the login                 MacBook Pro · 2 min ago · feature/login · 12 prompts · ● running
  2  ◇ Add dark mode                 this Mac · 1 h ago · main
  3  ✻ App Store review checklist    Mac mini · 3 days ago · main · 8 prompts

  ✻ Fix the login                    MacBook Pro · 2 min ago · feature/login · 12 prompts · ● running
    recap   Login works again, README still open.
    you     also cover the expired token case
    ✻ ai    Done — expired tokens now send you back to the login screen …
    todos
            ✓ Write the test
            ◐ Update README
    files   Sources/Auth/Login.swift · Tests/LoginTests.swift
roam sessions inside a project: its sessions; elsewhere: the newest session of every project
roam session MyApp 2 read session 2 — prompts, replies, one line per tool call — in a scrollable reader
roam continue MyApp picks that session up again in its tool (claude --resume, codex resume, …), in the project folder
roam read MyApp README, CLAUDE.md, AGENTS.md, TODO, CHANGELOG, docs … rendered in the same reader

The app shows them too: each project's newest session in the preview, all of them under ⏎ › Sessions.

  • This Mac is read live, straight from each tool's own files — only the end of a transcript, so even 200 MB sessions open instantly:

    Tool Where roam reads it
    ✻ Claude Code ~/.claude/projects/<path>/
    ◇ Codex its own database in ~/.codex, read-only
    ✦ Gemini CLI ~/.gemini/tmp/<project>/chats/
    ◈ GitHub Copilot CLI ~/.copilot/session-state/ (or $COPILOT_HOME)
    ▣ opencode its database in ~/.local/share/opencode/, read-only
  • Other Macs leave a digest per project in the pool (sessions/<Mac>/<project>.txt, at most 8 KB): title, branch, todos, changed files and — with session_digest = 2, the default — the last prompt, reply and recap, with API keys, tokens and passwords masked. session_digest = 1 leaves out the texts, 0 shares nothing.

  • Details and transcripts use jq, which macOS 15 and later ship. On older macOS: brew install jq.

  • The reader: j/k or arrows, space/b page, g/G start/end, / search, n/N next/previous, q back.

Commands

Command When
roam the app: projects on every Mac, AI sessions, docs (roam classic: the previous menu)
roam resume when you sit down at a Mac — before opening Xcode or Claude Code
roam park before you walk away (optional — auto-park runs every 10 min)
roam doctor does this Mac have everything your projects need?
roam fix fixes what doctor found, asking before every step
roam new [name] starts a project: folder, .gitignore, GitHub repo, pool — in one go
roam add [folder] takes a project along: pick its folder (or Finder), or give a path or git address
roam sessions [project] AI sessions on every Mac and where they stopped
roam session <project> [n] read a session
roam continue <project> [n] pick a session up again in Claude Code, Codex, Gemini CLI, Copilot CLI or opencode
roam read [project] [file] the project's Markdown files in the reader
roam status the dashboard without the menu
roam setup set up or repair this Mac
roam sync [project] one project in the same state on every Mac: parks it here, asks the other Macs to sync it, takes what they had
roam undo [project] back to how the project was before the last resume — undo works twice, too
roam ignore [project] [path] what isn't in the repo; with a path: switch it between "goes in" and "stays out" (edits .gitignore)
roam rename [project] [new] a new name for app, repo and folder — on every Mac, Claude Code history included
roam projects every project: in roam, in your projects folder, on GitHub — renamed and deleted repos marked
roam remove [project] out of roam on every Mac — folders and the repo stay
roam about About This Mac, roam style: the Happy Mac, the version, this Mac and the pool at a glance
roam leave take this Mac out of the pool

How it works

roam has no server. It uses two things you already have: your git remote and a folder your Macs sync (iCloud Drive, OneDrive, Dropbox, Google Drive, kDrive, Nextcloud, a network share — any will do). Keep the pool folder available offline on every Mac: files a sync app holds online only can block a read or arrive as NUL bytes. roam gives up on a pool that doesn't answer within 30 s and says so, and roam doctor warns.

                 git remote (GitHub, GitLab, …)
                 refs/roam/<Mac> — snapshot of unfinished work
                    ▲                                │
          roam park │                                │ roam resume
                    │                                ▼
              ┌───────────┐                    ┌─────────────┐
              │ Mac mini  │                    │ MacBook Pro │
              └───────────┘                    └─────────────┘
                    │                                ▲
                    └────────► pool folder ──────────┘
          project list · Mac status · Claude Code · sync requests · encrypted secrets
  • Snapshots, not branches. roam park turns your whole working directory — uncommitted and untracked files included, .gitignore respected — into a commit under refs/roam/<Mac>. Your branch, index and files are never touched, and roam never pushes branches: a push to main might deploy, and that stays your call.
  • Only what's in flight. Once everything is committed and pushed, the snapshot disappears.
  • Ancestry, not clocks. roam resume only replaces local changes when they're safely parked and the other Mac's snapshot builds on them. Worked on two Macs in parallel? roam merges both sides the way git merges branches; where they collide you get the usual <<<<<<< markers, and park waits until they're resolved. No surprises, no lost work.
  • A way back. Before resume changes a working directory, it keeps the state as refs/roam-backup (only in that repo, with a reflog). roam undo brings it back.
  • Hands off. roam leaves a project alone while a merge or rebase is running or git holds .git/index.lock, and it pushes its own refs without your git hooks (--no-verify).
  • Auto-park never touches your files on its own. The background job only parks and reports — it resumes only when you ask for it from another Mac with roam sync, then with a backup (roam undo) and a notification.
  • Secrets stay home. Untracked *.pem, *.p12, *.p8, *.key, .env*, id_rsa … block a snapshot until they're in .gitignore. Files over 50 MB too.
  • …or travel encrypted, if you want. Press e on a project in the app (it sets secrets=1 in projects.conf; carry_secrets = 1 in the settings does it for all) and its ignored .env* files and local= files go along, encrypted with age: every Mac has its own key in ~/.config/roam/age.key, which never leaves it, and the pool only holds secrets/<project>/<Mac>.age. Changed on both Macs? Yours stays, theirs lands next to it as .env.from-<Mac>. Homebrew installs age along with roam. Anyone who can write to your pool could add a key of their own, so keep the pool in an account only you use.
  • Claude Code comes along. Memory (and optionally session transcripts, for claude --resume) lives in ~/.claude/projects/<path>/. roam mirrors it through the pool — which is why a project has to live at the same path on every Mac. A transcript or memory file your sync app left as NUL bytes never overwrites a good copy, and roam resume restores it from the pool. Transcripts never go by "the newer file wins": the longer copy of a session wins, and a session you went on with on two Macs ends up with the lines of both.

What roam doctor checks

Without any configuration, by looking at your projects:

Found in a project Checked
always git, remote reachable, pool writable and available offline, conflict copies your sync app set aside in the pool, a projects folder that a sync app syncs as well, auto-park running, Homebrew, Claude Code, jq, Claude Code sessions and memory the sync app left empty
*.xcodeproj full Xcode, first-launch setup, iOS Simulator, iOS SDK ≥ highest IPHONEOS_DEPLOYMENT_TARGET, a signing certificate for every DEVELOPMENT_TEAM
package.json Node, installed packages (npm ci / pnpm / yarn by lockfile)
supabase/config.toml · deno.json · docker-compose.yml Supabase CLI · Deno · Docker
X.example whether X exists locally
an ignored file another Mac has whether it's missing here (names only — contents never leave a Mac)
secrets=1 or carry_secrets = 1 age, to encrypt and decrypt them
a GitHub remote (with gh) whether GitHub renamed the repo — the fix is roam rename
was= (after a rename) the old folder still here: moved on the next run, or left over next to the new one

✗ missing blocks your work, • hint only matters for some parts (backend, deployment, devices), ⓘ info is just worth knowing and never counts as a problem — optional templates and files that only another Mac has, summarized in one line per project.

Configuration

Everything lives in the pool folder, so it's the same on every Mac.

projects.conf — one project per line:

# name       folder       git remote                            extras
MyApp        MyApp        git@github.com:you/my-app.git         local=ios/Config/Local.xcconfig
Website      Website      git@github.com:you/website.git        needs=hugo

Remotes are kept as SSH addresses — they work on every Mac with a key, without a stored password. roam add and roam new turn an https:// GitHub, GitLab, Bitbucket or Codeberg address into SSH, and an older HTTPS entry is switched on the next run. Where SSH has no access (a Mac whose key belongs to another account), roam clones, parks and resumes over HTTPS instead (signed in through gh on GitHub), and a failed push says why instead of blaming the network.

  • local=a,b — ignored files a project can't run without (missing → ✗)
  • needs=x,y — extra command line tools (missing → ✗, roam fix tries brew install)
  • secrets=1 — its ignored .env* and local= files travel encrypted (key e in the app)
  • was=OldName — set by roam rename: a Mac that still has the old folder moves it to the new name

settings — claude_sync, claude_history (0 = memory only, no transcripts), session_digest (0/1/2, see above), carry_secrets (1 = every project's secrets travel, see above), interval_min, max_file_mb.

Per Mac, roam setup writes ~/.config/roam/config (pool, projects_dir); the age key for secrets is ~/.config/roam/age.key and never leaves the Mac.

In the pool folder, besides those two files — every file has exactly one Mac that writes it, so the sync app never has two versions to reconcile:

macs/<Mac>.txt each Mac's state: macOS, Xcode, doctor results, per project branch, open changes and the hashes behind ≡, its public age key
claude/<project>/ Claude Code memory and (with claude_history = 1) transcripts
sessions/<Mac>/<project>.txt where that Mac's AI sessions stopped
secrets/<project>/<Mac>.age that Mac's secrets of the project, encrypted for every Mac's key
requests/<Mac>/, answers/<Mac>/ roam sync asking a Mac, and its answer — gone once read

Environment — ROAM_POOL_TIMEOUT (seconds a pool read may take before roam gives up, 30), ROAM_SYNC_TIMEOUT (Claude Code files and secrets, 300), ROAM_SYNC_WAIT (how long roam sync waits for the other Macs, 90), ROAM_HEARTBEAT (how often a Mac refreshes its "seen", 3600), ROAM_COLOR, ROAM_MOUSE, ROAM_PLAIN, ROAM_NO_ART, ROAM_NO_ANIM (see The app).

Good to know

  • What was staged isn't preserved — changes come back as unstaged.
  • Ignored files (credentials, Local.xcconfig) don't travel unless you switch on secrets=1 for the project (key e) — then .env* and local= files go along, encrypted. roam doctor tells you where they're missing.
  • A Mac counts as online while its heartbeat is fresh — refreshed at least hourly, so a Mac that was just switched off still shows as online for up to about 75 minutes. roam sync asks it anyway; it answers when it's back, within 30 minutes, or the request lapses.
  • Sync apps: keep the pool folder available offline. roam writes pool files in place (a temp file plus rename made kDrive set files aside as …_blacklisted_…). When two Macs write one file at once, sync apps keep a copy next to it — iCloud A 2.txt, Dropbox and Nextcloud A (… conflicted copy …), Google Drive A (1).txt, OneDrive A-<computer>.txt, kDrive …_blacklisted_…. roam never takes such a copy for the real thing: a Mac's status file counts only when its name and its mac= line agree, and copies of Claude Code files stay in the pool, where roam doctor points them out. Pool paths with spaces (Mobile Documents, My Drive, OneDrive - Company) work everywhere — roam sync didn't before 1.8.1.
  • Keep your projects outside the sync folder (~/Developer is the default): a sync app and git syncing the same .git break repos, and files kept online only look deleted to git. roam doctor warns.
  • A running Claude Code session doesn't move. End it, roam resume on the other Mac, then claude --resume.
  • Session transcripts contain everything a session saw. Don't want them in your sync folder? claude_history = 0.
  • The session digests are written on every park, resume and background run — but only rewritten when a session changed.
  • Plain bash, git and rsync — what macOS ships, plus age from Homebrew for secrets. Nothing to compile, nothing running but a LaunchAgent every few minutes and when another Mac asks for a sync.

Development

tests/run.sh            # two simulated Macs, a pool and a remote in a temp folder
tests/run.sh resume     # only tests whose name contains "resume"

packaging/release.sh runs the tests before it tags a release.

Without Homebrew

git clone https://github.com/WombatFirst220/roam.git ~/Developer/roam
~/Developer/roam/roam setup     # links roam into ~/.local/bin

Uninstall

roam leave
brew uninstall wombatfirst220/tap/roam

License

MIT

About

Work on the same projects from every Mac — pick up exactly where you left off. Uncommitted changes, unpushed commits, Claude Code memory. No server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages