{"id":29308598,"url":"https://github.com/spyoungtech/ahko3","last_synced_at":"2025-10-14T19:37:31.101Z","repository":{"id":302726660,"uuid":"1013425253","full_name":"spyoungtech/AhkO3","owner":"spyoungtech","description":"Rust bindings for AutoHotkey","archived":false,"fork":false,"pushed_at":"2025-07-03T22:16:33.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-03T23:25:16.230Z","etag":null,"topics":["ahk","ahkv2","autohotkey","autohotkey-v2","binding","ffi","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spyoungtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-07-03T22:06:49.000Z","updated_at":"2025-07-03T23:02:00.000Z","dependencies_parsed_at":"2025-07-03T23:35:27.238Z","dependency_job_id":null,"html_url":"https://github.com/spyoungtech/AhkO3","commit_stats":null,"previous_names":["spyoungtech/ahko3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spyoungtech/AhkO3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2FAhkO3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2FAhkO3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2FAhkO3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2FAhkO3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spyoungtech","download_url":"https://codeload.github.com/spyoungtech/AhkO3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2FAhkO3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020657,"owners_count":26086898,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["ahk","ahkv2","autohotkey","autohotkey-v2","binding","ffi","rust"],"created_at":"2025-07-07T07:14:08.580Z","updated_at":"2025-10-14T19:37:31.094Z","avatar_url":"https://github.com/spyoungtech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AhkO3\n\nThis project aims to provide Rust binding generation for AutoHotkey, similar to how PyO3 works \nfor Python.\n\nEverything is in early phases and not yet published to crates.io\n\n## Usage\n\nSee the `examples` directory for working examples.\n\nThe idea is that you can write a Rust crate (a `cdylib` crate-type) like so:\n\n```rust\nuse ahko3::prelude::*;\n\n#[ahkfunction]\npub fn concatenate(a: String, b: String) -\u003e String {\n    format!(\"{}{}\", a, b)\n}\n\n#[ahkfunction]\npub fn add(left: i64, right: i64) -\u003e i64 {\n    left + right\n}\n```\n\n\nThen (not yet implemented) an AutoHotkey file will also be generated like `\u003ccrate_name\u003e.ahk`\n\nSo the typical usage will then be in AHK something like:\n\n```ahk\n; include the generated file\n#Include adder.ahk\n\n; use the functions to call your rust code:\n\nresult := concatenate(\"foo\", \"bar\")\n\nMsgBox(result) ; \"foobar\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyoungtech%2Fahko3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspyoungtech%2Fahko3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyoungtech%2Fahko3/lists"}