{"id":13617773,"url":"https://github.com/Roiocam/V2ray2Clash","last_synced_at":"2025-04-14T06:35:28.416Z","repository":{"id":45250962,"uuid":"244143064","full_name":"Roiocam/V2ray2Clash","owner":"Roiocam","description":"V2ray 订阅转 Clash 配置文件 python 脚本，供 Clash-Linux 自动订阅 V2ray","archived":false,"fork":false,"pushed_at":"2021-12-29T12:49:57.000Z","size":81,"stargazers_count":89,"open_issues_count":0,"forks_count":38,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T09:12:03.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Roiocam.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}},"created_at":"2020-03-01T12:14:21.000Z","updated_at":"2025-03-22T15:45:45.000Z","dependencies_parsed_at":"2022-09-11T02:50:26.522Z","dependency_job_id":null,"html_url":"https://github.com/Roiocam/V2ray2Clash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roiocam%2FV2ray2Clash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roiocam%2FV2ray2Clash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roiocam%2FV2ray2Clash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roiocam%2FV2ray2Clash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Roiocam","download_url":"https://codeload.github.com/Roiocam/V2ray2Clash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248836195,"owners_count":21169367,"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":[],"created_at":"2024-08-01T20:01:47.798Z","updated_at":"2025-04-14T06:35:28.181Z","avatar_url":"https://github.com/Roiocam.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# V2ray2Clash\n\n#### 说明 : 本脚本提供解析v2ray订阅链接为Clash配置文件的自动化,供学习交流使用.\n#### 参数 :\n     1. url=订阅地址\n     2. user_path=用户~的路径[cd ~  -\u003e pwd 查看]\n     3. net_config=规则策略.\n#### 使用说明:\n     1. 安装python : \n          - [Arch]: sudo pacman -S python \n          - [Ubuntu]: sudo apt install python3 \n          - [Centos]: sudo yum install python3\n     2. 填写订阅地址和用户路径\n     3. 执行命令 (python3 ./v2ray.py)\n#### Linux自动化更新订阅:\n     - 输入crontab -e编辑定时任务\n     - 模板: [cron表达式] [python路径] [脚本路径] \u003e [输出日志路径]    \n     - 例子: 0 0 18 * * ? /usr/bin/python3.8 ~/v2ray.py \u003e ~/auto.log\n     - Arch系也可通过:[cron表达式] systemctl restart clash.service[需自行设置]设置定时任务.在更新订阅后重启Clash-linux \n     \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRoiocam%2FV2ray2Clash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRoiocam%2FV2ray2Clash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRoiocam%2FV2ray2Clash/lists"}