npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

obsidian-zen

v0.5.0

Published

CLI to roll out the Zen Mode Obsidian plugin and settings into any vault.

Readme

🐻‍❄️ Zen Mode for Obsidian

🧘 Zen mode — no header, no tabs, no noise — focus on content 🎨 Accent — accent only important, powered by Cupertino ⌨️ Hotkeys — familiar hotkeys from other editors like Bear App ⚡ Sync — keeps any vault in sync with your own setting 📂 File — open any file without adding a vault


Quick Start

Have an Obsidian vault? Roll out the plugin and settings with one command:

npx obsidian-zen sync ~/vaults/work

Reload the Obsidian app if needed, then press Cmd + § / Cmd + ~ or Swipe. Enjoy the silence.


Install via CLI

The CLI installs the plugin straight from the repo and applies the settings/ profile into a vault. It's non-destructive — it backs up .obsidian/ first, deep-merges JSON (your own keys are kept) and never deletes anything.

npx obsidian-zen sync ~/vaults/work             # roll out
npx obsidian-zen sync ~/vaults/work --dry-run   # preview the plan, change nothing

After it finishes, press Cmd+R in the vault and enable the Zen Mode plugin.

Install via BRAT

Prefer the in-app route? Install with BRAT:

  1. Install and enable BRAT (Settings → Community plugins).
  2. Command palette → BRAT: Add a beta plugin → paste https://github.com/isuvorov/obsidian-zen.
  3. Enable Zen Mode (Settings → Community plugins).

CLI

Two subcommands, both run on Node and Bun.

sync — roll out the plugin and settings into a vault

npx obsidian-zen sync ~/vaults/work               # default source (this GitHub repo)
npx obsidian-zen sync ~/vaults/work --dry-run     # show the plan without changes
npx obsidian-zen sync ~/vaults/work --from .      # from a local clone (development)
npx obsidian-zen sync ~/vaults/work --from you/fork   # from another owner/repo

| Argument | Alias | Default | Purpose | |-------------|-------|--------------------------------------------|---------------------------------------------------| | <vault> | — | (required) | path to the target Obsidian vault | | --from | -f | https://github.com/isuvorov/obsidian-zen | profile source: folder | git URL | owner/repo | | --dry-run | -n | false | show the plan without changes |

open — open a file or a whole vault in Obsidian

Open a .md file that lives anywhere on disk, even outside a vault. Local attachments the note links to are symlinked alongside it, so images render. Pass a vault folder (one containing .obsidian) and that vault is opened directly — so open . inside a vault just opens it. A non-vault folder with a README.md opens that README instead.

npx obsidian-zen open README.md                       # open in the active vault
npx obsidian-zen open .                                # open the vault in the current folder
npx obsidian-zen open ~/projects/app/docs/*.md         # several files at once
npx obsidian-zen open NOTES.md --vault ~/vaults/work   # pick the destination vault
npx obsidian-zen open paper.md --mirror ~/projects/app # mirror the tree under the vault

| Argument | Alias | Default | Purpose | |-------------|-------|--------------|-------------------------------------------------------------------------| | <files..> | — | (required) | one or more .md files, or a vault folder to open the vault itself | | --vault | -V | active vault | destination vault for the symlinks | | --mirror | -m | — | directory whose inner structure is mirrored into the vault (repeatable) |

ob — global shortcut

Install once, alias it, and opening a note is two letters:

npm i -g obsidian-zen
alias ob='obsidian-zen open'    # add to ~/.zshrc to keep it

ob note.md                      # open a single file
ob ~/projects/app/docs/*.md     # a whole folder at once (shell glob)
ob .                            # open the current vault

A bare directory opens as a vault if it has .obsidian, else its README.md if present; otherwise pass .md files or a glob like docs/*.md.


Hotkeys & commands

The settings/hotkeys.json profile binds keys to plugin and core commands:

| Hotkey | Action | | ----------------- | ------------------------------------------------------ | | Cmd+1Cmd+6 | Toggle heading 1–6 (toggle: pressing again removes it) | | Cmd+0 | Remove heading (plain text) | | Cmd+P | Quick switcher (open file) | | Cmd+Shift+P | Command palette | | Cmd+Ctrl+P | Open another vault (in-window fuzzy palette) | | Cmd+§ / Cmd+~ / 2-finger swipe | Toggle the left sidebar (swipe: → reveal, ← hide) | | Cmd+Shift+§ / Cmd+Shift+~ | Toggle the right sidebar |

Collapse both sidebars → zen mode kicks in: the view header, tab bar and inline title hide, and the titlebar is painted to match the background.

Enter in Zen Mode

Zen mode strips the editor down to your content — the view header, tab bar and inline title disappear, and the titlebar blends into the background. Nothing but the words on the page, so you can write or read without the UI tugging at your attention. It kicks in the moment both sidebars are collapsed.

Get there two ways. By hotkeyCmd+§ toggles the left sidebar and Cmd+Shift+§ the right; collapse both and you're in. Or by swipe — a two-finger trackpad swipe toggles the left sidebar, the way it works on iPad / in Things 3: swipe right to reveal, swipe left to hide.


License

MIT — see LICENSE.