awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
madrobby avatar

madrobby/keymaster

0
View on GitHub↗
6,516 stars·469 forks·JavaScript·MIT·10 views

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 history

Star history chart for madrobby/keymasterStar history chart for madrobby/keymaster

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Keymaster

Similar open-source projects, ranked by how many features they share with Keymaster.
  • jaywcjlove/hotkeys-jsjaywcjlove avatar

    jaywcjlove/hotkeys-js

    7,107View on 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
    View on GitHub↗7,107
  • greena13/react-hotkeysgreena13 avatar

    greena13/react-hotkeys

    2,158View on 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
    View on GitHub↗2,158
  • ccampbell/mousetrapccampbell avatar

    ccampbell/mousetrap

    11,774View on 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
    View on GitHub↗11,774
  • igrigorik/videospeedigrigorik avatar

    igrigorik/videospeed

    4,364View on 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
    View on GitHub↗4,364
See all 30 alternatives to Keymaster→

Frequently asked questions

What does madrobby/keymaster do?

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.

What are the main features of madrobby/keymaster?

The main features of madrobby/keymaster are: 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.

What are some open-source alternatives to madrobby/keymaster?

Open-source alternatives to madrobby/keymaster include: 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…