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

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

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

github/hotkey

0
View on GitHub↗
3,292 星标·98 分支·JavaScript·MIT·15 次浏览github.github.com/hotkey↗

Hotkey

Hotkey is a client-side JavaScript library designed to enhance web application accessibility and navigation through keyboard shortcut integration. It enables developers to bind keyboard shortcuts and multi-key sequences directly to HTML elements using declarative attributes. The library functions as a web component and DOM interaction helper that triggers clicks, focus events, or custom actions when specific key combinations are pressed.

The project features document-level event delegation to capture global keyboard inputs efficiently and route them to targeted elements. It includes input scope filtering to restrict shortcut activation based on whether focus resides inside designated form fields or allowed element containers. Additionally, it supports timed multi-key sequence buffering to track sequential keystrokes over a sliding time window.

Lifecycle management features automatically clean up active event listeners and clear key bindings whenever target elements are disconnected from the document object model.

Features

  • Keyboard Shortcuts - Provides a client-side web library for integrating keyboard shortcuts and navigation directly into web applications.
  • Keyboard Shortcuts - Offers a JavaScript library for binding keyboard shortcuts and sequential key combinations directly to HTML elements using declarative attributes.
  • Accessibility Navigation Tools - A utility for enhancing web page accessibility and speed by enabling keyboard-driven triggers on DOM elements.
  • Attribute Binding Directives - Declares keyboard shortcuts directly in markup using attributes that map key combinations to target element actions.
  • Event Handling - Triggering alternative browser events and managing dynamic key bindings directly through HTML attributes and custom parameters.
  • Keyboard-Based Accessibility - Improving web application keyboard navigation by attaching declarative shortcuts to make interactive elements accessible to screen and keyboard users.
  • Keyboard Event Delegation - Captures global keyboard events at the root document level and routes them to the correct target elements efficiently.
  • HTML Attribute Bindings - Binds keyboard shortcuts directly to HTML elements using declarative markup attributes that map key combinations to actions.
  • DOM Interactivity Libraries - A helper that activates clicks, focus, or custom events on target elements via defined key sequences.
  • Global Keyboard Event Listeners - Captures global keyboard inputs at the document level to route and trigger custom actions on target elements.
  • Key Sequence Patterns - Tracks sequential keystrokes over a time window to support chorded or multi-key shortcut combinations.
  • Custom Action Bindings - Register keyboard shortcuts using attributes or parameters to trigger custom element actions, handle alternative events, and remove bindings when no longer needed.
  • Event Listener Cleanups - Removes active event listeners and clears key bindings automatically when target elements are disconnected from the DOM.
  • Web Form Implementations - Enabling keyboard-driven interactions within form fields and specific page elements to improve accessibility and speed up data entry.
  • Focus Scope Filters - Restricts shortcut activation based on whether current focus resides inside designated form fields or allowed element containers.
  • Input Scope Filters - Restricts keyboard shortcut activation depending on whether focus resides inside specific form fields or designated elements.
  • Timed Sequence Buffers - Tracks sequential keystrokes over a sliding time window to support chorded or multi-key shortcut combinations.

Star 历史

github/hotkey 的 Star 历史图表github/hotkey 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

Hotkey 的开源替代方案

相似的开源项目,按与 Hotkey 的功能重合度排序。
  • 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
  • gdh1995/vimium-cgdh1995 的头像

    gdh1995/vimium-c

    4,283在 GitHub 上查看↗

    Vimium-C is a keyboard-driven browser extension that provides a vim-like navigation tool for web browsers. It functions as a customizable key mapper and accessibility tool, allowing users to interact with web content and manage browser tabs and windows without a mouse. The project distinguishes itself through advanced key mapping capabilities, including the ability to define contextual shortcuts based on the website host and remap keyboard layouts. It implements mode-specific mappings to prevent command conflicts and allows for specific keyboard mappings to function within text input boxes.

    TypeScriptchrome-extensionedge-extensionfirefox-webextension
    在 GitHub 上查看↗4,283
  • 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
  • ssleptsov/ninja-keysssleptsov 的头像

    ssleptsov/ninja-keys

    1,702在 GitHub 上查看↗

    Ninja-keys is a keyboard-driven command palette and quick-launch menu built as a web component for websites and single-page applications. It functions as a utility for binding, managing, and cleaning up global keyboard shortcuts across different web frameworks and static HTML. The component integrates fuzzy search indexing to filter available commands dynamically by matching user input strings against keywords and titles across flat and nested structures. It maintains command submenus as a hierarchical state tree that allows users to drill down and bubble back up through parent-child contexts

    TypeScripthotkeyhotkeyskeyboard
    在 GitHub 上查看↗1,702
查看 Hotkey 的所有 30 个替代方案→

常见问题解答

github/hotkey 是做什么的?

Hotkey is a client-side JavaScript library designed to enhance web application accessibility and navigation through keyboard shortcut integration. It enables developers to bind keyboard shortcuts and multi-key sequences directly to HTML elements using declarative attributes. The library functions as a web component and DOM interaction helper that triggers clicks, focus events, or custom actions when specific key combinations are pressed.

github/hotkey 的主要功能有哪些?

github/hotkey 的主要功能包括:Keyboard Shortcuts, Accessibility Navigation Tools, Attribute Binding Directives, Event Handling, Keyboard-Based Accessibility, Keyboard Event Delegation, HTML Attribute Bindings, DOM Interactivity Libraries。

github/hotkey 有哪些开源替代品?

github/hotkey 的开源替代品包括: jaywcjlove/hotkeys-js — hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback… gdh1995/vimium-c — Vimium-C is a keyboard-driven browser extension that provides a vim-like navigation tool for web browsers. It… greena13/react-hotkeys — React hotkeys is a keyboard shortcut manager designed for declaring, scoping, and handling keyboard shortcuts and… ssleptsov/ninja-keys — Ninja-keys is a keyboard-driven command palette and quick-launch menu built as a web component for websites and… kasper/phoenix — Phoenix is a macOS workspace automator and window manager that uses a JavaScript scripting engine to control… madrobby/keymaster — Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events…

包含 Hotkey 的精选搜索

收录 Hotkey 的精选合集。
  • 键盘快捷键库
  • Browser tab manager