README file from
GithubVCF Contacts Viewer
VCF Contacts Viewer is a read-only Obsidian plugin for inspecting .vcf files as contact cards, raw source, and import-preflight warnings. It is built for safely reviewing vCards that arrive in a vault without turning Obsidian into a contact manager.
Features
- Opens
.vcffiles in a dedicated view. - Parses one or more
BEGIN:VCARD/END:VCARDblocks. - Supports common vCard 3.0 and 4.0 fields where practical.
- Shows a contact list with full name, organization, primary email, and primary phone.
- Shows detail fields for names, phones, emails, addresses, URLs, organization, title, birthday, UID, REV, categories, notes, PHOTO metadata, and raw fields.
- Provides raw source view with line numbers.
- Searches across names, organization, email, phone, normalized fields, and raw source.
- Reports import-preflight warnings for unsupported fields, malformed cards, folded-line issues, encoded fields, version mismatches, and PHOTO fields.
- Keeps PHOTO handling private: remote URLs are never loaded and embedded data is never rendered or imported.
- Stays read-only by design: it never writes back to
.vcffiles.
Positioning
The existing community plugin VCF Contacts is a richer contact manager with import, export, and markdown contact notes. VCF Contacts Viewer is deliberately narrower: it is a file viewer and import-preflight tool, not a CRM, sync tool, or contact note generator.
Privacy and security
vCards often contain personal data. VCF Contacts Viewer keeps inspection local:
- no network APIs
- no clipboard APIs
- no
evalor dynamic code execution - no write-back to
.vcf - no contact note creation
- no contact export
- no click-to-call or mailto links
- no FaceTime, Contacts.app, or external app launch actions
- no remote PHOTO loading
- no avatar import
Installation
Community plugin directory
VCF Contacts Viewer is prepared for Community plugin directory submission. Once accepted, it can be installed from Settings -> Community plugins -> Browse.
Manual installation
Until the community directory submission is accepted:
- Download
main.js,manifest.json, andstyles.cssfrom the latest release. - Create this folder in your vault:
.obsidian/plugins/vcf-contacts-viewer/. - Put the downloaded files in that folder.
- Reload the app.
- Enable VCF Contacts Viewer in Settings -> Community plugins.
BRAT installation
For beta testing, install the plugin with BRAT using this repository URL:
https://github.com/viggomeesters/obsidian-vcf-contacts-viewer
Usage
Open any .vcf file in your vault. The file opens with VCF Contacts Viewer.
Use the toolbar to:
- search contacts
- switch between cards and source views
- refresh the file after external changes
Parser scope
The parser handles folded lines and common vCard 3.0/4.0 properties. It preserves raw fields so unsupported or unusual properties can still be inspected. Encoded fields such as quoted-printable and base64 are warned about instead of silently pretending the viewer fully decoded them.
Development
npm install
npm run build
npx tsc --noEmit
npm test
For local development, copy or symlink this repository into .obsidian/plugins/vcf-contacts-viewer/ inside a test vault.
Release process
Community plugin files are installed from GitHub releases. For each release:
- Update
manifest.json,package.json, andversions.json. - Run
npm install,npm run build,npx tsc --noEmit, andnpm test. - Create a GitHub release whose tag exactly matches
manifest.json.version. - Attach
main.js,manifest.json, andstyles.cssas release assets.
The repository includes a GitHub Actions release workflow with artifact attestation support. If GitHub Actions is disabled for the owner account, manual releases are still usable for Obsidian, but the Community automated review may show a recommendation about missing artifact attestations.
Community directory submission
The repository is prepared for Obsidian Community plugin submission. The remaining submission step must be completed by the repository owner in the Obsidian Community site because it requires signing in, linking GitHub, and confirming the developer policies/support commitment.
Submit this repository URL:
https://github.com/viggomeesters/obsidian-vcf-contacts-viewer
Steps:
- Sign in to community.obsidian.md.
- Link the GitHub account that owns this repository.
- Open Plugins -> New plugin.
- Enter the repository URL above.
- Confirm the developer policies and submit.
- Address any automated review feedback.
The current release is ready for review:
- root
README.md,LICENSE, andmanifest.jsonexist manifest.json.versionis0.1.0- GitHub release
0.1.0exists - release assets include
main.js,manifest.json, andstyles.css versions.jsonmaps supported Obsidian versionsmanifest.json.idisvcf-contacts-viewer, uses only lowercase letters and hyphens, does not containobsidian, and does not end withpluginmanifest.json.nameisVCF Contacts Viewer, uses Basic Latin characters, and does not includeObsidian
Official references: