{"id":16950279,"url":"https://github.com/sbplat/macro-api","last_synced_at":"2025-04-11T20:40:47.358Z","repository":{"id":61317919,"uuid":"548663954","full_name":"sbplat/Macro-API","owner":"sbplat","description":"Cross-platform Macro API for C++.","archived":false,"fork":false,"pushed_at":"2022-12-25T22:43:37.000Z","size":506,"stargazers_count":19,"open_issues_count":5,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T16:45:36.240Z","etag":null,"topics":["api","cross-platform","keyboard","linux","macos","macro","mouse","scripting","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbplat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-10T01:49:47.000Z","updated_at":"2025-02-01T22:37:49.000Z","dependencies_parsed_at":"2023-01-30T22:46:56.390Z","dependency_job_id":null,"html_url":"https://github.com/sbplat/Macro-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbplat%2FMacro-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbplat%2FMacro-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbplat%2FMacro-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbplat%2FMacro-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbplat","download_url":"https://codeload.github.com/sbplat/Macro-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248478678,"owners_count":21110747,"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":["api","cross-platform","keyboard","linux","macos","macro","mouse","scripting","windows"],"created_at":"2024-10-13T21:57:15.357Z","updated_at":"2025-04-11T20:40:47.329Z","avatar_url":"https://github.com/sbplat.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/sbplat/Macro-API\"\u003e\n    \u003cimg src=\"/assets/logo.png\" alt=\"Macro API\" width=\"200\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  Macro API\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eCross platform Macro API for C++.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#planned-features\"\u003ePlanned Features\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n* Cross platform (only Windows at the moment)\n* Easy to use\n* Full keyboard and mouse control\n* Get keyboard and mouse states\n* Open source\n\n## Planned Features\n\n* Mac and Linux support\n* More examples and documentation\n* More control over your keyboard and mouse\n* Image searching\n\n## Usage\n\nIntegrate using CMake:\n```cmake\ninclude(FetchContent)\nFetchContent_Declare(\n    macro\n    GIT_REPOSITORY https://github.com/sbplat/Macro-API.git\n    GIT_TAG main  # or whatever tag/commit you want to use\n)\nFetchContent_MakeAvailable(macro)\n\ninclude_directories(${macro_SOURCE_DIR}/include)\n# Add your source files here (ex. add_executable(${PROJECT_NAME} main.cpp))\ntarget_link_libraries(${PROJECT_NAME} macro)\n```\n\nThen, in your code:\n```cpp\n#include \u003cmacro/macro.h\u003e  // Namespace: Macro\n```\n\nRefer to the [examples](examples) and documentation for a more in-depth look at how to use the API.\n\n## Contributing\n\nSee our [Contributing Guidelines](CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the [BSD 3-Clause License](LICENSE).\n\n# Our Amazing Contributors ❤️\n\nThanks to these amazing people for contributing to this project:\n\n\u003ca href=\"https://github.com/sbplat/Macro-API/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=sbplat/Macro-API\" /\u003e\n\u003c/a\u003e\n\n*list generated by [contrib.rocks](https://contrib.rocks)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbplat%2Fmacro-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbplat%2Fmacro-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbplat%2Fmacro-api/lists"}