Skip to content
CoprimalPublic

About

Sync your AI stuff and keep it away from your main codebase.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Dotlore logo

Dotlore

Sync your AI stuff and keep it away from your main codebase.

Download for macOS · Windows x64 · Windows ARM64 · Website · Intro video · GitHub · Releases · Contributing

Note

Runs on macOS (universal: Apple silicon and Intel) and Windows 11 (x64 and ARM64). See macOS and Windows for what differs.

Screenshot

Dotlore syncs the AI-agent config your projects git-ignore (.claude/, CLAUDE.md, .agents/, docs/, ~/.claude) between your own computers. Files stay where they are: nothing is moved, symlinked, or added to your project's git history.

📦 Install

macOS: download the universal DMG and drag Dotlore to /Applications, or install it with Homebrew:

brew install --cask coprimal/tap/dotlore

Windows 11: install Git for Windows first (Dotlore needs git), then run the installer for your PC: x64 or ARM64.

  • The installer is not code-signed, so SmartScreen warns on first run: choose "More info" → "Run anyway".
  • It installs for your user only, in %LOCALAPPDATA%\Dotlore, with no admin rights. A silent install (/S) also creates a desktop shortcut, which the uninstaller removes.
  • The uninstaller's "Delete the application data" option also removes Dotlore's state in %LOCALAPPDATA%\dev.dinhanhthi.dotlore.

💻 macOS and Windows

Syncing works the same on both, and a Mac and a Windows PC can share one cloud folder. What differs:

macOS Windows
Builds Universal (Apple silicon + Intel), signed and notarized Windows 11 x64 and ARM64, not code-signed (SmartScreen: "More info" → "Run anyway")
git The system git (Xcode Command Line Tools or Homebrew) Git for Windows, required
State folder ~/Library/Application Support/dotlore/ %LOCALAPPDATA%\dev.dinhanhthi.dotlore
Start at login Per-user LaunchAgent Per-user Run registry key
iCloud upload status ("Synced to cloud") and iCloud placeholder download Yes No (macOS only)
About panel Native macOS panel A plain message box (the native panel is macOS only)
Executable bit Kept and synced Cannot be set on Windows; kept unchanged for your Macs
Names Windows cannot hold (CON.md, a : in a name, a trailing dot or space, names that differ only in case) Synced as usual Reported in the Notices panel and never written; never deleted from your other computers

✨ Features

  • Files stay put — never moved, never symlinked, never added to git history.
  • Project folders — each project is a folder with an include-list of entries to sync.
  • Cloud folder, not a cloud API — sync through any folder your cloud app keeps in sync: iCloud Drive, Google Drive, Dropbox, OneDrive, Box, MEGA, …
  • Immutable bundles — each Mac publishes its own git bundle; nothing in the cloud is rewritten.
  • Conflicts without markers — the newer commit wins; the other version is kept as a sibling file.
  • Desktop + menu bar — a three-column window and a compact status item.
  • Sensitive page — a sidebar page with all sensitive files of every project in one tree, encrypted in the cloud by default.
  • Guided first run — a short tour of the window and its icons; replay it from Settings → General → "Show the tour again".

🔄 How it works

Each project gets a private staging git repo under ~/Library/Application Support/dotlore/ (%LOCALAPPDATA%\dev.dinhanhthi.dotlore on Windows). Dotlore copies the include-list into it, commits, and publishes an immutable git bundle to its own device folder in the cloud:

<cloud>/dotlore/<slug>/devices/<device-id>/000001.bundle

Other Macs fetch and merge those bundles with the system git. On overlapping edits the newer commit wins, and the other version is kept as <stem>.conflict-<device>-<blob>.<ext>, so nothing is lost.

📏 Sync rules

  • Conflicts — edits to different lines merge; on the same lines the newer commit wins and no markers are written. More
  • Deletes — an edit beats a delete; delete versus restore: the later wins, a tie keeps the file; a delete counts from when Dotlore sees it, so keep it running. More
  • Trash and history — overwritten and deleted files go to a local trash (500 MB cap by default); each project keeps a local history of its versions. More
  • Ignore lists — a global never-list, plus a per-project list whose ! lines re-include a path. More
  • Sensitive files — names that often hold secrets need confirmation and are never re-included by !. More
  • Size limits — files over 50 MB are skipped; symlinks are never followed. More
  • Cloud folder — any folder a cloud app syncs that supports hard links; settings sync as snapshots, and "Wipe cloud data" starts over in a new folder. More

🔐 Encrypting sensitive files

Files that match your sensitive patterns can be encrypted in the cloud folder with one password:

