René's URL Explorer Experiment


Title: Add CardDAV plugin for contact sync with phones and desktops · Issue #157 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: Add CardDAV plugin for contact sync with phones and desktops · Issue #157 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: Add CardDAV plugin for contact sync with phones and desktops · Issue #157 · JavaScriptSolidServer/JavaScriptSolidServer

Description: Motivation JSS already stores contacts as JSON-LD using the W3C vCard vocabulary (vcard:AddressBook, vcard:Individual, vcard:fn, vcard:hasEmail, etc.). Web apps can read and write this data natively. But right now, these contacts live on...

Open Graph Description: Motivation JSS already stores contacts as JSON-LD using the W3C vCard vocabulary (vcard:AddressBook, vcard:Individual, vcard:fn, vcard:hasEmail, etc.). Web apps can read and write this data nativel...

X Description: Motivation JSS already stores contacts as JSON-LD using the W3C vCard vocabulary (vcard:AddressBook, vcard:Individual, vcard:fn, vcard:hasEmail, etc.). Web apps can read and write this data nativel...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add CardDAV plugin for contact sync with phones and desktops","articleBody":"## Motivation\n\nJSS already stores contacts as JSON-LD using the W3C vCard vocabulary (`vcard:AddressBook`, `vcard:Individual`, `vcard:fn`, `vcard:hasEmail`, etc.). Web apps can read and write this data natively. But right now, these contacts live only in the browser — they can't sync to your phone, desktop mail client, or any other app.\n\n**CardDAV is the missing bridge.** It's the universal standard (RFC 6352) that every contact app already speaks. By adding a CardDAV plugin, every contact stored on a JSS pod becomes instantly accessible from:\n\n- **iOS/macOS** Contacts (built-in, zero config)\n- **Android** (via DAVx⁵ or built-in)\n- **Thunderbird** (built-in CardDAV support)\n- **GNOME/KDE** Contacts\n- **Nextcloud** (can federate with external CardDAV)\n- **Outlook** (via CalDav Synchronizer plugin)\n\nThis turns JSS from a web-only data store into a **real personal data hub** — your contacts live on your pod, and every device syncs to it.\n\n## What this enables\n\n1. **Phone sync** — Add a contact in a web app, it appears on your iPhone/Android. Edit on your phone, it syncs back to your pod.\n2. **Desktop integration** — Thunderbird, Apple Contacts, GNOME Contacts all become Solid-aware without knowing it.\n3. **Migration path** — Users can export contacts from Google/iCloud and import them into their pod via any CardDAV client.\n4. **Interop with Nextcloud** — Nextcloud can mount external CardDAV sources, making JSS pods federatable.\n5. **Solid ecosystem value** — Demonstrates that Solid pods aren't just for web apps; they integrate with the tools people already use.\n\n## Architecture\n\nJSS already has the right patterns — this follows the same plugin approach as ActivityPub (`src/ap/`) and Nostr relay (`src/nostr/`).\n\n### What already works\n\n- File-based storage with `GET`/`PUT`/`DELETE` on any path\n- Auth (WAC, NIP-98)\n- Content negotiation (JSON-LD ↔ Turtle)\n- The vCard RDF vocabulary is already the data model used by SolidOS contacts-pane\n\n### What needs to be added (~300-500 lines)\n\n```\nsrc/carddav/index.js     ← Fastify plugin registration + route setup\nsrc/carddav/xml.js        ← WebDAV XML request/response helpers\nsrc/carddav/vcf.js        ← JSON-LD vcard ↔ .vcf text conversion\n```\n\n### New HTTP methods\n\n| Method | Purpose | Notes |\n|---|---|---|\n| `PROPFIND` | Discover address books and list contacts | WebDAV XML envelope |\n| `REPORT` | Query contacts (multiget, sync-collection) | CardDAV-specific queries |\n| `MKCOL` | Create new address book collection | Simple container creation |\n\n`GET`, `PUT`, `DELETE` for individual `.vcf` resources already work via existing handlers — CardDAV reuses standard HTTP for the actual contact CRUD.\n\n### Data flow\n\n```\nPhone/Desktop ←→ CardDAV (vCard .vcf) ←→ JSS Plugin ←→ JSON-LD (vcard vocab) ←→ Filesystem\n                                              ↑\n                                    Web apps (contacts pane) read/write\n                                    the same JSON-LD files directly\n```\n\nThe conversion between JSON-LD vcard and `.vcf` text is mechanical — it's the same fields:\n\n```\nvcard:fn          → FN:Alice Wonderland\nvcard:hasEmail    → EMAIL:alice@example.org\nvcard:hasTelephone → TEL:+1-555-0101\nvcard:hasPhoto    → PHOTO;VALUE=URI:https://...\nvcard:organization-name → ORG:Acme Corp\n```\n\n### Server config\n\nFollowing the existing pattern:\n\n```js\ncreateServer({\n  carddav: true,              // Enable CardDAV plugin\n  carddavPath: '/contacts/'   // Mount point (default)\n})\n```\n\nCLI: `--carddav --carddav-path /contacts/`\n\n## Prior art\n\n- **Radicale** (Python) — minimal CardDAV in ~2000 lines, stores as flat .vcf files\n- **Baikal** (PHP) — wraps SabreDAV\n- **SolidOS contacts-pane** — already uses vcard vocabulary, which is the same data model\n\n## Size estimate\n\nSmall. The WebDAV XML wrapping is the most verbose part, but the actual logic is straightforward. The plugin should be comparable in size to the ActivityPub plugin.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-03-09T09:46:17Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:327dbd2d-6db0-7c2d-03e0-81f43a423819
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC942:2A44FE:2911ECD:3644FEF:6B038343
html-safe-nonce78deed0c39bfb2bd67075d0ad46287e7db0e2673c2f33da132660ffc85dcbdc4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTQyOjJBNDRGRToyOTExRUNEOjM2NDRGRUY6NkIwMzgzNDMiLCJ2aXNpdG9yX2lkIjoiNDk5MzM1Nzc4MjE3NTY3OTI5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca80cc2616b2473f502ecf1ef924351b31ba9b91db9202732599d7b03c9b25408
hovercard-subject-tagissue:4044530240
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/157/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4eb4274367d5461deb938f11e1ff02e272990387606f1e98f89635d0101b6fb1/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4eb4274367d5461deb938f11e1ff02e272990387606f1e98f89635d0101b6fb1/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
og:image:altMotivation JSS already stores contacts as JSON-LD using the W3C vCard vocabulary (vcard:AddressBook, vcard:Individual, vcard:fn, vcard:hasEmail, etc.). Web apps can read and write this data nativel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F157
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F157
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Codehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues165 (165)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests14 (14)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actionshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projectshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insightshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/insights
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
Add CardDAV plugin for contact sync with phones and desktopshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157#top
enhancementNew feature or requesthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22enhancement%22
pluginCould be implemented as a plugin (#206); core/plugin line defined in #564https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22plugin%22
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Mar 9, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157#issue-4044530240
melvincarvalhohttps://github.com/melvincarvalho
enhancementNew feature or requesthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22enhancement%22
on May 12, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157#event-25414643526
melvincarvalhohttps://github.com/melvincarvalho
pluginCould be implemented as a plugin (#206); core/plugin line defined in #564https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22plugin%22
on Jun 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157#event-26649446765
Sign up for freehttps://github.com/signup?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
Sign in to commenthttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/157
enhancementNew feature or requesthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22enhancement%22
pluginCould be implemented as a plugin (#206); core/plugin line defined in #564https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=state%3Aopen%20label%3A%22plugin%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.