{"repo":"DyAxy/yet-another-sub-web","free":true,"listed":false,"github":"https://github.com/DyAxy/yet-another-sub-web","clone":"git clone https://github.com/DyAxy/yet-another-sub-web.git","description":"订阅转换前端，又一个 sub-web，基于 React、Next.JS 实现前端","language":"TypeScript","stars":92,"topics":["nextjs","react","sub-web","subconverter","typescript"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"yet-another-sub-web 又一个订阅转换前端 又一个 sub-web，基于 React、Next.JS 实现前端，需要搭配 tindy2013/subconverter 后端来实现订阅配置。 快速部署 使用 Vercel 服务 本地使用 Docker - Docker run方式部署 - Docker compose方式部署 环境变量 NEXT PUBLIC SHORTURL NEXT PUBLIC BACKENDS -------------------- --------------------------- 短链接服务，记得带 / 后端完整地址 https://suo.yt/ http://127.0.0.1:25500/sub? 常规部署 首先你需要 Node.js 环境 浏览器打开 http://localhost:3000 来查看是否正常运行. 当一切就绪后，你可以打包构建运行它 此时打开 http://localhost:3000 即可正常使用。 需要 常驻进程 ，可使用： screen ， pm2 ， nohup ， systemctl 可能你还需要反代，推荐使用 Caddy 轻量化反代，仅需加入到 CaddyFile 这些即可使用： 静态导出 在常规部署 npm run dev 之后，测试没问题的情况下，修改文件： next.config.mjs ，添加一行： nextConfig.output = 'export' 则会将html及其js文件静态导出至out文件夹，使用 Caddy 、 nginx 之类即可使用。 感谢 CareyWang/sub-web CareyWang/MyUrls tindy2013/subconverter","default_branch":null,"files":null,"tree":[],"storefront":"/r/DyAxy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DyAxy/yet-another-sub-web/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}