SuperAPI AI Directory

Screenshot of Dotlore website

Dotlore is a macOS tool for syncing AI-related files and custom modes while keeping them out of Git repositories. It syncs AI files, folders, and custom modes across multiple Macs through the user's own cloud drive (such as iCloud, Google Drive, Dropbox, OneDrive, MEGA, or any local folder synced by a cloud app), without moving files, creating symlinks, or adding files to the project's Git history. Each project maintains a sync include list; file changes are automatically committed to a private Git repository and published as immutable Git bundles to the cloud folder, where other devices read and merge them in order. On conflict, the newer commit wins, and the other version is preserved as a conflict file. It offers a desktop app, a menu bar status item, and a CLI (add, sync, status, daemon). macOS is currently prioritized, with Windows and Linux coming soon.

Open website

About this tool

Dotlore is a sync tool for AI development workflows, primarily addressing the problem that AI-related files (such as CLAUDE.md, .claude/, AGENTS.md, .cursor/, .mcp.json, .github/copilot-instructions.md, etc.) need to be synced across devices but should not be included in the main code repository's Git history. It transfers data through the user's existing cloud drive sync folders (iCloud, Google Drive, Dropbox, OneDrive, MEGA, or any local folder synced by a cloud app) and does not rely on cloud APIs.

Key capabilities:

  • Each project maintains a sync include list, which can include files (such as CLAUDE.md) or folders (such as .claude/, docs/). New projects can start from common AI tool patterns, and entries can be added or removed at any time.
  • Sync is triggered after 2 seconds of silence or at most 5 seconds after a file change, with an additional 30-second polling fallback.
  • Each change is committed to a private Git repository under ~/Library/Application Support/dotlore/ and generates an immutable Git bundle written to the devices/<device ID>/ directory in the cloud folder; other devices pull and merge them in order.
  • Conflict handling: edits to different lines merge automatically; for edits to the same line, the newer commit wins on all devices, and the other version is preserved as CLAUDE.conflict-<device>-<hash>.md without writing conflict markers.
  • Delete sync: other devices first move the copy to the local trash; when an edit conflicts with a delete, the edit wins; when a delete conflicts with a restore, the later one wins, and a tie within 5 seconds preserves the file.
  • Local trash: before a sync delete or overwrite, the old version goes into the local trash, which is not synced, with a default limit of 500 MB; once exceeded, the oldest syncs are cleared first.
  • Version history: right-click a file to view "History…" and restore earlier versions, or use "More" → "Deleted files…" to recover deleted files.
  • A global never list excludes agent state (sessions, logs, caches, node_modules/, .DS_Store, *.log, etc.); each project can append its own ignore list (.gitignore syntax), and ! lines can re-include paths ignored by the never list (single project only).
  • Sensitive file protection: .env, *.pem, .key, credentials, etc. are tracked only after confirmation; ! lines cannot re-include sensitive files; .credentials.json, auth.json, and .claude.json are always excluded.
  • Size limits: files over 50 MB are skipped with a prompt; tracking folders over 200 MB requires confirmation; adjustable in settings.
  • Symbolic links are not followed or replaced.
  • Settings (mode, ignore defaults, sensitive patterns, size limits) sync as a small snapshot, which a new Mac can inherit.
  • Provides a desktop app, menu bar status item, and CLI (add, sync, status, daemon).

Usage:

  • Install: can be installed via Homebrew: brew install --cask coprimal/tap/dotlore
  • Two Macs share a folder already synced by a cloud app, each writing its own history and reading the other's history.
  • When linking a second Mac for the first time, it reads all existing bundles in the cloud folder.

Use cases:

  • Sync AI tool configs, prompt files, agent directories, etc. across multiple Macs while keeping the main code repository clean.
  • AI file management that needs version history and conflict preservation.

Limitations:

  • Currently prioritizes macOS support; Windows and Linux coming soon.
  • Relies on a local cloud sync folder and does not call cloud APIs directly.
  • File size and folder size are limited (default 50 MB / 200 MB).
  • Sensitive files require manual confirmation, and some files are always excluded.
  • Deletion counting starts when Dotlore sees it; files deleted while it is not running are counted from the next launch, so keeping the login item enabled is recommended.