{"id":17184402,"url":"https://github.com/zvecr/rest-ahk","last_synced_at":"2026-02-06T14:15:49.541Z","repository":{"id":48313259,"uuid":"184150622","full_name":"zvecr/rest-ahk","owner":"zvecr","description":"Compile service for AutoHotkey scripts","archived":false,"fork":false,"pushed_at":"2021-08-02T06:26:58.000Z","size":853,"stargazers_count":0,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T02:04:27.399Z","etag":null,"topics":["ahk2exe","autohotkey"],"latest_commit_sha":null,"homepage":"http://rest-ahk.zvecr.com","language":"JavaScript","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/zvecr.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}},"created_at":"2019-04-29T22:04:26.000Z","updated_at":"2020-07-30T13:03:08.000Z","dependencies_parsed_at":"2022-08-24T06:01:25.417Z","dependency_job_id":null,"html_url":"https://github.com/zvecr/rest-ahk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zvecr/rest-ahk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvecr%2Frest-ahk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvecr%2Frest-ahk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvecr%2Frest-ahk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvecr%2Frest-ahk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zvecr","download_url":"https://codeload.github.com/zvecr/rest-ahk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvecr%2Frest-ahk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265191344,"owners_count":23725306,"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":["ahk2exe","autohotkey"],"created_at":"2024-10-15T00:43:12.014Z","updated_at":"2026-02-06T14:15:44.511Z","avatar_url":"https://github.com/zvecr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rest-ahk\n\u003e Compile service for AutoHotkey scripts\n\n[![Build Status](https://travis-ci.org/zvecr/rest-ahk.svg?branch=master)](https://travis-ci.org/zvecr/rest-ahk)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0c69e40060e94ff9989c25fb3e23bd1b)](https://app.codacy.com/app/zvecr/rest-ahk?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=zvecr/rest-ahk\u0026utm_campaign=Badge_Grade_Dashboard)\n[![Dependabot Status](https://api.dependabot.com/badges/status?host=github\u0026repo=zvecr/rest-ahk)](https://dependabot.com)\n\nREST service for compiling AutoHotkey scripts `.ahk` to `.exe`\n\nBehind the scenes, `wine` and `xvfb` are used to run `Ahk2Exe`, producing a lightweight Linux based container, deployable almost anywhere.\n\nFor the UI, see the [zvecr/vue-ahk](https://github.com/zvecr/vue-ahk) project.\n\n## Dependencies\n* nodejs (and npm)\n* wine\n* xvfb\n* Ahk2Exe (Installed to the wine path)\n\n## Examples\nThe following examples assume either node is running the project or the `rest-ahk` docker container is running locally.\n\n### POST /compile Example\n**Note:** While this example uses Unix-like paths, the following will produce a Windows executable.\n\n```bash\ncurl -X POST -H \"Content-Type: text/plain\" --output /tmp/test.exe --data '\n^j::                    \nSend, My First Script\nreturn                  \n' localhost:8080/compile\n```\n\n### GET /status Example\nTo status endpoint can be used to view the current service status, including various compile stats.\n\n```bash\ncurl http://localhost:8080/status\n```\n\nWhich should produce a JSON object.\n```json\n{\"compile\":{\"queue\":0,\"cache\":0}}\n```\n\n## Development\nFor convenience a `.nvmrc` file has been provided at the root of the project directory.\n\n### Project setup\n```bash\nnpm install\n```\n\n### Compiles and hot-reloads for development\n```bash\nnpm run serve\n```\n\n### Compiles and minifies for production\n```bash\nnpm run build\n```\n\n### Compiles and runs for production\n```bash\nnpm run start\n```\n\n### Run your tests\n```bash\nnpm run test\n```\n\n### Lint files\n```bash\nnpm run lint\n```\n\n## Docker\nA simple workflow to package (and run) the service for production.\n\n```bash\ndocker build --rm -f \"Dockerfile\" -t rest-ahk:latest .\n\ndocker run --rm -it -p 1234:1234/tcp ahk-docker:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvecr%2Frest-ahk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvecr%2Frest-ahk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvecr%2Frest-ahk/lists"}