{"id":19621246,"url":"https://github.com/jkstack/exec-agent","last_synced_at":"2025-04-28T03:32:14.805Z","repository":{"id":62470190,"uuid":"538830909","full_name":"jkstack/exec-agent","owner":"jkstack","description":"远程脚本执行agent","archived":false,"fork":false,"pushed_at":"2023-08-17T08:23:25.000Z","size":352,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T06:05:53.729Z","etag":null,"topics":["agent","command","exec","file"],"latest_commit_sha":null,"homepage":"https://jkstack.github.io/docs/agents/exec-agent/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkstack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2022-09-20T05:54:30.000Z","updated_at":"2025-04-04T12:50:00.000Z","dependencies_parsed_at":"2024-06-20T22:08:14.324Z","dependency_job_id":null,"html_url":"https://github.com/jkstack/exec-agent","commit_stats":{"total_commits":66,"total_committers":1,"mean_commits":66.0,"dds":0.0,"last_synced_commit":"19743028bb6e9de124edb87b0a980b850ec3bef2"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fexec-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fexec-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fexec-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fexec-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkstack","download_url":"https://codeload.github.com/jkstack/exec-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246231,"owners_count":21558761,"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":["agent","command","exec","file"],"created_at":"2024-11-11T11:22:05.354Z","updated_at":"2025-04-28T03:32:14.242Z","avatar_url":"https://github.com/jkstack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# exec-agent\n\n[![version](https://img.shields.io/github/v/release/jkstack/exec-agent)](https://github.com/jkstack/exec-agent/releases/latest)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jkstack/exec-agent)](https://goreportcard.com/report/github.com/jkstack/exec-agent)\n[![go-mod](https://img.shields.io/github/go-mod/go-version/jkstack/exec-agent)](https://github.com/jkstack/exec-agent)\n[![license](https://img.shields.io/github/license/jkstack/exec-agent)](https://www.gnu.org/licenses/agpl-3.0.txt)\n![downloads](https://img.shields.io/github/downloads/jkstack/exec-agent/total)\n\n远程脚本执行agent\n\n## 如何编译\n\n1. 下载源代码\n\n       https://github.com/jkstack/exec-agent.git\n\n2. 使用以下命令编译，编译成功后会在当前目录下生成`exec`或`exec.exe`文件\n\n       go build\n\n## linux系统部署\n\n1. 根据当前操作系统下载`deb`或`rpm`安装包，[下载地址](https://github.com/jkstack/exec-agent/releases/latest)\n2. 使用`rpm`或`dpkg`命令安装该软件包，程序将被安装到`/opt/exec-agent`目录下\n3. 按需修改配置文件，配置文件将被安装在`/opt/exec-agent/conf/agent.conf`目录下，建议修改以下配置内容\n   - basic.id: 客户端ID，在该集群下不可重复\n   - basic.server: 服务器端地址\n4. 使用以下命令启动客户端程序\n\n       /opt/exec-agent/bin/exec-agent start\n5. 检查当前客户端是否连接成功\n\n       curl http://\u003c服务端IP\u003e:\u003c端口号(默认13081)\u003e/api/agents/\u003c客户端ID\u003e\n\n## windows系统部署\n\n1. 根据当前操作系统下载`exe`或`msi`安装包，[下载地址](https://github.com/jkstack/exec-agent/releases/latest)\n2. 安装该安装包，程序默认会被安装到`C:\\Program Files (x86)\\exec-agent`目录下\n3. 按需修改配置文件，配置文件将默认被安装在`C:\\Program Files (x86)\\exec-agent\\conf\\agent.conf`目录下，建议修改以下配置内容\n   - basic.id: 客户端ID，在该集群下不可重复\n   - basic.server: 服务器端地址\n4. 使用以下命令打开系统服务管理面板，找到`exec-agent`服务并启动\n\n       services.msc\n5. 检查当前客户端是否连接成功\n\n       curl http://\u003c服务端IP\u003e:\u003c端口号(默认13081)\u003e/api/agents/\u003c客户端ID\u003e\n\n## 开源社区\n\n文档知识库：https://jkstack.github.io/\n\n\u003cimg src=\"docs/wechat_QR.jpg\" height=200px width=200px /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkstack%2Fexec-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkstack%2Fexec-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkstack%2Fexec-agent/lists"}