{"id":25411725,"url":"https://github.com/koho/svcctl","last_synced_at":"2026-03-05T23:39:09.537Z","repository":{"id":46161186,"uuid":"272402085","full_name":"koho/svcctl","owner":"koho","description":"Provide a web interface to query/control Windows Service","archived":false,"fork":false,"pushed_at":"2023-02-10T18:25:00.000Z","size":1234,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-31T05:41:00.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/koho.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}},"created_at":"2020-06-15T09:54:47.000Z","updated_at":"2023-09-23T21:33:39.000Z","dependencies_parsed_at":"2024-06-19T03:04:42.183Z","dependency_job_id":null,"html_url":"https://github.com/koho/svcctl","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/koho/svcctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fsvcctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fsvcctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fsvcctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fsvcctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koho","download_url":"https://codeload.github.com/koho/svcctl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fsvcctl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30155778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-02-16T10:19:22.443Z","updated_at":"2026-03-05T23:39:09.495Z","avatar_url":"https://github.com/koho.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svcctl\n\nProvide a web api to query/control service in Windows.\n\n## API\n### Query\nURL: /query/{name}\n\nMethod: GET\n\nHeaders:\n- Authorization: {token}\n\nContentType: JSON\n\nResponse:\n- `code`: Status code. If no errors occurred, it should be zero. Otherwise, it's a nonzero value.\n- `msg`: Message about calling result.\n- `name`: Name of the service.\n- `status`: The Service status(bool). It's `true` when the service is running.\n\nDescription:\n- `name`: Service name.\n- `token`: API token for authorization.\n\n### Control\nURL: /ctl/{name}/{action}[\u0026timeout={timeout}]\n\nMethod: GET\n\nHeaders:\n- Authorization: {token}\n\nContentType: JSON\n\nResponse:\n- `code`: Status code. If no errors occurred, it should be zero. Otherwise, it's a nonzero value.\n- `msg`: Message about calling result.\n- `name`: Name of the service.\n- `action`: The control action of the service.\n\nDescription:\n- `name`: Service name.\n- `action`: Control action(start|stop).\n- `token`: API token for authorization.\n- `timeout`: Operation timeout(in seconds).\n\n### File\nURL: /file?path=\n\nMethod: GET/POST\n\nHeaders:\n- Authorization: {token}\n\nQuery:\n- `path`: Download/Upload file path.\n\nForm:\n\nGET: -\n\nPOST: \n\n`file`: Upload file\n\nResponse:\n- GET: application/octet-stream\n- POST: JSON\n\nDescription:\n- `path`: Download/Upload file path.\n- `token`: API token for authorization.\n\n## Server\n\n### Build\n```\nbuild.cmd\n```\nBinary files are located in `bin`.\n\n### Usage\n```\nUsage of svcctl.exe:\n  -address string\n        Address to be serve on. (default \":9001\")\n  -install\n        Install as service.\n  -service\n        Run as service.\n  -token string\n        API token for authorization.\n  -uninstall\n        Uninstall service.\n  -version\n        Print version info.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoho%2Fsvcctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoho%2Fsvcctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoho%2Fsvcctl/lists"}