seeyou2night243 downloadsSync MoonReader reading notes via WebDAV and parse .an files directly into your Vault.
English | 中文
Import highlights and annotations from Moon+ Reader WebDAV backups into Obsidian. Search books, preview notes, customize templates, and browse cached books offline. The interface follows Obsidian's English or Chinese language setting.
Requires Obsidian 1.13.0 or later on desktop. Mobile is not supported. See release notes for changes.
For updates, use Check for updates in Community plugins.
main.js, manifest.json, and styles.css..obsidian/plugins/obsidian-moonreader-sync/ folder. Create the folder if needed.Source code archives are not built plugin packages. When updating, replace only the three downloaded files; keep data.json and cache files, and avoid duplicate installations.
Back up annotations to WebDAV from Moon+ Reader and locate the folder containing .an files.
Keychain names accept lowercase letters, numbers and dashes, up to 64 characters. Existing names cannot be overwritten. Changing the account or server requires choosing a credential again. Manage existing entries in Obsidian Keychain.
Each WebDAV request times out after 30 seconds, including folder listings and annotation downloads during refresh. Connection checks can also be cancelled. Closing settings discards drafts and cancels saves that have not started writing; a save already writing finishes and switches the library to the new connection.
Choose the default book and note orders in settings. Changing either order in the library also saves that preference. Notes can follow backup order, chapter number, or annotation time in either direction for chapters and times. Ties retain backup order, and missing times appear last when sorting by time.
Select a book to preview its first three sorted annotations. Choose Preview all to expand the full preview. Use the preview toolbar to change order, show the first three again, or adjust the template. After changing order or template, wait for the updated preview before importing. The import button writes all annotations from that book; the footer shows the destination and insertion mode.
Importing the same book into the same note again requires confirmation during one plugin session. There is no deduplication across sessions or two-way sync; repeated imports may duplicate content and block IDs. Remote backups are never modified. Closing during a write waits for it to finish.
Use the list's order button to sort by title or backup modification time in either direction. The default is newest backup first; missing dates appear last. Dates refer to backup files, not reading or annotation time.
Books shown sets the display limit; 0 shows all books. Search covers all cached books before applying the limit, which does not affect downloads. Display and default insertion preferences save immediately.
Use Adjust template in the library for the current import. Select Save as default template to reuse it; the default is also editable in plugin settings.
| Field | Value |
|---|---|
{bookName} |
Book title |
{chapter} |
Chapter index |
{highlightText} |
Highlighted text |
{note} |
Personal annotation |
{color} |
RGB hexadecimal color |
{timestamp} |
UTC time |
{id} |
Original annotation ID |
Templates support Markdown and HTML. Field values are HTML-escaped; preview and import use the same template.
The plugin connects only to the configured WebDAV backup service and has no telemetry or additional network services. Passwords stay in Obsidian Keychain; settings store the credential name. Configure the password again on another device.
Book caches are plain text in the plugin folder, separated by server directory and account. Cached books remain available offline. Failed refreshes retain existing cached data; successfully confirmed remote deletions remove books from the library without changing imported notes.
.an files; a successful connection alone does not confirm the backup location.Report problems through GitHub Issues.
ISC. Bundled pako code uses MIT and Zlib licenses; see third-party notices.