No description
Find a file
2025-05-06 23:21:56 +01:00
github Cleanup 2025-04-14 20:10:04 +01:00
scripts script fix 2025-04-17 00:46:48 +01:00
src External settings reload support 2025-05-06 23:21:29 +01:00
.editorconfig Initial commit 2025-04-12 23:55:06 +01:00
.gitignore meta/structure changes 2025-04-17 00:43:22 +01:00
.npmrc Initial commit 2025-04-12 23:55:06 +01:00
.prettierignore Initial Release 2025-04-14 17:43:59 +01:00
.prettierrc Format 2025-04-17 00:44:09 +01:00
eslint.config.js Cleanup 2025-04-14 20:10:04 +01:00
LICENSE Cleanup 2025-04-14 20:10:04 +01:00
manifest.json Release 1.3.4 2025-05-06 23:21:56 +01:00
package.json Release 1.3.4 2025-05-06 23:21:56 +01:00
pnpm-lock.yaml meta/structure changes 2025-04-17 00:43:22 +01:00
pnpm-workspace.yaml meta/structure changes 2025-04-17 00:43:22 +01:00
README.md Add support for blocking graph & hiding search results 2025-04-26 02:10:27 +01:00
styles.css Remove default hotkey, improve style.css clarity 2025-04-16 03:34:22 +01:00
tsconfig.json Initial Release 2025-04-14 17:43:59 +01:00
versions.json Release 1.3.4 2025-05-06 23:21:56 +01:00

Simple Password

Protect your Obsidian vault with a password

Preview Banner

Features

  • Lets you lock your vault so that no one snoops
  • Never touches your files
  • Auto Lock after inactivity
  • Different 'privacy modes': simple blur & closing affected tabs
  • You can target specific paths (multiple paths supported)
  • Multiple ways to lock: command, hotkeys, ribbon & URL (obsidian://lock)
  • Protects against page preview core plugin
  • Protects against embeds
  • Protects against search
  • (Optionally) locks graph view
  • Allows cancelling, letting a person look through unprotected parts
  • Plays well with theming - most things have unique classes

Warning

This plugin DOES NOT encrypt files. So if you are looking for "real" security, you gotta use some other plugin - like Protected Note or Cryptsidian

How to use, how it works, etc

To set the plugin up, go into the settings and set a password & alter the protected paths as you wish.

After that, the vault has 2 states: locked & unlocked. On load, the state is always locked.

When locked, if you try to open a file or get the preview for a file in a protected path, it will prompt you for a password. If unlocked, it will open the files as normal.

When the privacy mode is set to close tabs, it will not let tabs open for protected files (when locked). After a password is entered, the closed tabs will re-open.

When the privacy mode is set to blur, it will only blur the background of the modal.

Preview

Blur Mode

Blur Mode Preview

Tab Closer

Tab Closing Mode Preview

Ackgnoledgements

HEAVILY inspired by Qing Li's Password Protection plugin - I just wanted to add a few things to their plugin & the codebase didn't allow for my ideas to be easily implemented. Used the sample plugin template

Contributing

I'm open to issues, PRs, etc!