An Obsidian plugin that allows you to quickly create a base from folder context menu with automatic folder and markdown file filters.
Right-click on any folder to instantly create a filtered base view
- Right-click on any folder in the file explorer to create a base
- Automatically filters files in the current folder using
file.inFolder(this.file.folder) - Automatically filters for markdown files only (
.mdextension) - Creates a
.basefile in the selected folder - Auto-opens the newly created base
- Right-click on any folder in the file explorer
- Select "Create a base of folder" from the context menu
- A new
.basefile will be created and opened automatically - The base will display all markdown files in the current folder
- Open Settings in Obsidian
- Go to Community Plugins and disable Safe Mode
- Click Browse and search for "Folder Base Creator"
- Click Install, then Enable
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder named
folder-basein your vault's.obsidian/plugins/directory - Copy the downloaded files into the folder
- Reload Obsidian
- Enable the plugin in Settings → Community Plugins
The plugin creates a base with the following structure:
filters:
and:
- file.inFolder(this.file.folder)
- file.ext == "md"
properties:
file.name:
displayName: "Name"
file.mtime:
displayName: "Modified"
views:
- type: table
name: "Files in current folder"
order:
- file.name- Obsidian v0.15.0 or higher
- Bases core plugin enabled
This plugin includes comprehensive unit tests using Jest.
# Run tests once
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage report
npm run test:coverage# Development build with watch mode
npm run dev
# Production build
npm run buildIf you encounter any issues or have suggestions, please create an issue on GitHub.
MIT
