Seamlessly integrate your GetDex contacts with Obsidian. This plugin enables smart contact suggestions and intelligent memo synchronization with hash-based change detection.
- Type
@followed by 2+ characters to see contact suggestions - Fuzzy search through your Dex contacts by name or company
- Beautiful dropdown with contact photos and company information
- Auto-complete contact names when selected
- Dex URL: Link directly to contact pages on GetDex.com
- Vault Pages: Create internal Obsidian pages for contacts
- Contact Hover Cards: Preview contact details on hover
- Customizable vault paths and optional
@symbol inclusion
- Hash-Based Change Detection: Only syncs when content changes
- Inline Sync Buttons: Context-aware buttons appear after contact mentions (with CodeMirror extensions)
- Clickable Synced Buttons: Open Dex profile in browser when already synced
- Sync entire paragraphs or header sections to Dex as memos
- Customizable memo templates with rich variables
- Command to sync all memos in the current document
- Optional auto-sync on document save
- Status bar counters show sync progress
- Visual feedback with success/error notifications
- Contact Hover Cards: Detailed contact information on link hover
- Visual Status Indicators: Color-coded buttons (β synced, π needs sync, β not synced)
- Toast Notifications: Clean border-stripe notifications for actions
- Link Extraction: Smart extraction of contact names from context
- Open Obsidian Settings
- Go to Community Plugins and browse
- Search for "Dex Contacts"
- Install and enable
- Download the latest release from the releases page
- Extract
main.js,manifest.json, andstyles.cssto your vault's.obsidian/plugins/dex-contacts/folder - Enable the plugin in Obsidian's Community Plugins settings
# Clone this repository to your vault's plugins folder
cd /path/to/your/vault/.obsidian/plugins/
git clone https://github.com/GraysonCAdams/dex-contacts.git
cd dex-contacts
# Install dependencies
npm install
# Build the plugin
npm run build
# For development with auto-rebuild
npm run dev- Log in to your Dex account
- Navigate to Settings β API
- Copy your personal API key
- Open Obsidian Settings
- Go to Community Plugins β Dex Contacts
- Enter your Dex API key
- Click Test Connection to verify it works
- Configure your preferences:
- Link Mode: Choose between Dex URLs or vault pages
- Vault Path: Set where contact pages should be created
- Memo Template: Customize how memos are formatted
- Sync Options: Enable auto-sync and sync buttons
- In any note, type
@followed by part of a contact's name (2+ characters) - A dropdown will appear with matching contacts (name, company, photo)
- Select a contact to insert their name as a link
- The link format depends on your settings (Dex URL or vault page)
- After mentioning a contact, an inline sync button will appear
- Click the button to sync that paragraph/section to Dex as a memo
- The button shows different states:
- β Not synced: Gray button, ready to sync
- π Needs sync: Orange button, content changed since last sync
- β Synced: Green button, click to open Dex profile
- Use the command palette (
Cmd/Ctrl + P) - Run "Sync All Memos in Document"
- All unsynced memos in the current note will be sent to Dex
- Enable "Auto-sync on Save" in settings
- Unsynced memos will automatically sync when you save the document
- Hover over any contact link to see a preview card
- View contact photo, name, company, and recent memos
- Click "View in Dex" to open their profile
- Click "Edit" to modify contact details
- Refresh Dex Contacts: Manually reload your contact list from Dex
- Sync All Memos in Document: Sync all unsynced memos in the current note
- Test Dex Connection: Verify your API key and connection
Customize how your memos appear in Dex using template variables:
{{content}}
π Note from {{title}}
{{content}}
---
π
{{date}}
π [View in Obsidian]({{obsidian_uri}})
{{date}}- Current date (format configurable in settings){{title}}- The title of your Obsidian note{{content}}- The paragraph content containing the contact mention{{header}}- The header text if the mention is under a heading{{obsidian_uri}}- A clickable link back to this note in Obsidian
- Dex API Key: Your personal API key from GetDex.com
- Test Connection: Button to verify your API key works
- Link Mode:
- Dex URL: Creates links to getdex.com contact pages
- Vault Page: Creates internal Obsidian page links
- Vault Path: Where to create contact pages (root or custom folder)
- Include @ Symbol: Whether contact page names include "@"
- Memo Template: Template for syncing content to Dex (supports variables)
- Date Format: How dates appear in memos (e.g., YYYY-MM-DD)
- Show Sync Buttons: Whether to display inline sync buttons
- Auto-sync on Save: Automatically sync when saving documents
- Verify your API key is correct
- Check your internet connection
- Use the "Test Connection" button to diagnose issues
- Check the console (
Cmd/Ctrl + Shift + I) for error messages
- Make sure you have contacts in your Dex account
- Try the "Refresh Dex Contacts" command
- Wait a few seconds - large contact lists may take time to load
- Check network connectivity to getdex.com
- Verify your API key has write permissions
- Check that the contact still exists in Dex
- Try syncing individual memos first, then batch operations
- Check if content contains special characters that need encoding
- The plugin loads contacts on startup and caches them locally
- Use "Refresh Dex Contacts" if you add new contacts in Dex
- Large contact lists (1000+) may take a few seconds to load initially
- Hash-based change detection means only modified content syncs
- API Key Storage: Securely stored locally in Obsidian's data directory
- Local Processing: Contact matching and change detection happen locally
- No Data Collection: Plugin doesn't collect or transmit usage data
- Opt-in Sync: Content is only sent to Dex when you explicitly sync
- Direct Communication: All API calls go directly to Dex servers (no third parties)
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes with clear commit messages
- Ensure the build succeeds (
npm run build) - Test your changes thoroughly
- Submit a pull request
- π Dex API Documentation
- π Report Issues
- π Feature Requests
- π¦ Releases
MIT License - see LICENSE for details.
- Bi-directional sync (Dex β Obsidian)
See Releases for version history and detailed changes.
Made with β€οΈ for the Dex and Obsidian communities.