{"id":34607326,"url":"https://github.com/sitic/http-hid-keyboard","last_synced_at":"2026-04-13T02:42:47.079Z","repository":{"id":205682926,"uuid":"714819316","full_name":"sitic/http-hid-keyboard","owner":"sitic","description":"Turn your Raspberry Pi into a remote keyboard, control via HTTP requests","archived":false,"fork":false,"pushed_at":"2023-11-06T03:27:29.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-13T02:41:56.805Z","etag":null,"topics":["hid","http","python","raspberry-pi","usb"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sitic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-05T22:26:00.000Z","updated_at":"2025-01-31T19:34:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"12a461bb-64ad-4901-8cbe-1818de7ff7e0","html_url":"https://github.com/sitic/http-hid-keyboard","commit_stats":null,"previous_names":["sitic/http-hid-keyboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sitic/http-hid-keyboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitic%2Fhttp-hid-keyboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitic%2Fhttp-hid-keyboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitic%2Fhttp-hid-keyboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitic%2Fhttp-hid-keyboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sitic","download_url":"https://codeload.github.com/sitic/http-hid-keyboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitic%2Fhttp-hid-keyboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31737849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"online","status_checked_at":"2026-04-13T02:00:06.623Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hid","http","python","raspberry-pi","usb"],"created_at":"2025-12-24T13:58:49.294Z","updated_at":"2026-04-13T02:42:47.074Z","avatar_url":"https://github.com/sitic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-hid-keyboard\n\nUse a Raspberry Pi as a USB keyboard controlled through HTTP requests. We use this project to control a Siemens ACUSON SC2000 ultrasound machine by emulating a keyboard/footswitch. Currently, only predefined actions/keypresses can be triggered.\n\nWe use a Raspberry Pi 3 A+ with Raspberry Pi OS, but any Raspberry Pi with USB OTG support should work.\n\n## Installation\n\n```bash\nsudo ./install.sh\n```\n\nwill set the appropriate boot options for USB OTG and install a `usb-gadget.service` and `hid-webserver.service` systemd service. Reboot the Raspberry Pi after installation.\n\n## Usage\n\nTest if keypresses can be issued:\n```bash\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"action\": \"ping\"}' http://localhost:8080\n```\n\nYou can define an actions in `main.py` and send them via HTTP POST requests to the webserver:\n\n```bash\nsudo systemctl restart hid-webserver\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"action\": \"save_recording\"}' http://localhost:8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitic%2Fhttp-hid-keyboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitic%2Fhttp-hid-keyboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitic%2Fhttp-hid-keyboard/lists"}