{"id":14985921,"url":"https://github.com/lancenas/actions-openwrt-helloworld","last_synced_at":"2025-05-14T14:00:27.866Z","repository":{"id":37635948,"uuid":"240739481","full_name":"Lancenas/actions-openwrt-helloworld","owner":"Lancenas","description":"Actions使用Lean's lede源码编译含helloworld服务固件","archived":false,"fork":false,"pushed_at":"2024-10-15T02:26:32.000Z","size":107,"stargazers_count":315,"open_issues_count":19,"forks_count":1782,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-04T08:57:42.274Z","etag":null,"topics":["actions","openwrt-lede","passwall"],"latest_commit_sha":null,"homepage":"https://menet.top/actions-openwrt","language":"Shell","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/Lancenas.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":"2020-02-15T15:39:42.000Z","updated_at":"2025-03-04T07:30:17.000Z","dependencies_parsed_at":"2024-12-05T08:02:29.512Z","dependency_job_id":"9aff519d-ce08-4383-a95f-92d6284f354b","html_url":"https://github.com/Lancenas/actions-openwrt-helloworld","commit_stats":{"total_commits":117,"total_committers":1,"mean_commits":117.0,"dds":0.0,"last_synced_commit":"9be94a04114d7f9d63c122e76a38c0da213118c2"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":"P3TERX/Actions-OpenWrt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lancenas%2Factions-openwrt-helloworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lancenas%2Factions-openwrt-helloworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lancenas%2Factions-openwrt-helloworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lancenas%2Factions-openwrt-helloworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lancenas","download_url":"https://codeload.github.com/Lancenas/actions-openwrt-helloworld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248420134,"owners_count":21100320,"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":["actions","openwrt-lede","passwall"],"created_at":"2024-09-24T14:11:57.313Z","updated_at":"2025-04-11T14:40:07.263Z","avatar_url":"https://github.com/Lancenas.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# actions-openwrt-helloworld\n\n[![LICENSE](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square\u0026label=LICENSE)](https://github.com/Lancenas/actions-openwrt-helloworld/blob/master/LICENSE)\n![GitHub Stars](https://img.shields.io/github/stars/Lancenas/actions-openwrt-helloworld.svg?style=flat-square\u0026label=Stars\u0026logo=github)\n![GitHub Forks](https://img.shields.io/github/forks/Lancenas/actions-openwrt-helloworld.svg?style=flat-square\u0026label=Forks\u0026logo=github)\n\n- **感谢** [P3TERX/Actions-OpenWrt](https://github.com/P3TERX/Actions-OpenWrt)和[coolsnowwolf/lede](https://github.com/coolsnowwolf/lede)\n- 通过创建流程文件，在线编译helloworld服务固件；\n- 第一代passwall源码完全停止开发(开源源码已经移除)，基于vuejs脚本语言、焕新UI设计的第二代passwall由Lienol等大神们在私有库闭源开发中，看情况和心情，只有极小可能性以后某天开源，不要过分期待。  \n- 修改流程文件`REPO_URL:` 不同库地址（默认lean的`https://github.com/coolsnowwolf/lede.git`或Lienol的`https://github.com/Lienol/openwrt`）；`REPO_BRANCH:` 不同分支 （以Lienol OpenWrt源码为例分支`dev-master` 激进；`dev-19.07` OpenWrt官方平稳版；`dev-lean-lede` lean的源码）。\n- 通过修改`diy-part1.sh`文件修改`feeds.conf.default`配置。默认添加`fw876/helloworld`。  \n  有能力可以添加包含`passwall`的`lienol-openwrt-package`试试。\n- 通过修改`diy-part2.sh`文件可以自定义默认IP，登陆密码等。按我的需要现在的默认IP为192.168.1.11\n- 在 Actions 页面选择Build OpenWrt，然后点击Run Workflow按钮，即可开始编译。（如果需要 SSH 连接则把SSH connection to Actions的值改为true)\n- 在触发工作流程后，默认`SSH_ACTIONS: true`在 Actions 页面等待执行到`SSH connection to Actions`步骤，会出现下面信息：  \n  ***\n  `To connect to this session copy-n-paste the following into a terminal or browser:` \n  \n  `ssh Y26QeagDtsPXp2mT6me5cnMRd@nyc1.tmate.io`    \n  \n  `https://tmate.io/t/Y26QeagDtsPXp2mT6me5cnMRd`     \n  ***\n- 复制 SSH 连接命令粘贴到终端内执行，或者复制链接在浏览器中打开使用网页终端，登陆云menuconfig。\n- 命令：`cd openwrt \u0026\u0026 make menuconfig`\n- 新手参考[OpenWrt MenuConfig设置和LuCI插件选项说明](https://mtom.top/archives/827/)   \n- 完成后按快捷键`Ctrl+D`或执行`exit`命令退出，后续编译工作将自动进行。\n- 这样比较灵活，可以根据路由器硬件通过云`menuconfig`自定义配置固件，不需要再导出`.config`和上传\n- 进阶玩法请看P3TERX的博客[中文教程](https://p3terx.com/archives/build-openwrt-with-github-actions.html)\n### 使用同步`.config`多流程编译移步[Actions-Lean-OpenWrt](https://github.com/Lancenas/Actions-Lean-OpenWrt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flancenas%2Factions-openwrt-helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flancenas%2Factions-openwrt-helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flancenas%2Factions-openwrt-helloworld/lists"}