Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Attachments Library

José Compadre JuniorJosé Compadre Junior232 downloads

Automatically indexes Attachments folder files with user-defined metadata via sidecar notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

An Obsidian plugin that automatically indexes files in your Attachments folder by creating rich metadata sidecar notes in a separate Library folder — without modifying a single attachment.

Why

Obsidian's drag-and-drop workflow is great for collecting PDFs, images, videos, and documents, but it gives you no way to annotate them with metadata (title, author, status, keywords) that survives renaming or moving files. Attachments Library solves this by maintaining a parallel library of lightweight notes — one per attachment — that you can search, filter, and view with Obsidian Bases.

Features

  • Automatic indexing — a sidecar note is created the moment you drop a file into your Attachments folder.
  • PDF metadata extraction — reads embedded title, author, subject, and keywords directly from PDF files, locally and without any internet connection.
  • DOI / ISBN lookup — optionally enriches metadata by querying CrossRef (DOI) and OpenLibrary (ISBN). No API key required.
  • Mirrored folder structure — subfolders inside Attachments/ are automatically replicated in Library/, keeping your library organised.
  • Lifecycle sync — renaming or deleting an attachment renames or removes its sidecar note automatically.
  • Backfill — one command indexes all pre-existing files that don't have a sidecar yet. Existing notes are never overwritten.
  • Obsidian Bases integration — automatically creates an Attachments Library.base file so you can browse, sort, and filter your entire library in a spreadsheet-like view.
  • Multilanguage UI — the settings interface is available in English and Brazilian Portuguese, following Obsidian's language setting automatically.
  • Configurable — choose which folder to watch, which file extensions to track, and which automatic behaviours to enable.

Installation

Community Plugins (recommended)

  1. Open Obsidian → Settings → Community plugins.
  2. Make sure Restricted mode is off.
  3. Click Browse, search for Attachments Library, and click Install.
  4. Enable the plugin.

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest release.

  2. Copy the three files into your vault's plugin folder:

    <your-vault>/.obsidian/plugins/attachments-library/
    ├── main.js
    ├── manifest.json
    └── styles.css
    
  3. Open Obsidian → Settings → Community plugins, find Attachments Library in the installed list, and enable it.

Building from source

git clone https://github.com/compadrejunior/attachments-library
cd attachments-library
npm install
npm run build

The compiled main.js will appear in the project root alongside manifest.json and styles.css.

How it works

When you add a file to your Attachments folder, the plugin creates a Markdown sidecar note in the Library folder with YAML frontmatter containing the file's metadata:

---
attachment: "Attachments/Papers/some-paper.pdf"
title: "The Paper Title"
author: "Jane Doe"
tags:
  - machine-learning
  - neural-networks
subject: "Computer Science"
genre: ""
source: ""
status: unread
notes: ""
created: 2026-06-27T10:00:00
updated: 2026-06-27T10:00:00
_fileType: pdf
_filePath: "Attachments/Papers/some-paper.pdf"
_heuristic: false
---
! [[Attachments/Papers/some-paper.pdf]]

The _heuristic: true flag marks notes whose metadata was auto-extracted (from PDF or a DOI/ISBN lookup) and may need human review.

Status values: unread · reading · done · archived · discarded

Configuration

Open Settings → Attachments Library to adjust the plugin's behaviour.

Setting Default Description
Attachments Folder Attachments Folder to watch. Should match Obsidian's Default location for new attachments setting.
Library Folder Library Where sidecar notes are created.
Mirror subfolder structure On Replicates subfolders from Attachments/ into Library/.
Auto-create note on new file On Creates a sidecar whenever a watched file is added.
Auto-delete note on file removal On Moves the sidecar to the system trash when the attachment is deleted.
Extract embedded PDF metadata On Reads title, author, subject, and keywords from PDF files locally.
Online DOI / ISBN lookup Off Queries CrossRef and OpenLibrary to enrich metadata. No API key needed.
Auto-create Bases file On Creates and updates Attachments Library.base in your vault root.
Bases file location (vault root) Custom folder where the .base file is created. Leave blank for the vault root.
Tags property name tags YAML property used for tags. Use tags to get Obsidian's native tag chip UI.

Watched extensions (default): .pdf .epub .docx .xlsx .pptx .png .jpg .jpeg .gif .mp4 .mp3 .zip

Commands

Command Description
Index all existing files (Backfill) Creates sidecar notes for every file in the Attachments folder that doesn't have one yet. Already-indexed files are skipped.
Create metadata note for active file Creates a sidecar for whichever attachment is currently open or selected.

Access commands via the Command Palette (Ctrl/Cmd + P).

Obsidian Bases

When enabled, the plugin automatically creates an Attachments Library.base file in your vault. Open it to get a table view of your entire attachment library — sortable and filterable by title, author, status, file type, and more.

You can customise the location of the .base file via the Bases file location setting.

Requirements

  • Obsidian 1.7.0 or later.
  • Works on desktop and mobile.

Contributing

Bug reports and pull requests are welcome at github.com/compadrejunior/attachments-library.

License

MIT

HealthExcellent
ReviewPassed
About
Index files dropped into your Attachments folder by creating sidecar notes in a parallel Library folder without modifying attachments. Extract PDF metadata locally and optionally enrich via CrossRef/OpenLibrary, mirror folder structure, sync renames/deletes, and generate an Attachments Library.base for spreadsheet-like browsing.
AttachmentsBasesPDF
Details
Current version
1.0.3
Last updated
Last month
Created
Last month
Updates
4 releases
Downloads
232
Compatible with
Obsidian 1.7.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
José Compadre JuniorJosé Compadre Juniorcompadrejunior
GitHubcompadrejunior
  1. Community
  2. Plugins
  3. Attachments
  4. Attachments Library

Related plugins

TaskNotes

Note-based task management with calendar, pomodoro and time-tracking integration.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation - multi-page knowledge generation with entity/concept pages and conversational query.

Annotator

Read and annotate PDFs and EPUB files.

Kanban Bases View

A kanban-style drag-and-drop custom view for Bases.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.