{"id":13413530,"url":"https://github.com/go-xkg/xkg","last_synced_at":"2025-03-14T19:32:34.253Z","repository":{"id":25363632,"uuid":"28791531","full_name":"go-xkg/xkg","owner":"go-xkg","description":"User level X Keyboard Grabber","archived":false,"fork":false,"pushed_at":"2015-01-08T04:01:03.000Z","size":352,"stargazers_count":56,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-25T05:24:10.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/go-xkg/xkg","language":"Go","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/go-xkg.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}},"created_at":"2015-01-05T01:04:43.000Z","updated_at":"2023-07-01T04:09:45.000Z","dependencies_parsed_at":"2022-08-24T04:31:06.287Z","dependency_job_id":null,"html_url":"https://github.com/go-xkg/xkg","commit_stats":null,"previous_names":["henriquemenezes/xkg"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-xkg%2Fxkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-xkg%2Fxkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-xkg%2Fxkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-xkg%2Fxkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-xkg","download_url":"https://codeload.github.com/go-xkg/xkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243635513,"owners_count":20322952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-07-30T20:01:42.515Z","updated_at":"2025-03-14T19:32:33.940Z","avatar_url":"https://github.com/go-xkg.png","language":"Go","funding_links":[],"categories":["Miscellaneous","杂项","Microsoft Office","\u003cspan id=\"其他-miscellaneous\"\u003e其他 Miscellaneous\u003c/span\u003e","其他杂项","Uncategorized","其他"],"sub_categories":["Uncategorized","Strings","Advanced Console UIs","未分类的","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","暂未分类","暂未分类这些库被放在这里是因为其他类别似乎都不适合。","交流"],"readme":"xkg - X Keyboard Grabber\n========================\n\n[![GoDoc](https://godoc.org/github.com/go-xkg/xkg?status.png)](https://godoc.org/github.com/go-xkg/xkg)\n\n## Installation\n\n    go get gopkg.in/xkg.v0\n\n## Usage example:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"gopkg.in/xkg.v0\"\n)\n\nfunc main() {\n\tvar keys = make(chan int, 100)\n\n\tgo xkg.StartXGrabber(keys)\n\n\tfor {\n\t\tkeycode := \u003c-keys\n\n\t\tif key, ok := xkg.KeyMap[keycode]; ok {\n\t\t\tfmt.Printf(\"[%s]\", key)\n\t\t}\n\t}\n}\n```\n\n## License\n\nThe license of the project is [The MIT License (MIT)](https://github.com/henriquemenezes/xkg/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-xkg%2Fxkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-xkg%2Fxkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-xkg%2Fxkg/lists"}