Improved Random Note Pro

pending

by Dmitriy Laukhin

Open a random note based on filters like folders, tags and properties.

β˜… 7 starsUpdated 1mo agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

Improved Random Note

Improved Random Note Preview

An Obsidian plugin that opens a random note based on customizable filters. Go beyond simple randomness β€” focus on the notes that matter to you.

✨ Features

🎯 Smart Filters

  • Include folders β€” search only in specific folders
  • Include tags β€” filter by tags (frontmatter and inline)
  • Include properties β€” filter by YAML frontmatter properties (key or key:value)
  • Exclude folders β€” skip folders like templates or archives
  • Match condition β€” combine filters with AND (all must match) or OR (any can match)

πŸ“š Filter Presets

  • Save your current filters as named presets (e.g., "Books", "Projects", "Daily Notes")
  • Each preset gets its own command in the palette (Cmd/Ctrl+P)
  • Fuzzy search modal for quickly picking a preset
  • Load any preset back into settings, or delete it

πŸ“œ History

  • Remembers the last N opened notes to avoid duplicates
  • Configurable history size (default: 5, set to 0 to disable)
  • Auto-resets when all candidates have been shown
  • Clear history from settings or via command

πŸ“Œ Sidebar Widget

  • A dedicated sidebar panel with a random note preview
  • Shows: note title, folder path, tags, and a rendered markdown excerpt
  • Refresh to see another note or Open to navigate to it
  • Access via command: Show random note widget

βš™οΈ General

  • Open notes in the current tab or always in a new tab
  • Works with the ribbon icon (πŸ”€), commands, presets, or the sidebar

πŸ“Έ Screenshots

Settings and Presets Sidebar Widget Random Note in action

πŸš€ Installation

From Obsidian Community Plugins (coming soon)

  1. Open Settings β†’ Community plugins β†’ Browse
  2. Search for "Improved Random Note"
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder: .obsidian/plugins/improved-random-note/
  3. Copy the three files into that folder
  4. Restart Obsidian and enable the plugin in Settings β†’ Community plugins

πŸ›  Development

# Clone the repo into your vault's plugins folder
cd /path/to/vault/.obsidian/plugins/
git clone https://github.com/dementiy/obsidian-improved-random-note.git
cd obsidian-improved-random-note

# Install dependencies
npm install

# Build
npm run build

# Watch mode (auto-rebuild on changes)
npm run dev

πŸ“„ License

MIT

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.