awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
madrobby avatar

madrobby/keymaster

0
View on GitHub↗
6,516 星标·469 分支·JavaScript·MIT·5 次浏览

Keymaster

Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events and mapping key combinations to handler functions. It includes a keyboard event manager and a key state tracker to monitor and query which keys or modifiers are currently held down.

The library features a scoped input handler that allows shortcuts to be grouped into named contexts. This enables the application to switch between different sets of available actions depending on the active area of the interface.

The system includes input filtering to prevent global shortcuts from triggering while a user is typing in text fields. It also supports the unbinding of shortcuts globally or within specific scopes.

Features

  • Keyboard-to-Action Mappings - Maps specific keyboard input combinations to executable application actions.
  • Modifier Key Listeners - Detects and combines modifier keys like Ctrl, Alt, and Shift to resolve multi-key shortcuts.
  • Keyboard Event Handlers - Intercepts and filters keyboard input based on focus state or custom conditions.
  • Shortcut Scope Management - Groups keyboard shortcuts into named namespaces that can be toggled based on the active application view.
  • Keyboard Shortcut Mapping - Provides a system for mapping key combinations and modifiers to specific handler functions.
  • Global Keyboard Event Listeners - Implements window-level keyboard event interception to route inputs to registered handlers.
  • Input Event Filtering - Filters keyboard events to ensure global shortcuts do not fire while the user is typing in input fields.
  • Held Key Trackers - Tracks the real-time state of pressed keys to support continuous input logic.
  • DOM Focus Filtering - Prevents shortcut execution when specific DOM elements, such as text inputs, have focus.
  • Key State Querying - Provides the ability to query whether specific keys or modifiers are currently being held down.
  • General Utilities - Simple keyboard event listener.
  • Keyboard Shortcuts - Small library for defining keyboard shortcuts.
  • Keyboard Shortcuts - Micro-library for keyboard shortcuts.

Star 历史

madrobby/keymaster 的 Star 历史图表madrobby/keymaster 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Keymaster 的开源替代方案

相似的开源项目,按与 Keymaster 的功能重合度排序。
  • jaywcjlove/hotkeys-jsjaywcjlove 的头像

    jaywcjlove/hotkeys-js

    7,107在 GitHub 上查看↗

    hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback functions within web applications. It serves as an input shortcut orchestrator that captures and filters keyboard events to execute custom actions. The library distinguishes itself through shortcut scope management, allowing shortcuts to be organized into named groups. These scopes can be toggled to prevent command conflicts across different application states. The system covers keyboard shortcut binding and unbinding, real-time key state querying, and input event filtering to prev

    TypeScriptbrowserhotkeyhotkeys
    在 GitHub 上查看↗7,107
  • greena13/react-hotkeysgreena13 的头像

    greena13/react-hotkeys

    2,158在 GitHub 上查看↗

    React hotkeys is a keyboard shortcut manager designed for declaring, scoping, and handling keyboard shortcuts and focus areas in React applications. It allows developers to define declarative shortcuts by binding key combinations or sequences to action names and handler functions, enabling components to respond predictably to user input. The library provides distinct mechanisms for managing how keyboard events interact with the document. It supports scoping hotkeys to specific component subtrees and DOM descendants to match natural browser focus behavior, alongside global key event handling t

    JavaScript
    在 GitHub 上查看↗2,158
  • ccampbell/mousetrapccampbell 的头像

    ccampbell/mousetrap

    11,774在 GitHub 上查看↗

    Mousetrap is a JavaScript keyboard shortcut library used to bind specific key combinations and sequences to custom functions in web applications. It serves as a keyboard event handler that listens to and manages keypress, keydown, and keyup events across a browser window. The library includes a sequence-based input manager for triggering actions based on a precise series of keys pressed in a specific order. It also provides a custom shortcut recorder to capture user keystrokes for defining and saving personalized shortcuts. The system supports global binding registration to ensure shortcuts

    JavaScriptjavascriptkeyboardkeyboard-shortcuts
    在 GitHub 上查看↗11,774
  • igrigorik/videospeedigrigorik 的头像

    igrigorik/videospeed

    4,364在 GitHub 上查看↗

    This is a Chrome browser extension that serves as an HTML5 video speed controller and media playback speed manager. It is designed to adjust the playback rate of video and audio elements across any website and provide a utility for navigating media timelines. The tool features a dedicated interface for mapping custom keyboard shortcuts to control playback and timeline navigation. It allows for the creation of domain-specific playback rules to set default speeds or disable the controller on specific websites, and it includes a mechanism to persist selected speeds when native players attempt to

    JavaScript
    在 GitHub 上查看↗4,364
查看 Keymaster 的所有 30 个替代方案→

常见问题解答

madrobby/keymaster 是做什么的?

Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events and mapping key combinations to handler functions. It includes a keyboard event manager and a key state tracker to monitor and query which keys or modifiers are currently held down.

madrobby/keymaster 的主要功能有哪些?

madrobby/keymaster 的主要功能包括:Keyboard-to-Action Mappings, Modifier Key Listeners, Keyboard Event Handlers, Shortcut Scope Management, Keyboard Shortcut Mapping, Global Keyboard Event Listeners, Input Event Filtering, Held Key Trackers。

madrobby/keymaster 有哪些开源替代品?

madrobby/keymaster 的开源替代品包括: jaywcjlove/hotkeys-js — hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback… greena13/react-hotkeys — React hotkeys is a keyboard shortcut manager designed for declaring, scoping, and handling keyboard shortcuts and… ccampbell/mousetrap — Mousetrap is a JavaScript keyboard shortcut library used to bind specific key combinations and sequences to custom… igrigorik/videospeed — This is a Chrome browser extension that serves as an HTML5 video speed controller and media playback speed manager. It… jamiebuilds/tinykeys — Tinykeys is a lightweight JavaScript utility for mapping keyboard combinations, sequences, and regular expression… github/hotkey — Hotkey is a client-side JavaScript library designed to enhance web application accessibility and navigation through…