{"id":13439613,"url":"https://github.com/autopilot-rs/autopilot-rs","last_synced_at":"2026-04-01T20:44:05.097Z","repository":{"id":43476011,"uuid":"129001105","full_name":"autopilot-rs/autopilot-rs","owner":"autopilot-rs","description":"A simple, cross-platform GUI automation module for Rust.","archived":false,"fork":false,"pushed_at":"2025-10-29T16:02:37.000Z","size":507,"stargazers_count":416,"open_issues_count":14,"forks_count":51,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-02T08:13:39.902Z","etag":null,"topics":["automation","cross-platform","gui","input","rust","simulation"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/autopilot-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2018-04-10T22:15:02.000Z","updated_at":"2025-12-14T17:20:38.000Z","dependencies_parsed_at":"2025-10-29T18:05:27.162Z","dependency_job_id":null,"html_url":"https://github.com/autopilot-rs/autopilot-rs","commit_stats":{"total_commits":133,"total_committers":19,"mean_commits":7.0,"dds":0.3007518796992481,"last_synced_commit":"223fec9460b8ffa9a4816688c69e1d8ff09031f9"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/autopilot-rs/autopilot-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autopilot-rs%2Fautopilot-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autopilot-rs%2Fautopilot-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autopilot-rs%2Fautopilot-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autopilot-rs%2Fautopilot-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autopilot-rs","download_url":"https://codeload.github.com/autopilot-rs/autopilot-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autopilot-rs%2Fautopilot-rs/sbom","scorecard":{"id":217383,"data":{"date":"2025-08-11","repo":{"name":"github.com/autopilot-rs/autopilot-rs","commit":"643f0afeac11b19a89d8cceceedd5a4ec80b71bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":3,"reason":"Found 7/20 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/autopilot-rs/autopilot-rs/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/autopilot-rs/autopilot-rs/build.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/autopilot-rs/autopilot-rs/build.yaml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:54:22.794Z","repository_id":43476011,"created_at":"2025-08-17T01:54:22.794Z","updated_at":"2025-08-17T01:54:22.794Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["automation","cross-platform","gui","input","rust","simulation"],"created_at":"2024-07-31T03:01:15.606Z","updated_at":"2026-04-01T20:44:05.089Z","avatar_url":"https://github.com/autopilot-rs.png","language":"Rust","funding_links":[],"categories":["Libraries","GUI Automation","库 Libraries","库"],"sub_categories":["GUI","Snippets Manager","GUI GUI","图形用户界面 GUI"],"readme":"[![Docs](https://docs.rs/autopilot/badge.svg)](https://docs.rs/autopilot)\n[![Crates.io](https://img.shields.io/crates/v/autopilot.svg)](https://crates.io/crates/autopilot)\n[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/ilcq8ev8ht49eqbx?svg=true)](https://ci.appveyor.com/project/msanders/autopilot-rs)\n[![Github Build Status](https://github.com/autopilot-rs/autopilot-rs/actions/workflows/build.yaml/badge.svg)](https://github.com/autopilot-rs/autopilot-rs/actions/workflows/build.yaml)\n\n# AutoPilot\n\nAutoPilot is a Rust port of the Python C extension\n[AutoPy](http://autopy.org), a simple, cross-platform GUI automation library for\nPython. For more information, see the\n[README](https://github.com/autopilot-rs/autopy#autopy-introduction-and-tutorial)\non that repo.\n\nCurrently supported on macOS, Windows, and X11 with the XTest extension.\n\n## Examples\n\nThe following will move the mouse across the screen as a sine wave:\n\n```rust\nextern crate autopilot;\nextern crate rand;\nuse rand::Rng;\n\nconst TWO_PI: f64 = std::f64::consts::PI * 2.0;\nfn sine_mouse_wave() {\n    let screen_size = autopilot::screen::size();\n    let scoped_height = screen_size.height / 2.0 - 10.0; // Stay in screen bounds.\n    let mut rng = rand::rng();\n    for x in 0..screen_size.width as u64 {\n        let y = (scoped_height * ((TWO_PI * x as f64) / screen_size.width).sin() + \n                 scoped_height).round();\n        let duration: u64 = rng.random_range(1..3);\n        autopilot::mouse::move_to(autopilot::geometry::Point::new(\n            x as f64,\n            y as f64\n        )).expect(\"Unable to move mouse\");\n        std::thread::sleep(std::time::Duration::from_millis(duration));\n    }\n}\n```\n\nThis will enter the keys from the string \"Hello, world!\" and then prompt an\nalert with the same text:\n\n```rust\nextern crate autopilot;\n\nfn main() {\n    autopilot::key::type_string(\"Hello, world!\", \u0026[], 200., 0.);\n    let _ = autopilot::alert::alert(\"Hello, world!\", None, None, None);\n}\n```\n\n## Contributing\n\nIf you are interested in this project, please consider contributing. Here are a\nfew ways you can help:\n\n- [Report issues](https://github.com/autopilot-rs/autopilot-rs/issues).\n- Fix bugs and [submit pull requests](https://github.com/autopilot-rs/autopilot-rs/pulls).\n- Write, clarify, or fix documentation.\n- Suggest or add new features.\n\n## License\n\nThis project is licensed under either the [Apache-2.0](LICENSE-APACHE) or\n[MIT](LICENSE-MIT) license, at your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautopilot-rs%2Fautopilot-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautopilot-rs%2Fautopilot-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautopilot-rs%2Fautopilot-rs/lists"}