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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mifwar/key-bee

v1.0.7

Published

A TUI for browsing and searching keybindings across tools (skhd, tmux, nvim, karabiner, zsh, hammerspoon)

Downloads

684

Readme

Key Bee 🐝

npm License: MIT Node.js

A terminal user interface for browsing and searching all your keybindings across different tools.

Built with Ink + React.

Key Bee - All keybindings view

https://github.com/user-attachments/assets/5d8412c3-ac3c-4e1c-b830-38671b288781

Features

  • Multi-tool support: skhd, tmux, nvim, karabiner, zsh, hammerspoon
  • Fuzzy search: Find any keybinding instantly
  • Conflict detection: Identify overlapping keybindings across tools
  • Auto-discovery: Automatically finds config files in your dotfiles
  • Change detection: Detects when config files change
  • Custom parsers: Add your own tools via regex patterns
  • Multiple paths: Search across multiple dotfiles locations

Installation

# Run directly (no install)
npx @mifwar/key-bee

# Or install globally
npm install -g @mifwar/key-bee
kb

Usage

First Run

On first run, a setup wizard will guide you through:

  1. Add search paths - Where are your dotfiles? (e.g., ~/code/dotfiles, ~/.config)
  2. Select configs - Choose which discovered config files to include

Navigation

| Key | Action | | -------------- | --------------------- | | j/k | Navigate up/down | | h/l or Tab | Switch tabs | | / or f | Search | | e | Edit selected config | | s | Sync (reload configs) | | g/G | Go to top/bottom | | Ctrl+R | Re-run setup | | q | Quit |

Tabs

  • All - All keybindings from all tools
  • [tool] - Filter by specific tool (skhd, tmux, nvim, etc.)
  • Conflicts - Show keybindings that conflict across tools

Configuration

Config is stored at ~/.config/key-bee/config.json:

{
  "basePaths": ["~/code/dotfiles", "~/.config"],
  "sources": [
    { "type": "skhd", "path": "skhd/skhdrc" },
    { "type": "tmux", "path": "~/.tmux.conf" },
    { "type": "nvim-keymap", "path": "nvim/lua/config/keymaps.lua" }
  ],
  "autoSync": true
}

Custom Parsers

Add custom tools using regex patterns:

{
  "sources": [
    {
      "type": "custom",
      "name": "aerospace",
      "path": "~/.aerospace.toml",
      "pattern": "^([a-z-]+)\\s*=\\s*['\"]([^'\"]+)['\"]",
      "keyGroup": 1,
      "actionGroup": 2,
      "commentPrefix": "#",
      "color": "#ff6b6b"
    }
  ]
}

The color field is optional - custom tools without it will use gray.

Supported Path Formats

{
  "sources": [
    { "type": "skhd", "path": "skhd/skhdrc" },
    { "type": "tmux", "path": "~/.tmux.conf" },
    { "type": "karabiner", "path": "/absolute/path/to/karabiner.json" }
  ]
}
  • Relative paths - Searched in all basePaths
  • Tilde paths - Expanded to home directory
  • Absolute paths - Used as-is

Editor Integration

Press e to open the selected config in your editor. The app uses $EDITOR, then $VISUAL, then falls back to vim.

Built-in Parsers

| Type | Files | Description | | ------------- | ------------------------- | ---------------------- | | skhd | skhdrc, .skhdrc | skhd hotkey daemon | | tmux | .tmux.conf, tmux.conf | tmux keybindings | | nvim-keymap | keymaps.lua, keys.lua | Neovim Lua keymaps | | karabiner | karabiner.json | Karabiner-Elements | | zsh-alias | .zshrc | Zsh aliases & bindkeys | | hammerspoon | init.lua | Hammerspoon hotkeys |

Tech Stack

Contributing

PRs welcome! Ideas: more built-in parsers (aerospace, raycast, wezterm, etc.)

License

MIT