{"id":15099480,"url":"https://github.com/alima-webdev/keystroke-input","last_synced_at":"2026-02-09T17:01:18.467Z","repository":{"id":240316835,"uuid":"802277193","full_name":"alima-webdev/keystroke-input","owner":"alima-webdev","description":"Keystroke Input Element","archived":false,"fork":false,"pushed_at":"2025-05-14T05:06:58.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T10:33:16.425Z","etag":null,"topics":["custom-elements","form","html","input","webcomponents"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alima-webdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-17T22:02:16.000Z","updated_at":"2025-05-14T05:07:01.000Z","dependencies_parsed_at":"2024-05-18T01:25:54.114Z","dependency_job_id":"1e734171-13e2-43ce-88b3-a696b3a95524","html_url":"https://github.com/alima-webdev/keystroke-input","commit_stats":null,"previous_names":["alima-webdev/keystroke-input"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alima-webdev/keystroke-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alima-webdev%2Fkeystroke-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alima-webdev%2Fkeystroke-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alima-webdev%2Fkeystroke-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alima-webdev%2Fkeystroke-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alima-webdev","download_url":"https://codeload.github.com/alima-webdev/keystroke-input/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alima-webdev%2Fkeystroke-input/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29273139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-elements","form","html","input","webcomponents"],"created_at":"2024-09-25T17:21:30.022Z","updated_at":"2026-02-09T17:01:18.403Z","avatar_url":"https://github.com/alima-webdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keystroke Input Component for React\n\nA lightweight and customizable React component that captures and displays user keystrokes in real-time. Perfect for keyboard shortcut editors, typing games, or accessibility tools.\n\n## Features\n\n- Real-time keystroke capturing\n- Customizable display and behavior\n- Easy integration with any React project\n- Supports modifier keys (Ctrl, Alt, Shift, etc.)\n\n## Installation\n\n```bash\nnpm install keystroke-input\n# or\nyarn add keystroke-input\n```\n\n## Usage\n\n```jsx\nimport KeystrokeInput from 'keystroke-input';\n\nfunction App() {\n  return (\n    \u003cdiv\u003e\n      \u003ch2\u003ePress any key\u003c/h2\u003e\n      \u003cKeystrokeInput /\u003e\n    \u003c/div\u003e\n  );\n}\n```\n\n## Example\n\nVisual input display\n```\nWindows: Ctrl + Shift + A\nor\nMacOS: ⌘ ⇧ A\n```\n\nActual field value\n```json\n{\n    \"altKey\": false,\n    \"ctrlKey\": false,\n    \"metaKey\": true,\n    \"shiftKey\": true,\n    \"code\": \"KeyA\"\n}\n```\n\n## Styling\n\nThe component comes with minimal styling. You can easily customize it via CSS or by passing a custom `className` or using Tailwind classes.\n\n## Development\n\nClone the repo and run locally:\n\n```bash\ngit clone https://github.com/alima-webdev/keystroke-input.git\ncd keystroke-input\nnpm install\nnpm run dev\n```\n\n## License\n\nGPL-3.0 © [](https://github.com/alima-webdev)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falima-webdev%2Fkeystroke-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falima-webdev%2Fkeystroke-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falima-webdev%2Fkeystroke-input/lists"}