{"id":23229321,"url":"https://github.com/woodgear/bot","last_synced_at":"2026-04-24T11:37:00.468Z","repository":{"id":87633754,"uuid":"235111356","full_name":"woodgear/bot","owner":"woodgear","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-10T10:26:59.000Z","size":1324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-23T16:44:27.748Z","etag":null,"topics":["automatic","bot","windows"],"latest_commit_sha":null,"homepage":null,"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/woodgear.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-01-20T13:46:31.000Z","updated_at":"2020-03-23T10:04:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"1178c814-ccab-4bd0-a03a-e3d2b89079a6","html_url":"https://github.com/woodgear/bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woodgear/bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woodgear","download_url":"https://codeload.github.com/woodgear/bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["automatic","bot","windows"],"created_at":"2024-12-19T01:17:50.917Z","updated_at":"2026-04-24T11:37:00.463Z","avatar_url":"https://github.com/woodgear.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# what it is\nthe aim of bot is provid a way that control you windows manchine (like a ssh).\n# how it work\nbot has client mode and server mode.  \nunder server mode,it receive command and envloe it \nunder client mode,it connect to bot server and you could send command via it.\nthe whole work behavior is just like the behavior between ssh server and ssh client\n# how to use\n## server mode\n```\nbot server PORT\n```\n## client mode\n```\nbot client URL\n```\nurl is the ws://IP:PORT,ip is ip of the machine which bot run in server mode,\n### cmd syntax\nthere is three cmd here\n```\ncall xxxx\nspawn xxxx\ncopy-file {\"from\":\"xxx\",\"to\":\"xxx\"}\n```\nwhen server receiver cmd like call A, it will call create process `cmd /c A` wait the end of process and send all output back. similarly spawn do the same, but will not wait end of process.\nthe response from server is json str \n```json\n{\n    \"\"\n}\n```\n\n# how to install\n```\ncargo install --git https://github.com/woodgear/bot.git\n```\n# cli\nbot 应当提供流畅的命令行终端输入体验\n# script cli\nbot 应该很容易的被嵌入到脚本中被执行\n# script","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodgear%2Fbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoodgear%2Fbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodgear%2Fbot/lists"}