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

Random Note from Folder

nobodyrightnownobodyrightnow30 downloads

Select a folder to have a random note chosen from.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

This is a simple plugin that allows the user to input a path to have a note chosen from. This is a plugin for Obsidian (https://obsidian.md).

This project was customized from the Obsidian sample plugin repo at https://github.com/obsidianmd/obsidian-sample-plugin?utm_source=chatgpt.com, which uses TypeScript to provide type checking and documentation. The repo depends on the latest plugin API (obsidian.d.ts) in TypeScript Definition format, which contains TSDoc comments describing what it does.

This plugin:

  • Adds a ribbon icon, which opens a Modal for text input when clicked.
  • Checks for a folder at the specified path from the user.
  • Recursively searches the folder and subfolders for MD files.
  • Picks a random MD file and opens it in a new tab.
  • Updates the user on its progress and any errors during runtime.

How to use

  • Click the dice icon on the ribbon.
  • Type in the path of the folder you wish to choose from, relative to the root of the vault.
  • Press the dice button or "Enter"
  • If the folder cannot be found, ensure you formatted it correctly. Top level folders will just be their name, while subfolders' paths will be "TopLevel/SubFolder".

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/random-file-from-folder-plugin/.
HealthExcellent
ReviewPassed
About
Pick a random Markdown note from a specified folder (recursively searching subfolders) and open it in a new tab. Open the ribbon dice icon to enter a vault-relative path and receive progress and error updates.
FilesNavigation
Details
Current version
1.0.0
Last updated
3 weeks ago
Created
3 weeks ago
Updates
1 release
Downloads
30
Compatible with
Obsidian 1.1.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
nobodyrightnownobodyrightnow
GitHubnobodyrightnow
  1. Community
  2. Plugins
  3. Files
  4. Random Note from Folder

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Remember cursor position

Remember cursor and scroll position for each note.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Home tab

A browser-like search tab for your local files.

GridExplorer

Browse and organize note files visually in a flexible grid layout.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Advanced URI

Control everything with URI.