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

Discrete

shkarlssonshkarlsson287 downloads

Filter in Explorer based on file frontmatter metadata

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

A focused Obsidian plugin for filtering files in the file explorer based on their frontmatter metadata. Keep your vault organized by hiding or showing files that match specific metadata criteria.

Features

  • File Explorer Filtering: Hide or show files in Obsidian's file explorer based on frontmatter metadata
  • Multiple Filter Operators: Support for various comparison operators:
    • = (Equals exactly)
    • ∈ (Contains text)
    • ∃ (Field exists)
    • ⊂ (Includes value in list/array)
    • > (Greater than)
    • < (Less than)
  • Flexible Value Types: Handle different types of metadata:
    • Text
    • Numbers
    • Arrays/Lists
    • Boolean (Yes/No)
  • Customizable Behavior:
    • Choose to hide or show matching files
    • Combine multiple filters with AND/OR logic
    • Real-time filtering as you create and modify rules
  • Quick Filtering: Right-click any file to instantly create filters based on its metadata

Planned Features

  • More filter operators and comparison types
  • Filter presets and saved filter combinations
  • Import/export filter configurations
  • Enhanced UI for managing complex filter sets

Installation

  1. Open Obsidian Settings
  2. Go to Community Plugins and disable Safe Mode
  3. Click Browse and search for "Discrete"
  4. Install the plugin
  5. Enable the plugin in your Community Plugins list

Usage

Creating Filters

  1. Open Settings → Discrete
  2. Click "Add New Filter"
  3. Configure your filter:
    • Enter the metadata key (e.g., "tags", "status", "priority")
    • Choose the operator (equals, contains, etc.)
    • Select the value type
    • Enter the value to match against

Filter Behavior

  • Hide Matching Files: When enabled, files that match your filters will be hidden. When disabled, only matching files will be shown.
  • Combine Filters with AND: When enabled, files must match ALL filters to be affected. When disabled, files matching ANY filter will be affected.

Quick Filtering

Right-click any file in the explorer and select "Filter by metadata" to quickly create a filter based on its metadata.

Understanding Operators

  • = (Equals): Exact match of the value
  • ∈ (Contains): Checks if the value contains the specified text
  • ∃ (Exists): Checks if the field exists in the frontmatter
  • ⊂ (Includes): For lists/arrays, checks if the value is in the list
  • > (Greater): For numbers, checks if value is greater than specified
  • < (Less): For numbers, checks if value is less than specified

Examples

  1. Hide Completed Tasks:

    • Key: "status"
    • Operator: "equals exactly"
    • Value Type: "text"
    • Value: "completed"
  2. Show High Priority Notes:

    • Key: "priority"
    • Operator: "greater"
    • Value Type: "number"
    • Value: "3"
  3. Filter by Tag:

    • Key: "tags"
    • Operator: "includes"
    • Value Type: "array"
    • Value: "project"

Support

If you encounter any issues or have suggestions for improvements, please visit the GitHub repository and create an issue.

Development Note

This plugin was developed with aider. Contributions and feedback are welcome!

Credits

Created by shkarlsson

License

This project is licensed under the MIT License - see the LICENSE file for details.

80%
HealthGood
ReviewSatisfactory
About
Filter files in the file explorer by frontmatter metadata to hide or show matching notes in real time. Choose from comparison operators (=, contains, exists, includes, >, <), combine filters with AND/OR, and create quick filters from a file's right-click menu.
FilesPropertiesSidebar
Details
Current version
0.2.0
Last updated
10 months ago
Created
Last year
Updates
3 releases
Downloads
287
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
OTHER
Report bugRequest featureReport plugin
Sponsor
GitHub Sponsors
Author
shkarlssonshkarlsson
github.com/shkarlsson
GitHubshkarlsson
  1. Community
  2. Plugins
  3. Files
  4. Discrete

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.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

Reveal Active File Button

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

File Explorer Note Count

See the number of notes in each folder within the file explorer.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.