{"id":27872999,"url":"https://github.com/joooook/clash-agent","last_synced_at":"2026-04-11T07:41:38.192Z","repository":{"id":260215363,"uuid":"880614416","full_name":"Joooook/clash-agent","owner":"Joooook","description":"A Bash script provides simple control functions for Clash .","archived":false,"fork":false,"pushed_at":"2024-10-30T04:41:35.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T13:55:57.414Z","etag":null,"topics":["agent","bash","clash","clash-premium","clash-proxy","shell","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Joooook.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":"2024-10-30T02:59:26.000Z","updated_at":"2024-10-31T13:45:29.000Z","dependencies_parsed_at":"2024-10-30T07:17:28.648Z","dependency_job_id":null,"html_url":"https://github.com/Joooook/clash-agent","commit_stats":null,"previous_names":["joooook/clash-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Joooook/clash-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joooook%2Fclash-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joooook%2Fclash-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joooook%2Fclash-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joooook%2Fclash-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joooook","download_url":"https://codeload.github.com/Joooook/clash-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joooook%2Fclash-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31673067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["agent","bash","clash","clash-premium","clash-proxy","shell","zsh"],"created_at":"2025-05-05T01:03:36.371Z","updated_at":"2026-04-11T07:41:38.188Z","avatar_url":"https://github.com/Joooook.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clash-agent\nA Bash script provides simple cli control functions for Clash.\n\n简易clash控制脚本\n\n## Installation\n```\ngit clone https://github.com/Joooook/clash-agent.git\ncd clash-agent\nwget https://github.com/zhongfly/Clash-premium-backup/releases/download/2023-09-05-gdcc8d87/clash-linux-amd64-n2023-09-05-gdcc8d87.gz\ngzip -d clash-linux-amd64-n2023-09-05-gdcc8d87.gz\n```\n\n## Usage\nCopy your subscribe link (.e.g http://example.com/api/subscribe?token=xxxx\u0026flag=clash) into ./subscribe\n\n注意是clash的配置文件,一般带有`\u0026flag=clash`参数\n\n```\n./agent.sh {start|stop|restart|update}\n\n- start: start clash\n- stop: kill clash process\n- restart: restart clash\n- update: download config.yaml from link in ./subscribe  \n```\n\n## Note\n- Only support one subscribe link.\n- Generate logs in ./log\n\n\n- 只支持一条订阅。\n- 日志文件位于./log。\n\n## Others\nhttps://github.com/zhongfly/Clash-premium-backup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoooook%2Fclash-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoooook%2Fclash-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoooook%2Fclash-agent/lists"}