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.
2.5 KiB
vCard Export
clawdex export vcard writes one or more people as RFC 6350 vCards. The
result imports cleanly into Apple Contacts, Google Contacts, iOS Contacts,
Outlook, and most other address books.
This is the outbound half of clawdex. Imports bring the world in; vCard export sends a curated slice back out.
Export everything
clawdex export vcard --all -o contacts.vcf
clawdex export vcard --all --include-avatars -o contacts.vcf
Without --include-avatars, the file is text-only and small. With it, each
person's avatar is embedded as a base64 PHOTO;ENCODING=b payload. A few
hundred avatars adds up — expect a few megabytes.
Export one person
clawdex export vcard --person sally -o sally.vcf
clawdex export vcard --person sally@example.com -o sally.vcf
The --person argument accepts the same query string that
clawdex person show accepts: an ID, a name substring, an
email, or a phone number.
Stream to stdout
-o - writes to stdout, so you can pipe directly:
clawdex export vcard --person sally -o - | pbcopy # macOS
clawdex export vcard --all -o - | wl-copy # wayland
clawdex export vcard --person sally -o - | mail -a contacts.vcf you@example.com
What's in the vCard
Each vCard includes:
FN— display name fromperson.mdN— best-effort surname/given splitEMAILper email entry, with the originalkindas aTYPEparameter when presentTELper phone entry, with the originalkindas aTYPEparameterNOTE— short summary from the person body, when presentPHOTO;ENCODING=b— only when--include-avatarsis setUID— the person's stable ID slug, so re-imports update existing cards instead of duplicating
Round-tripping
Apple Contacts and Google Contacts both treat repeated UID as an update
trigger. That means you can:
- Import from Apple → markdown.
- Edit names / emails / tags in markdown.
clawdex export vcard --all -o contacts.vcf.- Drag the
.vcfinto Apple Contacts → it updates existing cards in place.
This is the closest thing clawdex has to two-way sync today, and it works because vCard files are dumb, well-understood text. Programmatic Sync is still preview-only.
Related pages
- People, Avatars
- Imports — the inbound counterpart
- Markdown Storage — the source of truth