Skip to content

Repository files navigation

Privacy Mode

Privacy mode is an Obsidian plugin that prevents the editor from being read while out in public. It replaces document text with a dot-only font. Selected text gets revealed for easier editing/reading.

Privacy Mode

Features

  • Replaces document text with privacy dots
  • Optional ASCII only font that maintains spaces in the privacy mode settings
  • Hides images and code blocks
  • Reveals selected text for easier editing/reading
  • Can be enabled/disabled using the command palette.
  • Add permanently hidden sections of text
  • Applies to editing mode only.
  • Entirely private. No data is sent to any servers ever.

Enabling / Disabling privacy mode

Privacy mode can be enabled/disabled using the following commands in the command palette:

  • Privacy Mode: Enable
  • Privacy Mode: Disable

Permanent privacy blocks

You can make a section of text permanently private by using the privacy callout

> [!privacy]
> Your private content here

Clicking and holding on the block reveals it when wanted

Optional privacy font

It's probably silly, but I really like having the spaces maintained when in privacy mode for my own use case. Unfortunately, adding full support for the unicode character space balloons the CSS file up to several megabytes, which doesn't seem ideal. By default, privacy mode enables build in text-security which will cover the full character set. If you want to enable spaces, and are ok with the ASCII only limitation, you can enable it in the privacy mode settings.

If someone smarter than me has an idea on how to do this better, I'm all ears. Open an issue or a pull request with any ideas. It would be great to get the full character wet while preserving the spacing. I really do think it's a much bette experience

Installing

I've submitted the plugin to the Obsidian community, but it's not yet approved. In the meantime, you can install it manually by following these steps:

  1. Download the latest main.js, manifest.json, and styles.css from the releases page
  2. Copy the files to your Obsidian vault's Vault/.obsidian/plugins/privacy-mode folder
  3. Restart Obsidian
  4. Enable the plugin in the Obsidian settings

Special thanks

Big time thanks to the Obsidian team for an awesome product and their base plugin

About

Protects your privacy while editing Obsidian notes in public

Resources

Contributing

Stars

30 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages