Author.Today Book Importer

unlisted

by @ipfw999

Import book details from author.today into Obsidian notes

★ 1 starsUpdated 1mo agoGPL-3.0
View on GitHub

Book Importer for Obsidian

Import book metadata from Author.Today, Yandex Books, and LitRes directly into Obsidian.

This plugin:

  • Fetches title, all authors, cover image, description, publication date, genres, publisher, series name & number, and page count.
  • Supports Author.Today, Yandex Books, LitRes.ru, and LitRes.com URLs.
  • Bypasses CORS using Obsidian’s built-in requestUrl API.
  • Creates a new note in a folder of your choice, with frontmatter fields and body templated by you.
  • Supports Mustache-style placeholders:
    • {{title}}, {{author}}, {{cover}}, {{description}}, {{source}}
    • {{date}} (import date), {{published}}, {{genre}}, {{series}}, {{series_number}}, {{pages}}
  • Configurable via plugin settings:
    • Vault folder for new notes
    • Relative path to your custom note template

Installation

Option 1: install via BRAT

  1. Install the BRAT plugin in Obsidian.
  2. Open BRAT.
  3. Click Add Beta plugin.
  4. Paste the GitHub repository URL of this plugin.
  5. Install and enable it in Obsidian.

Option 2: manual install

  1. Clone this repo into your Vault’s .obsidian/plugins/author-today-importer folder
  2. Build with npm install && npm run build to generate main.js
  3. Enable the plugin in Obsidian’s Community Plugins settings
  4. Run “Import Book (Auto)” from the command palette and enter a supported book URL

The plugin provides the following placeholders for your template

  • {{title}} — the book title
  • {{author}} — the author(s)
  • {{cover}} — the cover image URL (OG-image)
  • {{description}} — the description from the meta tag
  • {{source}} — the original page URL
  • {{date}} — the import date (YYYY-MM-DD)
  • {{published}} — the publication date (extracted from the data-time span)
  • {{genre}} — the genres (text from div.book-genres)
  • {{series}} — the series name (without brackets; wrap in [[…]] in your template)
  • {{series_number}} — the number in the series
  • {{pages}} — an estimated page count (character count ÷ 2000, rounded up)
  • {{publisher}} — publisher from the book page; falls back to АТ, Яндекс, or Литрес
  • {{authors_yaml}} — authors as separate Obsidian links in a YAML list
  • {{genres_yaml}} — genres as separate Obsidian links in a YAML list
  • {{cover_link}}, {{status_link}}, {{series_link}} — ready-to-use Obsidian links

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.