Local documentation

    Unearthed Local

    Desktop App Documentation

    Getting StartedInstallationFeaturesSettingsMobile AppTroubleshooting

    Settings Guide

    Complete reference for all Unearthed Local settings and configuration options.

    General

    Keep App Running in Background

    Default: true

    When enabled, closing the window minimizes to system tray instead of quitting the app.

    • Useful for auto-sync and keeping the KOReader API server running
    • Access the app from the system tray icon
    • Right click tray icon to fully quit

    Private Mode

    Default: false

    Masks sensitive file paths and data in the UI and error messages for screen sharing or recording.

    • Hides Obsidian vault paths, API URLs, and database paths
    • Useful when creating tutorials or sharing screenshots

    Run on System Startup

    Default: true

    Automatically launch Unearthed when you log into your computer.

    • Windows: Managed via in app toggle
    • macOS: Use Dock → Options → Open at Login (no in app setting)
    • Linux: Creates .desktop file in ~/.config/autostart/

    Enable System Global Shortcuts

    Default: false

    Register system wide keyboard shortcuts so Unearthed responds even when the app is minimized or another application is in focus.

    • Unlocks Quick Import (Ctrl/Cmd+Shift+I) and Go to RSS Feeds (Ctrl/Cmd+Shift+O) from any app
    • macOS: Accessibility permissions required : grant in System Preferences → Privacy & Security → Accessibility
    • If a shortcut conflicts with another app, reassign it in Settings → Keyboard Shortcuts
    • Works best combined with Keep App Running in Background

    macOS Dock

    Show in Dock

    Default: true

    macOS only. When disabled, the app runs solely from the menu bar without a Dock icon.

    • Automatically enables 'Keep App Running in Background' when disabled
    • The tray/menu bar icon is used to access the app instead
    • This setting only appears on macOS

    Keyboard Shortcuts

    All keyboard shortcuts in Unearthed Local are fully customisable. Remap any shortcut to your preferred key combination : your custom bindings are saved automatically and take effect immediately.

    Custom Keyboard Shortcuts

    Click any shortcut in the list to remap it. Press your desired key combination (including modifier keys like Ctrl, Shift, or Alt) and save.

    • Open via Settings → Keyboard Shortcuts, or press Ctrl/Cmd + /
    • Supports modifier combinations: Ctrl/Cmd, Shift, Alt
    • Changes apply instantly : no restart required
    • Your shortcuts are saved for the next time you open Unearthed
    • Use 'Reset' to restore any shortcut to its default binding

    55+ shortcuts available

    Shortcuts cover every part of the app: global navigation, Home tab, RSS Feeds tab, Kindle tab, Library tab, Search Modal, Article Viewer, and Article Highlighter. See the Features → Keyboard Shortcuts page for the complete reference.

    API Endpoint

    Unearthed runs two local servers for device connections. Connection details : including IP address, port, and copy buttons : are displayed automatically in Settings based on your network.

    KOReader / iOS Connection (Port 6543 : HTTPS)

    Secure HTTPS endpoint for KOReader e-readers and the Unearthed iOS app: iOS requires HTTPS and a trusted certificate.

    • Format: https://[IP_ADDRESS]:6543
    • Copy button available next to each URL
    • iOS users: download and trust the certificate shown in Settings before connecting
    • KOReader users: use this port and URL in the Unearthed plugin settings

    Android Connection (Port 6545 : HTTP)

    Plain HTTP endpoint for Android devices. Android Chrome blocks self signed HTTPS certificates, so this separate port avoids the certificate trust step entirely.

    • Format: http://[IP_ADDRESS]:6545
    • In the Unearthed mobile app on Android, enter port 6545 (not 6543)
    • No certificate installation required on Android

    Secret Token

    Authentication token that KOReader and the mobile app must provide to connect.

    • Can be any text you choose
    • Must match exactly in KOReader plugin settings and the mobile app
    • Use the Generate button to create a secure random token
    • Leave empty to disable authentication (not recommended)

    Obsidian

    Location

    The folder where your Obsidian vault is located. This is where the Root Folder will be created.

    • Use the Browse button to select your vault folder
    • Must have write permissions to this location
    • Can be any folder, doesn't have to be an Obsidian vault

    Root Folder

    Default: Unearthed

    The main folder name created inside your vault location where all books will be organized.

    • Books are organized as: [Location]/[Root Folder]/Books/
    • Articles go in: [Location]/[Root Folder]/Articles/
    • Change this to match your vault structure

    Auto Export to Obsidian

    Default: true

    Automatically export all highlights and notes to your Obsidian vault every hour and after manual Kindle refresh.

    • Requires an Obsidian vault location to be configured
    • Exports are generated from Unearthed's local database; Obsidian edits are not sent back to Kindle
    • Unearthed managed highlight sections may be updated on export while user-authored sections are preserved
    • Runs alongside Auto Fetch from Kindle for a fully automated pipeline after the first Kindle sync
    • Also controls whether manual Refresh Kindle Books sends refreshed Kindle data to Obsidian automatically
    • The first Kindle sync is imported locally only and is not automatically exported, so you can review new Kindle sources before sending them to Obsidian

    Include Article Content in Obsidian Export

    Default: false

    When enabled, the full article content is exported alongside your quotes and notes when exporting articles to Obsidian.

    • Only applies to articles (RSS / Web Page imports), not Kindle books
    • Disabled by default : enable if you want a full local copy of article text in your vault
    • Article HTML is converted to readable Markdown before export
    • Article content is appended after the quotes section in the exported Markdown file

    Add a personal notes section to new Obsidian source files

    Default: false

    Adds a protected user written notes section to newly created Obsidian source files.

    • Disabled by default
    • Use it for summaries, personal commentary, or reading notes that should not be regenerated from Kindle
    • Only added to new source files; existing files are not rewritten automatically
    • You can choose the section title with the Personal Notes Section Title setting

    Personal Notes Section Title

    Default: Personal Notes

    The heading used for the optional personal notes section in new Obsidian source files.

    • Only appears when the personal notes section setting is enabled
    • Falls back to Personal Notes if left blank
    • Content in this section is preserved during normal exports and rebuilds

    Rebuild Obsidian Notes

    Regenerates Unearthed managed highlight sections from the local database while preserving content outside managed highlight blocks.

    • Run manually from Settings → Obsidian when you want to repair old formatting or regenerate all notes
    • Per-source rebuild is also available from the source row in the Library/Sources tab
    • Rebuild is opt-in and does not run automatically on upgrade
    • Useful after changing templates, color settings, or note formatting behavior

    Craft Docs

    Export your highlights to Craft Docs alongside Obsidian. Each source type (Books, Articles, etc.) becomes a Craft collection in your chosen root folder, and each source becomes a row whose page holds the highlights and (optionally) the article content.

    How to connect

    1. Open Craft and the space you want Unearthed to write to
    2. Click Imagine and add a new API Connection
    3. Name it Unearthed, set Permission Level to Read and Write, and Access Mode to API Key
    4. Under API Keys, click + to generate a key : Craft shows the value once
    5. Copy the Connection URL and the API Key into the fields below
    6. Click Test Connection to verify

    Connection URL

    The Craft API connection URL from Craft → Settings → Connect to API.

    • Format: https://connect.craft.do/links/XXXXX/api/v1
    • Each Craft space has its own connection URL

    API Token

    Copy the API key from your Craft connection page. Unearthed saves it securely on your computer.

    • Treat the token like a password : Craft only displays it once
    • Use Replace to swap the saved token, or Clear to remove it
    • Test Connection verifies the URL + token combination and shows the connected space name on success

    Root Folder

    Default: Unearthed

    Top level folder created in your Craft space. Per type collection documents (Books, Articles, etc.) and an Authors document live inside this folder.

    • Created automatically on first export if it doesn't exist
    • Change this to match your Craft organisation

    Combine Sources

    Default: true

    When enabled, all sources of the same type share a single collection (Books, Articles, etc.). When disabled, separate collections are created per type.

    Include Full Article Content in Craft Export

    Default: false

    When enabled, the full article body is prepended to the Craft document on first sync, followed by a Highlights heading.

    • Only applies to articles (RSS / Web Page imports), not Kindle books
    • YouTube links appear above the article text in Craft
    • Long articles are divided into smaller sections to fit in Craft
    • Content is added on the first export and is not duplicated on later syncs

    Append Daily Reflection to Craft Daily Note

    Default: false

    Sends today's random highlight to your Craft daily note alongside Obsidian (if configured).

    • Your reflection is added when Unearthed opens, without pressing 'New Reflection'
    • Each day's reflection is sent only once, even if you restart Unearthed
    • A compact 'Appended to Craft' pill confirms success

    Auto export to Craft (hourly)

    Default: false

    Automatically sync new highlights to Craft every hour, alongside Obsidian (if configured).

    • Toggled independently from Obsidian auto export
    • Requires 'Keep App Running' to continue syncing in the background
    • Generated from Unearthed's local database; Craft edits are not sent back to Kindle
    • The first Kindle sync is imported locally only and is not automatically exported, so you can review new Kindle sources before sending them to Craft
    • Only new or changed quotes are sent on each run (resumable sync)

    Craft Quote Color Mode

    Default: highlight

    How highlight colors are rendered inside Craft.

    • highlight: maps each Unearthed color to the nearest Craft palette color (yellow, blue, pink, red, green, cyan, purple, gray)
    • none: no color styling applied
    • Aqua maps to Craft cyan; orange and olive map to yellow and green respectively (Craft has no exact equivalents)
    • Fallback is used when Unearthed receives an unknown quote color

    Reset Craft Sync Data

    Starts a fresh Craft export the next time you sync. Use this to restore missing highlights or reconnect your exported pages.

    • Does NOT delete anything in Craft itself
    • Use this if documents ended up in the wrong location, or if you deleted individual quotes in Craft and want them re-synced
    • If you deleted a document in Craft, empty it from Craft's Trash first so Unearthed can recreate it

    Stale recovery

    If a Craft document is permanently deleted, the next export recreates it and reuploads all quotes in a single pass. Individual deleted blocks are detected and resynced automatically : no manual reset required.

    Templates

    Craft uses the same Quote, Source, and Daily Reflection templates as Obsidian (or the built in defaults). Wikilinks like [[Author]] are stripped to plain text and YAML frontmatter is converted to a Craft <callout> block automatically.

    Daily Reflection

    Daily Note Date Format

    Default: YYYY-MM-DD

    The date format used for your Obsidian daily note filenames. Supports full moment.js-compatible token replacement.

    • Tokens: YYYY, YY, MMMM, MMM, MM, M, DD, D, Do, dddd, ddd, dd, d, DDD, DDDD, w, ww, W, WW, E, e, Q
    • Slashes create subfolders: YYYY/MM-MMMM/YYYY-MM-DD-dddd → 2025/02-February/2025-02-10-Monday
    • Escaped literals: [Week] WW → Week 06
    • Must match your Obsidian daily notes plugin settings

    Daily Reflection Location

    The folder where your Obsidian daily notes are stored.

    • Use Browse button to select the folder
    • Typically something like: YourVault/Daily Notes/
    • Must match your Obsidian daily notes plugin folder

    Create Obsidian Daily Note if it doesn't exist

    Default: false

    Automatically create a daily note file if one doesn't exist for today.

    • When disabled, Unearthed waits for you to create the note manually
    • When enabled, creates the file immediately on startup

    Add Daily Reflection on Startup

    Default: true

    Automatically append a random quote to your daily note when the app starts.

    • Works together with 'Create Daily Note' setting
    • If both are disabled, no automatic reflection is added
    • If 'Create' is off but 'Add' is on, waits for manual note creation

    Append Under Heading

    Optional. Insert daily reflections under a specific markdown heading instead of appending at the end of the file.

    • Example: ### Daily Reflection
    • Finds the heading in your daily note and inserts content below it
    • If the heading is not found, falls back to appending at the end
    • Respects heading hierarchy : content is placed before the next same-level heading

    💡 How these work together:

    If "Create Daily Note" is disabled but "Add Reflection on Startup" is enabled, Unearthed will wait until you create your daily note in Obsidian, then automatically add the reflection to it.

    Kindle Settings

    Kindle URL

    Default: https://read.amazon.com

    The URL where you'll log into Amazon to sync Kindle highlights.

    • Default works for most users
    • Change to your regional Amazon domain if needed (e.g., amazon.co.uk)
    • This is where the in app browser navigates when establishing connection

    Auto Fetch from Kindle

    Default: true

    Automatically fetch new highlights from Kindle every hour in the background.

    • Requires 'Keep App Running' to be enabled
    • Syncs silently without interrupting your work
    • Manual Kindle refresh is always available; Obsidian export after refresh only runs when Auto Export to Obsidian is enabled
    • The first Kindle sync imports locally but does not automatically export to Obsidian or Craft, giving you a chance to review and ignore sources first
    • Kindle refresh is one way: Unearthed pulls from Kindle into the local database and does not update Kindle
    • Use Skip Kindle Refresh on individual Kindle sources to keep them local while avoiding future per-book annotation fetches
    • Deleting a highlight in Kindle does not automatically delete the local Unearthed copy

    RSS Articles

    Delete non-imported articles after (days)

    Default: 7

    Automatically remove unimported RSS articles that are older than the specified number of days to keep your feed tidy.

    • Set to 0 to keep all articles indefinitely
    • Only articles you have NOT imported are deleted : anything saved to your library is kept forever
    • Applies to all subscribed feeds
    • Articles are deleted silently in the background

    File Name

    Source (Book) Filename Template

    Template for generating Markdown filenames from book metadata.

    • Available variables: {{title}}, {{subtitle}}, {{author}}, {{type}}, {{origin}}, {{asin}}
    • Example: '{{title}} - {{author}}' → 'Atomic Habits - James Clear.md'
    • Keep it simple to avoid filesystem issues

    Replace Spaces In Filename With

    Character to replace spaces with in generated filenames.

    • Common options: space ' ', underscore '_', dash '-'
    • Use underscore for wiki-link compatibility
    • Leave as space for human-readable names

    Source (Book) Filename Lowercase

    Default: false

    Convert all filenames to lowercase.

    • Useful for consistent naming across platforms
    • Example: 'Atomic Habits.md' → 'atomic habits.md'

    Include ignored books in CSV export

    Default: false

    When exporting to CSV, include books marked as 'ignored' in a separate 'Ignored' subfolder.

    • Ignored books are excluded from Obsidian export by default
    • This setting only affects CSV exports

    Template Settings

    Customise how your exported Markdown files are formatted using template variables. Leave empty to use the default templates.

    Quote Colors

    Quote Color Mode

    Default: background

    How highlight colors are displayed in exported Markdown files.

    • none: No color styling applied
    • background: Gradient background behind text
    • text: Colored text only

    Custom Color Values

    Override the default hex color values for each highlight color. All 12 colors are customizable.

    Yellow

    #ffd700

    Blue

    #4682b4

    Pink

    #ff69b4

    Orange

    #ffa500

    Red

    #ff4d4f

    Green

    #52c41a

    Olive

    #b5b35c

    Cyan

    #13c2c2

    Aqua

    #05B8B8

    Purple

    #a259d9

    Gray

    #888888

    Fallback

    #888888

    Values to Clean

    Select which metadata fields should have special characters removed or replaced during export. This helps avoid issues with filenames and formatting.

    Book Fields

    • Title
    • Subtitle
    • Author
    • Type
    • Origin
    • ASIN

    Quote Fields

    • Content (quote text)
    • Note (personal annotation)
    • Location
    • Color

    ℹ️ What gets cleaned:

    Special characters like /, \, :, *, ?, ", <, >, | are removed or replaced to ensure compatibility with filesystems and Markdown formatting.

    Database Utilities

    ⚠️ Advanced Settings

    These utilities are for troubleshooting and advanced users only.

    Show Database Path

    Displays the full file path to your local SQLite database.

    • Useful for manual backups or inspection
    • Location varies by platform (AppData on Windows, Application Support on macOS)

    Delete Database

    Permanently removes all locally stored books and quotes.

    • ⚠️ This action cannot be undone
    • Requires double confirmation
    • Use this to start fresh or troubleshoot corruption issues
    • You can re-sync from Kindle/KOReader after deletion

    Purge Soft-Deleted

    Permanently removes any articles and feeds that are currently in a soft deleted state.

    • New button in Settings → General → Database utilities
    • Summarises exactly how many of each will be deleted before the action runs
    • Helps keep your database size optimized

    Reset All Settings

    The settings modal includes a "Reset to Defaults" button that restores all settings to their original values.

    This does not affect your database or exported files, only the configuration settings.