Blackfish166 downloadsSimple show and hide rules for Obsidian files and folders, including dot-prefixed hidden items.
Dotpass is a desktop Obsidian plugin for controlling which files and folders are shown or hidden in the file explorer, including dot-prefixed hidden items such as .claude, .git, .env, and generated .json files.
Dotpass 是一个桌面端 Obsidian 插件,用于控制文件树中文件和文件夹的显示与隐藏,尤其适合管理 .claude、.git、.env、.json 等默认隐藏或容易干扰视图的内容。
Most changes apply immediately. Some hidden paths are cached by Obsidian's file explorer. If a rule does not appear to take effect, quit Obsidian and reopen the vault.
Dotpass evaluates visibility in this order:
Custom rules always have the final say. A specific hide rule can hide something that would otherwise be shown, and a specific show rule can reveal something even when Obsidian would normally hide it.
Option input is designed for most users and is the default for new rules.
| Need | Suggested option rule |
|---|---|
| Show every folder with a specific name | All locations + Full name + .claude |
| Hide one exact folder | Specific object + choose that folder |
| Show folders only under one path | Under path + choose folder + Full name |
| Apply rules by depth | Specific depth, depth above, depth below, or depth range |
| Need | Suggested option rule |
|---|---|
| Hide all files with one name | All locations + Full name + settings.json |
| Hide all files with one extension | All locations + Extension + .json |
| Show matching files under one folder | Under path + choose folder + Full name or Extension |
| Show or hide one exact file | Specific object + choose that file |
The follow-position switch appears only for specific object rules. It is useful when you want Dotpass to keep tracking a chosen file or folder after it is moved inside Obsidian.
Expression input is for advanced users who need rules that are faster to type or not covered by the option controls.
| Expression | Meaning |
|---|---|
.claude |
Match by exact name |
settings.json |
Match by exact file name |
.json |
Match file extension |
in:01_Projects:.claude |
Match .claude under 01_Projects |
path:01_Projects/demo/.claude |
Match one exact path |
depth=1:.claude |
Match at depth 1 |
depth>=2:.json |
Match at depth 2 or deeper |
depth<=3:.cache |
Match at depth 3 or above |
depth=2..4:.tmp |
Match inside a depth range |
glob:**/*.json |
Match using a glob pattern |
regex:^.*\\.json$ |
Match using a regular expression |
Expression mode validates rules when the input loses focus. Option mode generates normalized rules automatically and does not require format validation.
cd dotpass
npm install
npm run build
The build syncs installable files into ../install/dotpass/.
To install manually, copy the generated install/dotpass/ folder into:
<your-vault>/.obsidian/plugins/dotpass/
Then enable Dotpass from Obsidian's community plugin settings.
For an Obsidian community plugin release, the GitHub release for the current version should include:
manifest.jsonmain.jsstyles.cssThe public repository should also contain this README.md, manifest.json, and versions.json.