Hedgesync
approvedby tionis
This plugin has not been manually reviewed by Obsidian staff. Sync notes with HedgeDoc documents using frontmatter links and hedgesync.
Hedgesync
Sync Obsidian notes with HedgeDoc documents using frontmatter links and hedgesync.
Install from the Obsidian plugin store
Hedgesync maps each Obsidian note to one HedgeDoc document through a configurable frontmatter property. It supports manual sync commands, optional auto-push on save, and a live sync mode for the active note.
Highlights
- Push the active Obsidian note to HedgeDoc.
- Pull the linked HedgeDoc document back into Obsidian.
- Open linked HedgeDoc documents from Obsidian.
- Create a HedgeDoc document from the active note and write the link to frontmatter.
- Create an Obsidian note from a HedgeDoc document URL or note ID.
- Pull all linked notes across the vault while preserving local frontmatter.
- Enable optional auto-push when linked notes are modified.
- Toggle live sync for the active note with local and remote OT updates.
- Confirm before manual pull or push overwrites differing content.
- Use file and editor context menu actions for linked notes.
Install
Community plugin store
Install Hedgesync from the Obsidian plugin store:
https://community.obsidian.md/plugins/hedgesync
Manual install
Download the release assets and place them in:
<Vault>/.obsidian/plugins/hedgesync/
Required files:
main.jsmanifest.jsonstyles.css
Then reload Obsidian and enable Hedgesync in Settings -> Community plugins.
Requirements
- Obsidian desktop.
- A reachable HedgeDoc 1.x server.
- Node.js 18+ for development.
Obsidian mobile is intentionally unsupported because this plugin depends on desktop-compatible sync behavior.
Frontmatter
Default frontmatter key: hedgedoc
You can change the key in plugin settings.
Full URL
---
hedgedoc: https://md.example.com/my-note-id
---
Note ID with a default server URL
---
hedgedoc: my-note-id
---
Object form
---
hedgedoc:
noteId: my-note-id
serverUrl: https://md.example.com
---
You can also use url in object form:
---
hedgedoc:
url: https://md.example.com/my-note-id
---
Commands
Sync active note to hedgedocSync active note from hedgedocOpen linked hedgedoc documentToggle live sync for active notePull all linked notes from hedgedocCreate hedgedoc document from active noteCreate note from hedgedoc document
Use Obsidian hotkeys to assign keyboard shortcuts in Settings -> Hotkeys.
Settings
Default hedgedoc server URLSession cookieFrontmatter link propertyAuto push on saveAuto push debounce (ms)Request timeout (ms)Warn before overwriteLive sync push debounce (ms)
The session cookie is optional and only needed for private HedgeDoc notes.
Privacy
- External service: user-configured HedgeDoc servers.
- Data sent over the network: linked note body content, linked note IDs or URLs, and optional session cookie.
- Network behavior: requests are only made for sync features, including manual commands, live sync, and optional auto-push.
- Local storage: settings are stored in
.obsidian/plugins/hedgesync/data.json. - Telemetry: none.
- Ads, affiliate links, paid unlocks, and remote code execution: none.
Development
Install dependencies:
npm install
Build once:
npm run build
Watch mode:
npm run dev
Lint with Obsidian plugin rules:
npm run lint
Manual test install path:
<Vault>/.obsidian/plugins/hedgesync/
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.