This Mac                cloud folder                             Other Mac
plain file ──encrypt──► encrypted copy ──unlock with password──► plain file
  1. On by default, one password. Dotlore asks once per cloud folder — during the first-run setup, or right after updating if you already sync sensitive files — and "Encrypt sensitive files" is the recommended answer. The other answer ("Keep unencrypted" in that prompt, "Don't encrypt" in Settings → Encryption) keeps the cloud copy readable, as before. Change it any time there; changing it rebuilds the cloud copy of every project. Files on your Macs are not touched.
  2. Locked before it leaves your Mac. A file that matches your sensitive patterns is encrypted before it goes into the cloud folder. Any of your Macs can encrypt without the password; only the password can decrypt.
  3. Your files on disk stay readable. Only the cloud copy is encrypted, so AI tools and editors read the files as before.
  4. Unlock to receive. To bring a sensitive change from another Mac into your files, or to view one in Dotlore, unlock Dotlore with the password. While it is locked, only those files wait ("Waiting for unlock"); everything else keeps syncing. You choose when it locks again in Settings → Encryption: "Until app quits", "On screen lock or sleep" or "After N minutes idle" ("Lock now" locks at once).

Important

5. Forget the password = wipe and sync again. There is no password recovery, and Dotlore cannot decrypt the cloud copy without the password. The only fix is to wipe the cloud copy and sync again from your Macs with a new password. Files on your Macs are not touched by a wipe; any copy that differs between Macs comes back as a conflict file.

⚠️ Limits

  • Only content is encrypted: file names, sizes and change times stay visible to your cloud provider.
  • A Mac still on Dotlore 0.9.9 or older keeps uploading sensitive files unencrypted until it is updated.
  • A Mac on Dotlore 0.9.10 stops syncing the cloud folder once encryption is on, until it is updated.
  • A pattern you mark sensitive later leaves its older, unencrypted history in the cloud until the next wipe.
  • After "Change password…", the old password keeps working on the cloud copy until the next wipe.
  • No password recovery (see above).
  • The password-locked key is stored in your cloud folder, so a weak password can be guessed offline: use a long, unique password.
  • Encryption covers the cloud copy only: everything Dotlore keeps on your Macs (your files, older local history, and trash copies except those deleted while Dotlore was locked) is readable by anyone who can use that Mac.
  • Anyone who can write to your cloud folder could try to change the key or turn encryption off. Your other Macs do not follow such a change on their own. Each one pauses sync until you approve the change there: enter the new password for a new key, or confirm that encryption is off. This also happens after you wipe with encryption on, since every encrypted wipe makes a new key. A Mac that joins the cloud folder for the first time trusts the key it finds.
  • Encryption does not detect older data being put back by someone who can write to the cloud folder.

🚀 Development

Prerequisites: Rust 1.89+, Node.js 20+, pnpm, git, and the Tauri prerequisites for macOS.

Stack: a Rust engine in src-tauri/ driving the system git; Tauri 2 with React 19, TypeScript and Vite in src/; Tailwind CSS v4 and shadcn/ui; CodeMirror 6 (@codemirror/merge for conflicts).

pnpm install
pnpm tauri dev          # desktop app
pnpm mockapp:dev        # browser UI with a mocked backend — http://localhost:38422
pnpm test
pnpm format:check

Tip

pnpm tauri dev stores its state in ~/Downloads/dotlore-dev (override with DOTLORE_HOME), so it can run beside an installed copy. That also gives it its own device identity, so point it at a separate cloud folder — see A dev run has its own state directory.

Rust builds go to an external SSD: on a new Mac, follow Cargo build cache before the first build.

The Windows installers are cross-built on a Mac: see Windows builds and Windows tests.

📦 Build

export TAURI_SIGNING_PRIVATE_KEY="$(cat ~/.tauri/dotlore.key)"
export TAURI_SIGNING_PRIVATE_KEY_PASSWORD="…"
pnpm build              # → <target>/release/bundle/{macos/Dotlore.app, dmg/*.dmg}
DOTLORE_TARGET=x86_64-pc-windows-msvc pnpm build   # → <target>/x86_64-pc-windows-msvc/release/bundle/nsis/Dotlore_<version>_x64-setup.exe

<target> is /Volumes/Thi2TB/cargo-target/dotlore with the SSD config, or src-tauri/target without it.

For a local test build, pnpm build --bundles app builds only Dotlore.app. It skips the DMG, whose script opens and resizes a Finder window on every build. Without the signing key, the build still ends with an error after the .app is written.

To build the signed and notarized release bundle without typing any secret (they come from the Keychain), run pnpm release --expect-version <version> --build-only. pnpm release --expect-version <version> also tags and publishes the release from this Mac. Setup and runbook: .github/release-setup.md.

🌐 Website

The landing page at dotlore.coprimal.dev is static HTML in website/, deployed on every push to main.

🤝 Contributing

See CONTRIBUTING.md for the invariants the engine depends on.

📄 License

MIT © Coprimal. See LICENSE.

About

Sync your AI stuff and keep it away from your main codebase.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages