Plugins Limitter

pending

by Arthur Kh

Limits the number of installed plugins based on your vault file count to keep you focused.

Updated todayMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

Plugins Limitter (for Obsidian)

A minimalist Obsidian plugin designed to help you stay focused on writing and creating content, rather than constantly tinkering with new plugins.

Motivation

Obsidian is an incredibly powerful tool with a vibrant community plugin ecosystem. However, it's very easy to fall into the trap of "productivity procrastination" โ€” endlessly browsing, installing, and configuring plugins instead of actually thinking and writing.

The Plugins Limitter gently enforces a limit on the number of community plugins you can install. It gamifies your plugin usage: to earn the right to install another tool, you first have to produce more notes!

How It Works

The plugin tracks the total number of files in your Obsidian Vault and determines your maximum plugin allowance based on that number. If you reach your limit, the "Browse" button in the Community Plugins settings and the "Install" button in the plugin browser will be temporarily disabled until you create more files.

When you reach the limit, the disabled buttons will display the tooltip:

"You've reached the productive number of plugins, use Obsidian more to unlock the ability to install more plugins."

The Math Inside ๐Ÿงฎ

Your plugin limit is calculated using the following straightforward formula:

Maximum Plugins = 5 + Math.floor(Total Files / 10)

  • Base Limit: Everyone starts with a minimum allowance of 5 community plugins, regardless of vault size.
  • Scaling Limit: For every 10 additional files in your vault, your maximum allowed plugin count increases by 1.

Example:

  • 0 to 9 files: 5 plugins allowed
  • 10 to 19 files: 6 plugins allowed
  • 50 to 59 files: 10 plugins allowed
  • 100 to 109 files: 15 plugins allowed

Installation

Manual Installation (Local Testing)

  1. Download the latest release from the Releases page (if available), or build it from source.
  2. In your Obsidian vault, navigate to .obsidian/plugins/.
  3. Create a new folder named obsidian-plugins-limitter.
  4. Copy the main.js and manifest.json files into this folder.
  5. Restart Obsidian or reload your plugins.
  6. Go to Settings โ†’ Community plugins and enable "Obsidian Plugins Limitter".

Building from Source

  1. Clone this repository to your local machine.
  2. Open a terminal in the cloned directory.
  3. Run npm install to install dependencies.
  4. Run npm run build to compile the plugin.
  5. Copy the generated main.js and manifest.json to your vault's .obsidian/plugins/obsidian-plugins-limitter/ directory.

Usage

Once installed and enabled, the plugin works entirely in the background.

  1. Just use Obsidian normally!
  2. When you attempt to browse or install new community plugins in your Settings, the plugin will check your file count vs. your installed plugin count.
  3. If you are under the limit, you can install plugins as usual.
  4. If you have hit the ceiling, the install buttons will grey out, prompting you to go write more notes!

Screenshots

Dashboard in the settings

Preview 1

The blocking message

Preview 2

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.