{"id":49551374,"url":"https://github.com/masaki39/keymap-fetcher","last_synced_at":"2026-05-02T22:42:49.143Z","repository":{"id":342269842,"uuid":"1172601243","full_name":"masaki39/keymap-fetcher","owner":"masaki39","description":"A Vercel API that returns an SVG diagram of a MacBook Air 13\" Japanese (JIS) keyboard with specified keys highlighted.","archived":false,"fork":false,"pushed_at":"2026-03-05T13:58:20.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-05T15:37:56.198Z","etag":null,"topics":["svg-api","vercel-api"],"latest_commit_sha":null,"homepage":"https://keymap-fetcher.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masaki39.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-04T13:50:12.000Z","updated_at":"2026-03-05T13:58:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/masaki39/keymap-fetcher","commit_stats":null,"previous_names":["masaki39/keymap-fetcher"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/masaki39/keymap-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaki39%2Fkeymap-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaki39%2Fkeymap-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaki39%2Fkeymap-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaki39%2Fkeymap-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masaki39","download_url":"https://codeload.github.com/masaki39/keymap-fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaki39%2Fkeymap-fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32552377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T22:28:24.418Z","status":"ssl_error","status_checked_at":"2026-05-02T22:28:14.225Z","response_time":132,"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":["svg-api","vercel-api"],"created_at":"2026-05-02T22:42:48.326Z","updated_at":"2026-05-02T22:42:49.127Z","avatar_url":"https://github.com/masaki39.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keymap-fetcher\n\nA Vercel API that returns an SVG diagram of a MacBook Air 13\" Japanese (JIS) keyboard with specified keys highlighted. Primary use case: embedding keybinding diagrams in Markdown (GitHub READMEs, blogs).\n\n## Demo\n\nBase keyboard (no highlights):\n\n![base keyboard](https://keymap-fetcher.vercel.app/api/keymap)\n\nVim motion keys (hjkl):\n\n![hjkl](https://keymap-fetcher.vercel.app/api/keymap?keys=h,j,k,l)\n\nModifier keys:\n\n![modifiers](https://keymap-fetcher.vercel.app/api/keymap?keys=ctrl,shift-l,cmd-r,opt)\n\n## Usage\n\nEmbed in Markdown:\n\n```markdown\n![keymap](https://keymap-fetcher.vercel.app/api/keymap?keys=h,j,k,l)\n```\n\nOr with curl:\n\n```sh\ncurl \"https://keymap-fetcher.vercel.app/api/keymap?keys=h,j,k,l\" -o keymap.svg\n```\n\n### Parameters\n\n| Parameter | Description | Example |\n|-----------|-------------|---------|\n| `keys`    | Comma-separated Vim key notation | `h,j,k,l` or `\u003cC-a\u003e,\u003cEsc\u003e` |\n\n## Key Notation\n\nKeys follow Vim conventions:\n\n| Notation | Key |\n|----------|-----|\n| `a`–`z` | Letter keys |\n| `1`–`0` | Number keys |\n| `\u003cEsc\u003e` | Escape |\n| `\u003cCR\u003e`, `\u003cEnter\u003e`, `\u003cReturn\u003e` | Return/Enter |\n| `\u003cBS\u003e`, `\u003cBackspace\u003e`, `\u003cDel\u003e` | Delete |\n| `\u003cTab\u003e` | Tab |\n| `\u003cSpace\u003e`, `space` | Space bar |\n| `\u003cComma\u003e`, `comma` | , (comma) |\n| `\u003cUp\u003e`, `\u003cDown\u003e`, `\u003cLeft\u003e`, `\u003cRight\u003e` | Arrow keys |\n| `\u003cF1\u003e`–`\u003cF12\u003e` | Function keys |\n| `\u003cC-x\u003e` | Ctrl + x |\n| `\u003cS-x\u003e` | Shift + x |\n| `\u003cD-x\u003e` | Command (⌘) + x |\n| `\u003cM-x\u003e`, `\u003cA-x\u003e` | Option (⌥) + x |\n| `ctrl`, `shift`, `cmd`, `opt`, `alt`, `fn`, `caps` | Modifier keys alone |\n| `shift-l`, `shift-r`, `cmd-l`, `cmd-r` | Shift/Command with side |\n| `-`, `^`, `¥`, `@`, `[`, `;`, `:`, `]`, `.`, `/`, `_` | Symbol keys |\n\n## Self-hosting on Vercel\n\n```sh\ngit clone https://github.com/masaki39/keymap-fetcher.git\ncd keymap-fetcher\nnpm install\nvercel deploy\n```\n\n## Feedback\n\nPlease report issues at [GitHub Issues](https://github.com/masaki39/keymap-fetcher/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasaki39%2Fkeymap-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasaki39%2Fkeymap-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasaki39%2Fkeymap-fetcher/lists"}