{"id":21359051,"url":"https://github.com/kukuqi666/subscription-conversion","last_synced_at":"2025-03-16T06:24:49.530Z","repository":{"id":273748501,"uuid":"884847945","full_name":"kukuqi666/Subscription-conversion","owner":"kukuqi666","description":"Subconverter订阅转换前端增强版，增加近百条远程配置及更多自定义功能！ ","archived":false,"fork":false,"pushed_at":"2024-11-09T08:29:40.000Z","size":1945,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T18:51:35.388Z","etag":null,"topics":["clash","quantumultx","shadowrocket","sin-box","ssr","surge","trojan","v2ray"],"latest_commit_sha":null,"homepage":"https://kukuqi666.github.io/Subscription-conversion/","language":"Vue","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/kukuqi666.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":"2024-11-07T13:53:35.000Z","updated_at":"2025-01-05T09:32:08.000Z","dependencies_parsed_at":"2025-01-22T18:51:44.746Z","dependency_job_id":"2538eb8c-9524-4c5e-98b3-b2eb6fb84f77","html_url":"https://github.com/kukuqi666/Subscription-conversion","commit_stats":null,"previous_names":["kukuqi666/subscription-conversion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukuqi666%2FSubscription-conversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukuqi666%2FSubscription-conversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukuqi666%2FSubscription-conversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukuqi666%2FSubscription-conversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kukuqi666","download_url":"https://codeload.github.com/kukuqi666/Subscription-conversion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243834084,"owners_count":20355382,"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":["clash","quantumultx","shadowrocket","sin-box","ssr","surge","trojan","v2ray"],"created_at":"2024-11-22T05:26:18.859Z","updated_at":"2025-03-16T06:24:49.486Z","avatar_url":"https://github.com/kukuqi666.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sub-web\n\n基于 vue-cli 与 [tindy2013/subconverter](https://github.com/tindy2013/subconverter) 后端实现的配置自动生成。\n\n## Table of Contents\n\n- [ChangeLog](#ChangeLog)\n- [Docker](#Docker)\n- [Requirements](#Requirements)\n- [Install](#install)\n- [Usage](#usage)\n- [Related](#Related)\n- [Contributing](#contributing)\n- [License](#license)\n\n## ChangeLog\n\n- 2024/11/06\n\n  - 独立各类后端配置到 .env 文件中，现在修改后端只需要修改 .env 即可。\n\n\n## Docker\n\n```shell\ndocker pull kukuqi/subscription-conversion:latest\n```\n\n```shell\ndocker run -d -p 8080:80 --restart always --name subweb kukuqi/subscription-conversion:latest\n```\n\n浏览器访问 \u003chttp://你的ip:8080/Subscription-conversion/\u003e\n\n若需要对代码进行修改，你需要在本地构建镜像并运行。\n注：每次修改代码，你都需要重新执行 docker build 来执行打包操作。\n\n```shell\ngit clone https://github.com/kukuqi666/Subscription-conversion.git\n\ncd Subscription-conversion\n\ndocker build -t subscription-conversion:latest .\n\ndocker run -d -p 8080:80 --restart always --name subweb subscription-conversion:latest\n```\n\n## Requirements\n\n你需要安装 [Node](https://nodejs.org/zh-cn/) 与 [Yarn](https://legacy.yarnpkg.com/en/docs/install) 来安装依赖与打包发布。你可以通过以下命令查看是否安装成功。\n注：以下步骤为 Ubuntu 下相应命令，其他系统请自行修改。为了方便后来人解决问题，有问题请发 issue。\n\n```shell\nnode -v\nv16.20.0\n\nyarn -v\n1.22.19\n```\n\n## Install\n\n```shell\nyarn install\n```\n\n## Usage\n\n```shell\nyarn serve\n```\n\n浏览器访问 \u003chttp://localhost:8080/\u003e\n\n## Deploy\n\n发布到线上环境，你需要安装依赖，执行以下打包命令，生成的 dist 目录即为发布目录。如需修改默认后端，请修改 src/views/Subconverter.vue 中 **defaultBackend** 配置项。\n\n```shell\nyarn build\n```\n\n你需要安装 nginx (或其他 web 服务器)并正确配置。以下为示例配置，你需要修改 example.com 为自己域名并配置正确的项目根路径（https 自行配置）。\n\n```shell\nserver {\n    listen 80;\n    server_name example.com;\n\n    root /var/www/http/Subscription-conversion/dist;\n    index index.html index.htm;\n\n    error_page 404 /index.html;\n\n    gzip on; #开启gzip压缩\n    gzip_min_length 1k; #设置对数据启用压缩的最少字节数\n    gzip_buffers 4 16k;\n    gzip_http_version 1.0;\n    gzip_comp_level 6; #设置数据的压缩等级,等级为1-9，压缩比从小到大\n    gzip_types text/plain text/css text/javascript application/json application/javascript application/x-javascript application/xml; #设置需要压缩的数据格式\n    gzip_vary on;\n\n    location ~* \\.(css|js|png|jpg|jpeg|gif|gz|svg|mp4|ogg|ogv|webm|htc|xml|woff)$ {\n        access_log off;\n        add_header Cache-Control \"public,max-age=30*24*3600\";\n    }\n}\n```\n\n## Related\n\n- [tindy2013/subconverter](https://github.com/tindy2013/subconverter)\n- [CareyWang/MyUrls](https://github.com/CareyWang/MyUrls)\n\n## Contributing\n\n\n## License\n\nMIT © 2024 CareyWang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkukuqi666%2Fsubscription-conversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkukuqi666%2Fsubscription-conversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkukuqi666%2Fsubscription-conversion/lists"}