{"id":20982387,"url":"https://github.com/privapps/mkinputs","last_synced_at":"2026-04-29T02:31:40.584Z","repository":{"id":180815666,"uuid":"453292062","full_name":"privapps/mkinputs","owner":"privapps","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-10T07:28:22.000Z","size":140416,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T19:26:41.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/privapps.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":"2022-01-29T04:06:03.000Z","updated_at":"2025-03-11T04:03:41.000Z","dependencies_parsed_at":"2026-01-17T20:07:17.530Z","dependency_job_id":null,"html_url":"https://github.com/privapps/mkinputs","commit_stats":null,"previous_names":["privapps/mkinputs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/privapps/mkinputs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fmkinputs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fmkinputs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fmkinputs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fmkinputs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/privapps","download_url":"https://codeload.github.com/privapps/mkinputs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fmkinputs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32408042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"online","status_checked_at":"2026-04-29T02:00:06.602Z","response_time":110,"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":[],"created_at":"2024-11-19T05:45:27.615Z","updated_at":"2026-04-29T02:31:40.552Z","avatar_url":"https://github.com/privapps.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What\nGolang executable programs that reads an yaml file and do the mouse and keyboard actions.\n\n## Why\nThe input for a computer is all about mouse and keyboard, if have a program does it, we can do a lot of fancy things.\nFor instance, testing software or website. Yes, for example, Selenium is good for web testing, but what happens for non-web stuff? Some other programs can do it but mostly requires a game engine that requires build etc.\n\nThis is a small app with a minimum learning curve. You only need to create a yaml file, without a build or development environment, you can get the job done.\n\n## How\nThere are two executable files in the project, track is used for recording mouse position, and mkinput is the program to do the job.\n\nHere is an example:\n### Use mouse to make mac sleep. screen 1450x900\n```bash\n./mkinput sleep.yaml\n```\n```yaml\n- mouse: 29 12\n- click:\n- mouse: 29 196\n- click:\n```\n### windows / linux switch program and input username/password and login\n```yaml\n- keytab: tab alt\n- keyup: shift\n- sleep: 100\n- typestr: \u003cusername\u003e\n- keytab: tab\n- typestr: \u003cpassword\u003e\n- keytab: tab\n- keytab: enter\n```\n### ssh to a list servers and reboot them one by one with sudo\n```bash\nfor i in `echo ip1 ip2 ip3 `; do ~/bin/mkinput reboot.yaml $i; done\n```\n```yaml\n- typestr: ssh \u003cusername\u003e@ \n- typearg: 2\n- keytab: enter\n- sleep: 2000\n- typestr: \u003cpassword\u003e\n- keytab: enter\n- sleep: 1000\n- typestr: sudo reboot\n- keytab: enter\n- sleep: 800\n- typestr: \u003cpassword\u003e\n- keytab: enter\n- sleep: 1000\n```\n\n\n\nYou get the idea, it let you control your mouse and keyboard, with an yaml file, without a programming environment.\n\n## Use / Download\nYou can [DOWNLOAD](https://github.com/privapps/mkinputs/tree/latest-binaries) the latest build from https://github.com/privapps/mkinputs/tree/latest-binaries\nThanks golang's cross platform build, you should be able to find executables for most popular os/archetecture. You might need cygwin for windows.\n\nIf you find this program is very slow in windows, blame on your antivirus software.\n\n## Under the neat\nThis is project is based on https://github.com/go-vgo/robotgo and it only use subset of it, see for details.\nAnd here for all keys https://github.com/go-vgo/robotgo/blob/master/docs/keys.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivapps%2Fmkinputs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprivapps%2Fmkinputs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivapps%2Fmkinputs/lists"}