{"id":13775966,"url":"https://github.com/honwen/luci-app-shadowsocksr","last_synced_at":"2025-10-10T01:32:57.734Z","repository":{"id":110399074,"uuid":"94504889","full_name":"honwen/luci-app-shadowsocksr","owner":"honwen","description":"OpenWrt/LEDE LuCI for ShadowsocksR-libev","archived":false,"fork":false,"pushed_at":"2021-04-01T18:03:00.000Z","size":390,"stargazers_count":115,"open_issues_count":2,"forks_count":39,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-03T12:51:37.799Z","etag":null,"topics":["luci","shadowsocksr"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/honwen.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}},"created_at":"2017-06-16T04:24:16.000Z","updated_at":"2025-01-18T17:06:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"fee00de4-b92f-4586-8c6b-68b2e9651bb0","html_url":"https://github.com/honwen/luci-app-shadowsocksr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/honwen/luci-app-shadowsocksr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fluci-app-shadowsocksr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fluci-app-shadowsocksr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fluci-app-shadowsocksr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fluci-app-shadowsocksr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honwen","download_url":"https://codeload.github.com/honwen/luci-app-shadowsocksr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honwen%2Fluci-app-shadowsocksr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002406,"owners_count":26083374,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["luci","shadowsocksr"],"created_at":"2024-08-03T17:01:56.040Z","updated_at":"2025-10-10T01:32:57.338Z","avatar_url":"https://github.com/honwen.png","language":"Shell","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具","Shell"],"sub_categories":["\u003ca id=\"cb16466a31a167bb61f39e2a4a85f449\"\u003e\u003c/a\u003eShadowsocks"],"readme":"OpenWrt LuCI for ShadowSocksR-libev\n===\n\n简介 ([预览][preview])\n---\n\n本软件包是 [shadowsocksr-libev][openwrt-shadowsocksr] 的 LuCI 控制界面,\n方便用户控制和使用「透明代理」「SOCKS5 代理」「端口转发」功能.  \n\n软件包文件结构:\n```\n├── etc/\n│   ├── config/\n│   │   └── shadowsocksr                            // UCI 配置文件\n│   │── init.d/\n│   │   └── shadowsocksr                            // init 脚本\n│   └── uci-defaults/\n│       └── luci-shadowsocksr                       // uci-defaults 脚本\n└── usr/\n    ├── bin/\n    │   └── ssr-rules                               // 生成代理转发规则的脚本\n    └── lib/\n        └── lua/\n            └── luci/                               // LuCI 部分\n                ├── controller/\n                │   └── shadowsocksr.lua            // LuCI 菜单配置\n                ├── i18n/                           // LuCI 语言文件目录\n                │   └── shadowsocksr.zh-cn.lmo\n                └── model/\n                    ├── cbi/\n                    |   └── shadowsocksr/\n                    |       ├── general.lua         // LuCI 基本设置\n                    |       ├── servers.lua         // LuCI 服务器列表\n                    |       ├── servers-details.lua // LuCI 服务器管理\n                    |       ├── gfwlist-custom.lua  // LuCI 自定义GFW\n                    |       └── access-control.lua  // LuCI 访问控制\n                    └── view/\n                        └── shadowsocksr/\n                            └── gfwlist.htm         // LuCI GFW列表\n```\n\n依赖\n---\n\n软件包的正常使用需要依赖 `iptables` 和 `ipset`.  \n软件包不显式依赖 `shadowsocksr-libev`, 会根据用户添加的可执行文件启用相应的功能.  \n**GFW-List模式 正常使用需要依赖 [dnsmasq-extra][openwrt-dnsmasq-extra], 其中包括`DNS防污染`和`GFW-List`**  \n可执行文件可通过安装 [openwrt-shadowsocksr][openwrt-shadowsocksr] 中提供的 `shadowsocksr-libev` 获得.  \n只有当文件存在时, 相应的功能才可被使用, 并显示相应的 LuCI 设置界面.  \n\n 可执行文件  | 可选 | 功能        | TCP协议 | UDP协议 \n ------------|------|-------------|---------|-----------------------------------\n `ssr-redir`  | 是   | 透明代理    | 支持    | 需安装 `iptables-mod-tproxy`, `ip`\n `ssr-local`  | 是   | SOCKS5 代理 | 支持    | 支持\n `ssr-tunnel` | 是   | 端口转发    | 支持    | 支持\n\n注: 可执行文件在 `$PATH` 环境变量所表示的搜索路径中, 都可被正确调用.\n\n配置\n---\n\n软件包的配置文件路径: `/etc/config/shadowsocksr`  \n此文件为 UCI 配置文件, 配置方式可参考 [Wiki -\u003e Use-UCI-system][Use-UCI-system] 和 [OpenWrt Wiki][uci]  \n透明代理的访问控制功能设置可参考 [Wiki -\u003e LuCI-Access-Control][LuCI-Access-Control]  \n\n编译\n---\n\n从 OpenWrt 的 [SDK][openwrt-sdk] 编译  \n```bash\n# 解压下载好的 SDK\ntar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2\ncd OpenWrt-SDK-ar71xx-*\n# Clone 项目\ngit clone https://github.com/chenhw2/luci-app-shadowsocksr.git package/feeds/luci-app-shadowsocksr\n# 编译 po2lmo (如果有po2lmo可跳过)\npushd package/feeds/luci-app-shadowsocksr/tools/po2lmo\nmake \u0026\u0026 sudo make install\npopd\n# 选择要编译的包 LuCI -\u003e 3. Applications\nmake menuconfig\n# 开始编译\nmake package/feeds/luci-app-shadowsocksr/compile V=99\n```\n\n [openwrt-shadowsocksr]: https://github.com/chenhw2/openwrt-shadowsocksr\n [openwrt-sdk]: https://wiki.openwrt.org/doc/howto/obtain.firmware.sdk\n [ss-rules]: https://github.com/shadowsocks/luci-app-shadowsocks/wiki/Instruction-of-ss-rules\n [Use-UCI-system]: https://github.com/shadowsocks/luci-app-shadowsocks/wiki/Use-UCI-system\n [uci]: https://wiki.openwrt.org/doc/uci\n [LuCI-Access-Control]: https://github.com/shadowsocks/luci-app-shadowsocks/wiki/LuCI-Access-Control\n [openwrt-dnsmasq-extra]: https://github.com/chenhw2/openwrt-dnsmasq-extra\n [preview]: https://github.com/chenhw2/luci-app-shadowsocksr/tree/master/preview\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwen%2Fluci-app-shadowsocksr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonwen%2Fluci-app-shadowsocksr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonwen%2Fluci-app-shadowsocksr/lists"}