@useatlas/obsidian-reader
v0.0.1
Published
Atlas Obsidian vault reader plugin — queries the Obsidian Local REST API plugin
Downloads
88
Maintainers
Readme
@useatlas/obsidian-reader
Read-only Obsidian vault reader — connects Atlas to a user's Obsidian vault via the Local REST API plugin.
Prerequisites
- Install the Local REST API plugin in Obsidian: Settings → Community plugins → Browse → "Local REST API".
- Enable it and copy the API key from its settings tab.
- Note the listen URL — defaults to
http://127.0.0.1:27123.
Install
bun add @useatlas/obsidian-readerUsage
import { defineConfig } from "@atlas/api/lib/config";
import { obsidianReaderPlugin } from "@useatlas/obsidian-reader";
export default defineConfig({
plugins: [
obsidianReaderPlugin({
api_url: "http://127.0.0.1:27123",
api_key: process.env.OBSIDIAN_API_KEY!,
}),
],
});Config
| Field | Type | Default | Description |
|-------|------|---------|-------------|
| api_url | string? | http://127.0.0.1:27123 | Base URL of the REST API plugin |
| api_key | string | — | Bearer token from the REST API plugin settings |
