README file from
Github✨ What is Lorebase?
Lorebase transforms your Obsidian vault into a full-featured media tracker. Catalog your games, anime, and future media collections with card views, rich metadata, progress tracking, and collection statistics — all while keeping your data portable and private as plain Markdown files.
🔒 Privacy-first — No accounts, no cloud sync, no telemetry. Your data never leaves your vault.
📸 Showcase
🚀 Features
📚 Dual Libraries
| Games | Anime | |
|---|---|---|
| Statuses | Not Started, Playing, Completed, Dropped, Sandbox | Planned, Watching, Completed, Dropped, Paused |
| Unique fields | Game series, HowLongToBeat time, developer, publisher | Format (TV/Movie/OVA/ONA/Special), season/episode progress, studios |
| Progress | Main · Main+Sides · Perfectionist | Season S2/4 · Episode EP 12/24 |
🃏 Card Views
- 3 preset sizes: Small · Medium · Large
- Custom dimensions: Fine-tune width, height, and image ratio
- Adaptive grid: Automatically calculates column count based on viewport
- Virtualized rendering: Smooth scrolling for 100+ items
🏷️ Badges & Overlays
| Badge | Description | Options |
|---|---|---|
| Status | Current tracking status with icon | Text + Icon or Icon-only mode |
| Rating | Personal 1–5 score | ⭐ Star mode or 😍 Emoji mode |
| Favorite | Heart indicator | Static or pulsating animation |
| Progress | Anime season & episode count | S 2/4 · EP 12/24 |
All badges have customizable positions (X/Y percentage) and can be placed anywhere on the card.
Hover overlay reveals title, year, format, and description — visibility of each element is configurable.
🔍 Smart Toolbar
| Control | Description |
|---|---|
| 🔎 Search | Real-time search with 150ms debounce |
| 🏷️ Filters | By status, favorite, 18+, custom poster |
| ↕️ Sort | By name, year, rating, or completion date |
| 🏷️ Tags | Plan tags, custom tags, and genres |
| ➕ Add | Create new items via metadata integrations |
| 🎲 Random | Pick a random item from your collection |
| 🖼️ View Mode | Toggle between vertical and horizontal |
📊 Collection Statistics
A beautiful dashboard modal with:
- Key metrics: Total items, completed count, average rating, favorites
- Status distribution: Bar charts with percentages
- Rating distribution: Emoji-based visualization (😍😊😐😕🤢)
- Additional info (games only): Series count, custom posters, completion %
✏️ Cinematic Editor
A three-column modal editor inspired by modern CMS design:
Keyboard shortcuts: Ctrl+Enter to save · Escape to close
🌸 Visual Effects
| Effect | Description |
|---|---|
| 🌸 Sakura | Gently falling cherry blossom petals |
| ❄️ Snow | Soft snowflakes drifting down |
Adjustable intensity from 20 to 150 particles with realistic sway, rotation, and random delays.
🔗 Integrations
Lorebase can automatically fetch metadata when creating new entries:
Game Providers
| Provider | Description | Requirements |
|---|---|---|
| Search Steam Store for games | None | |
| Largest video game database | Free API key | |
| Game completion times | None |
Anime Providers
| Provider | Description | Requirements |
|---|---|---|
| Comprehensive anime database | None | |
| Russian anime platform | None |
📦 Installation
Community Plugin
- Open Settings → Community plugins
- Search for Lorebase
- Install and enable the plugin
Manual Installation
-
Download the latest release from GitHub Releases
-
Copy these files into your vault's plugin folder:
<Vault>/.obsidian/plugins/lorebase/ ├── main.js ├── manifest.json └── styles.css -
Restart Obsidian or reload plugins
-
Open Settings → Community plugins and enable Lorebase
Build from Source
# Install dependencies
npm install
# Build the plugin
npm run build
# Run tests
npm test
# Type checking
npm run typecheck
🎯 Getting Started
- Open Lorebase — Click the Lorebase icon in the ribbon, or use the command palette (
Ctrl+P→ "Lorebase") - Choose your library — Switch between Games and Anime tabs
- Add your first item — Click the ➕ button to search via configured providers
- Review & create — Select a result, review the metadata, and create a note
- Edit details — Right-click any card to edit status, rating, tags, and more
Quick Actions via Context Menu
Right-click any card to:
- 🎯 Change status instantly
- ⭐ Set rating
- ❤️ Toggle favorite
- ✏️ Open full editor
- 🗑️ Delete item
⚙️ Settings
General
| Setting | Description | Options |
|---|---|---|
| Language | Interface language | English, Russian |
| Accent Color | Theme accent | 10 presets + custom hex |
| Particle Effect | Ambient particles | None, Sakura, Snow |
| Particle Intensity | Number of particles | 20–150 |
Library Settings (per media type)
| Setting | Description |
|---|---|
| Folder Path | Vault folder for this library |
| Card Size | Small / Medium / Large |
| Card Orientation | Vertical or Horizontal |
| Custom Dimensions | Fine-tune card width, height, ratio |
| Columns | Grid column count |
Card Appearance
- Overlay text: Position and visibility of title, year, format, description
- Badges: Position, mode, and style for status, rating, and favorite
- Description lines: Number of visible lines in hover overlay (1–70)
- Anime progress: Toggle season and episode badges
Integrations
- Toggle each provider on/off
- Enter API keys (RAWG)
- Select default provider per media type
- Configure note templates (simple field list or advanced YAML)
📝 Data Format
Every library item is a Markdown file with YAML frontmatter. You can edit them directly or through the Lorebase UI.
---
poster: "https://example.com/game-cover.jpg"
gameSeries: "The Witcher"
genres:
- "RPG"
- "Action"
plot: "You play as Geralt of Rivia, a monster hunter..."
platforms: "PC, PS4, Xbox One, Nintendo Switch"
year: "2015"
released: "2015-05-19"
developers:
- "CD Projekt Red"
publishers:
- "CD Projekt"
rating: "4"
userRating: 5
status: "completed"
favorite: true
url: "https://store.steampowered.com/app/292030"
main: "51 hours"
main_plus_sides: "103 hours"
perfectionist: "173 hours"
---
## My Notes
Amazing open-world RPG with incredible storytelling...
---
name: "Attack on Titan"
image: "https://example.com/anime-cover.jpg"
plot: "In a world where humanity lives within enormous walled cities..."
scoreImdb: "84"
tags: "action, drama, fantasy"
year: "2013"
studios: "Wit Studio, MAPPA"
format: "tv"
rating: 5
status: "completed"
favorite: true
url: "https://anilist.co/anime/16498"
seasonCurrent: 4
seasonTotal: 4
episodeCurrent: 87
episodeTotal: 87
---
## My Notes
One of the greatest anime of all time...
⚡ Performance
Lorebase is optimized for large collections:
- Virtualized rendering — Only visible cards are in the DOM
- Batch card rendering — 24 cards per animation frame
- O(1) file lookups — Map-based index for instant access
- Debounced inputs — Search and scroll events are throttled
- SVG template caching — Icons use
cloneNodeinstead ofinnerHTML - ResizeObserver — Adaptive layout without polling
🌍 Localization
| Language | Status |
|---|---|
| 🇬🇧 English | ✅ Full |
| 🇷🇺 Russian | ✅ Full |
All UI elements, status labels, settings descriptions, and error messages are fully translated.