{"id":15107316,"url":"https://github.com/popstk/subserver","last_synced_at":"2026-02-15T16:06:55.252Z","repository":{"id":119243375,"uuid":"171000604","full_name":"popstk/subserver","owner":"popstk","description":"subserver for v2ray","archived":false,"fork":false,"pushed_at":"2022-05-05T10:39:43.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T01:59:01.229Z","etag":null,"topics":["shadowsocks","v2ray","vmess"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/popstk.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-02-16T12:18:59.000Z","updated_at":"2022-05-05T10:39:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a6f10a6-2e5f-4953-8604-89165447cb26","html_url":"https://github.com/popstk/subserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/popstk/subserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popstk%2Fsubserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popstk%2Fsubserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popstk%2Fsubserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popstk%2Fsubserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/popstk","download_url":"https://codeload.github.com/popstk/subserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/popstk%2Fsubserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29483452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: 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":["shadowsocks","v2ray","vmess"],"created_at":"2024-09-25T21:23:16.791Z","updated_at":"2026-02-15T16:06:55.221Z","avatar_url":"https://github.com/popstk.png","language":"Go","readme":"# subserver [![Go Report Card](https://goreportcard.com/badge/github.com/popstk/subserver)](https://goreportcard.com/report/github.com/popstk/subserver)\n订阅服务器，自动按照配置，生成客户端用的url\n- 支持v2ray配置文件\n\n## 配置说明\n```\n{\n    \"addr\": \":10086\",\n    \"valid\": {\n        \"SFZmIyaJDSAKgRVGf8YuiZst0\": [\n            {\n                \"type\": \"v2ray\",\n                \"file\": \"config.json\",\n                \"host\": \"www.example.com\",\n                \"vmess-fmt\": \"{protocol}-{network}\",\n                \"ss-fmt\": \"{protocol}\"\n            },\n            {\n                \"type\": \"sub\",\n                \"addr\": \"dnH4PH3I6ufsxFr1Bd3Ghryi\"\n            }\n        ],\n        \"dnH4PH3I6ufsxFr1Bd3Ghryi\": [\n            {\n                \"type\": \"raw\",\n                \"file\": \"account.json\"\n            },\n            {\n                \"type\": \"url\",\n                \"addr\": \"http://path/to/other/subserver\"\n            }\n        ]\n    }\n}\n```\n- addr - 订阅服务器监听地址\n- valid - `json object`，key是uuid，value是一组source配置\n\n###  source\ntype 代表数据来源，以下是可选的类型和相应的字段:\n\n- raw\n  - `file`指定以换行符分割的url地址文本文件\n\n- v2ray \n  - ` file` 指定 v2ray服务器端的配置文件\n  - `host`指定生成url指定的`remote`地址\n  - `vmess-fmt`生成vmess配置的备注格式\n  - `ss-fmt`生成ss配置的备注格式\n\n- sub\n    - `addr`合并其他`uuid`的url\n\n- url\n    - `addr`合并其他`subserver`的url\n \n## 特性\n- 支持从v2ray配置文件，根据suberver配置，生成节点\n- 自动过滤localhost节点\n- 自动更新配置文件\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpopstk%2Fsubserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpopstk%2Fsubserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpopstk%2Fsubserver/lists"}