Skip to content

An Obsidian.md community plugin that allows syncing with hoarder.app

License

Notifications You must be signed in to change notification settings

jhofker/obsidian-hoarder

Repository files navigation

Obsidian Hoarder Plugin

This plugin syncs your Hoarder bookmarks with Obsidian, creating markdown notes for each bookmark in a designated folder.

Features

  • Automatically syncs bookmarks from Hoarder every hour (configurable)
  • Creates markdown files for each bookmark with metadata
  • Configurable sync folder and API settings
  • Updates existing bookmarks if they've changed

Installation

  1. Download the latest release from the releases page
  2. Extract the zip file in your Obsidian vault's .obsidian/plugins/ directory
  3. Enable the plugin in Obsidian's settings

Configuration

  1. Open Obsidian Settings
  2. Navigate to "Hoarder Sync" under "Community Plugins"
  3. Enter your Hoarder API key
  4. (Optional) Modify the sync interval and folder settings

Hoarder Configuration

Ensure your CORS policy is set to allow requests from your Obsidian instance. In Traefik, add the following as a middleware:

    obsidiancors:
      headers:
        accessControlAllowHeaders: "*"
        accessControlAllowOriginList:
          - app://obsidian.md
          - capacitor://localhost
          - http://localhost

Settings

  • API Key: Your Hoarder API key (required)
  • API Endpoint: The Hoarder API endpoint (default: https://api.hoarder.app/api/v1)
  • Sync Folder: The folder where bookmark notes will be created (default: "Hoarder")
  • Attachments Folder: The folder where bookmark images will be saved (default: "Hoarder/attachments")
  • Sync Interval: How often to sync in minutes (default: 60)
  • Update Existing Files: Whether to update or skip existing bookmark files (default: false)
  • Exclude Archived: Exclude archived bookmarks from sync (default: true)
  • Only Favorites: Only sync favorited bookmarks (default: false)
  • Sync Notes to Hoarder: Whether to sync notes back to Hoarder (default: true)
  • Excluded Tags: Bookmarks with these tags will not be synced (comma-separated), unless favorited (default: empty)

Development

  1. Clone this repository
  2. Install dependencies with npm install
  3. Build the plugin with npm run build
  4. Copy main.js and manifest.json to your vault's plugin directory

License

MIT

About

An Obsidian.md community plugin that allows syncing with hoarder.app

Resources

License

Stars

Watchers

Forks

Packages

No packages published