Adds 14 per-feature docs pages under docs/ covering install, quickstart, people, notes, timeline, search, avatars, imports, vCard export, git sync, markdown storage, doctor, and config. Replaces the placeholder landing page with a single-page Rolodex/index-card site that fetches and renders the docs client-side via marked + highlight.js, with code syntax highlighting and dark-mode support. .nojekyll keeps GitHub Pages serving the markdown files raw to the SPA.
3.5 KiB
Quickstart
Five minutes from a fresh install to a populated, committed contact index.
1. Install
brew install steipete/tap/clawdex
clawdex --version
Other paths (Go install, source build, release archives) are documented on Install.
2. Pick a place for your contacts
The CLI lives in this repo. Your contacts live in a separate, private markdown repo that you own. The default suggested remote is:
https://github.com/<you>/backup-clawdex.git
Create that empty private repo on GitHub first — it's where your data will back up to.
3. Initialize a contacts data repo
clawdex init ~/.clawdex/contacts
clawdex config set repo_path ~/.clawdex/contacts
clawdex config set git.remote https://github.com/<you>/backup-clawdex.git
init writes:
clawdex.toml
people/
index/
.clawdex/repairs/
The app config lives at ~/.clawdex/config.toml by default. --repo DIR or
CLAWDEX_REPO=DIR overrides the configured repo for one run. See
Config for the full key list.
4. Add your first person
clawdex person add "Sally O'Malley" \
--email sally@example.com \
--phone "+1 555 0100" \
--tag friend
Look at what just appeared in the data repo:
people/sally-o-malley/
person.md
Open person.md — it's plain markdown with YAML frontmatter. Edit it by
hand, in your editor, on another machine, in a Pull Request review. Clawdex
will read your edits back. See People.
5. Add a note
clawdex note add sally \
--kind dm \
--source whatsapp \
--text "Follow up about dinner next Thursday"
clawdex timeline sally
Notes land in people/sally-o-malley/notes/ as timestamped files. They are
local-only — never written to Apple, Google, or anywhere else. See
Notes and Timeline.
6. Search across everything
clawdex search dinner
clawdex search +1555
clawdex search sally@example.com
Search hits emails, phones, names, tags, and note bodies. See Search.
7. Import the network you already have
Optional, but most people start here on day one. All imports are local-only: they only write to your markdown repo. Address-book writes (Apple Contacts, Google Contacts) are not implemented yet — see Imports.
clawdex import apple --dry-run
clawdex import apple --avatars
clawdex import google --account you@gmail.com --dry-run
clawdex import google --account you@gmail.com --avatars
clawdex import birdclaw --min-messages 4 --dry-run
clawdex import discrawl --min-messages 4 --dry-run
8. Commit and push
clawdex git status
clawdex git commit -m "sync: import apple + google"
clawdex git push
git status is a thin wrapper over git -C <repo> status --short --branch.
Commit and push run inside the data repo, not this repo. See
Git Sync.
9. Export back into the world
clawdex export vcard --all --include-avatars -o ~/Desktop/contacts.vcf
clawdex export vcard --person sally -o - # stdout
The .vcf file imports cleanly into macOS Contacts, Google Contacts, iOS
Contacts, and most other address books. See vCard Export.