karstenpedersen7k downloadsCreate commands from custom queries to open random notes.
This plugin enables you to create custom queries for opening random notes. This can be done through its own query language, Dataview, and/or regular expressions.

This plugin uses three different query languages:
You can query files by their tags. Do this by specifying the tag: keyword. After this, you can write multiple tags that should be included and excluded from the file.
! in front of them, like this: tag: idea !complete. This will get files that have the idea tag, but not the complete tag.# in front of the tags, like this: #idea and !#complete,You can query files by their path. To do this, specify the path: keyword and write what the path should contain to be included in the result.
You can query files by their filename. To do this, specify the file: keyword and write what the filename should contain to be included in the result.
tag: idea !completefile: Untitled.path: / tag: fleeting.Install and enable Dataview through community plugins and reload Obsidian. You can find more information about Dataview queries in their documentation.
Note: This plugin only allows for list queries, like this one:
LIST
FROM #idea
Another query type is regular expressions
^attachments\/.*?[.](png|jpg)You can disable folders to remove them from being searched. This can be useful if you have a template folder that you do not want to open files from.
Note: Queries can disable the use of this setting, meaning that you can create some queries which searches from them.
Queries can be enabled as commands by clicking the toggle next to them when on the plugins settings tab. This can be useful in combination with the Commander plugin.
Fix opening other types of files other than markdown files.
Open Random Note command.Open Random Note Modal command.