{"id":13775928,"url":"https://github.com/shadowsocks/luci-app-shadowsocks","last_synced_at":"2025-05-16T03:02:30.505Z","repository":{"id":39870797,"uuid":"65695164","full_name":"shadowsocks/luci-app-shadowsocks","owner":"shadowsocks","description":"OpenWrt/LEDE LuCI for Shadowsocks-libev","archived":false,"fork":false,"pushed_at":"2023-05-28T16:53:00.000Z","size":327,"stargazers_count":1155,"open_issues_count":12,"forks_count":418,"subscribers_count":89,"default_branch":"master","last_synced_at":"2025-04-08T13:06:43.081Z","etag":null,"topics":["lede","luci","openwrt","shadowsocks-libev"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/shadowsocks.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":"2016-08-15T01:28:41.000Z","updated_at":"2025-04-04T00:34:06.000Z","dependencies_parsed_at":"2024-01-07T22:47:58.869Z","dependency_job_id":"66016b14-ea20-4e40-a390-746b2bd2e991","html_url":"https://github.com/shadowsocks/luci-app-shadowsocks","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fluci-app-shadowsocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fluci-app-shadowsocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fluci-app-shadowsocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowsocks%2Fluci-app-shadowsocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowsocks","download_url":"https://codeload.github.com/shadowsocks/luci-app-shadowsocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459081,"owners_count":22074604,"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":["lede","luci","openwrt","shadowsocks-libev"],"created_at":"2024-08-03T17:01:54.892Z","updated_at":"2025-05-16T03:02:25.481Z","avatar_url":"https://github.com/shadowsocks.png","language":"Lua","funding_links":[],"categories":["🛡️ Shadowsocks (SS)","\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具","Lua"],"sub_categories":["\u003ca id=\"cb16466a31a167bb61f39e2a4a85f449\"\u003e\u003c/a\u003eShadowsocks"],"readme":"OpenWrt LuCI for Shadowsocks-libev\n===\n\n[![Latest release][release_badge]][release_url]\n\n简介\n---\n\n本软件包是 [shadowsocks-libev][openwrt-shadowsocks] 的 LuCI 控制界面,\n方便用户控制和使用「透明代理」「SOCKS5 代理」「端口转发」功能.  \n\n软件包文件结构:\n```\n/\n├── etc/\n│   ├── config/\n│   │   └── shadowsocks                             // UCI 配置文件\n│   │── init.d/\n│   │   └── shadowsocks                             // init 脚本\n│   └── uci-defaults/\n│       └── luci-shadowsocks                        // uci-defaults 脚本\n└── usr/\n    ├── bin/\n    │   ├── ss-rules                                // 生成代理转发规则的脚本\n    │   └── ss-subscribe                            // 订阅脚本\n    │── lib/\n    │   └── lua/\n    │       └── luci/                               // LuCI 部分\n    │           ├── controller/\n    │           │   └── shadowsocks.lua             // LuCI 菜单配置\n    │           ├── i18n/                           // LuCI 语言文件目录\n    │           │   └── shadowsocks.zh-cn.lmo\n    │           │── model/\n    │           │   └── cbi/\n    │           │       └── shadowsocks/\n    │           │           ├── general.lua         // LuCI 基本设置\n    │           │           ├── subscription.lua    // LuCI 订阅管理\n    │           │           ├── servers.lua         // LuCI 服务器列表\n    │           │           ├── servers-details.lua // LuCI 服务器编辑\n    │           │           └── access-control.lua  // LuCI 访问控制\n    │           └── view\n    │               └── shadowsocks/\n    │                   ├── general.htm             // LuCI View 基本设置\n    │                   ├── servers-details.htm     // LuCI View 服务器编辑\n    │                   └── subscribe.htm           // LuCI View 订阅管理\n    └── share/\n        └── rpcd/\n            └── acl.d/\n                └── luci-app-shadowsocks.json       // UCI 访问控制列表\n```\n\n依赖\n---\n\n软件包的正常使用需要依赖 `wget`、`resolveip`、`iptables` 和 `ipset`.  \n软件包不显式依赖 `shadowsocks-libev`, 会根据用户添加的可执行文件启用相应的功能.  \n可执行文件可通过安装 [openwrt-shadowsocks][openwrt-shadowsocks] 中提供的 `shadowsocks-libev` 获得.  \n只有当文件存在时, 相应的功能才可被使用, 并显示相应的 LuCI 设置界面.  \n\n 可执行文件     | 可选 | 功能        | TCP协议 | UDP协议 \n ---------------|------|-------------|---------|-----------------------------------\n `ss(r)-redir`  | 是   | 透明代理    | 支持    | 需安装 `iptables-mod-tproxy`, `ip`\n `ss(r)-local`  | 是   | SOCKS5 代理 | 支持    | 支持\n `ss(r)-tunnel` | 是   | 端口转发    | 支持    | 支持\n\n注: 可执行文件在 `$PATH` 环境变量所表示的搜索路径中, 都可被正确调用.\n\n配置\n---\n\n软件包的配置文件路径: `/etc/config/shadowsocks`  \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/shadowsocks/luci-app-shadowsocks.git package/luci-app-shadowsocks\n# 编译 po2lmo (如果有po2lmo可跳过)\npushd package/luci-app-shadowsocks/tools/po2lmo\nmake \u0026\u0026 sudo make install\npopd\n# 选择要编译的包 LuCI -\u003e 3. Applications\nmake menuconfig\n# 开始编译\nmake package/luci-app-shadowsocks/compile V=99\n```\n\n [release_badge]: https://img.shields.io/github/release/shadowsocks/luci-app-shadowsocks.svg\n [release_url]: https://github.com/shadowsocks/luci-app-shadowsocks/releases/latest\n [openwrt-shadowsocks]: https://github.com/shadowsocks/openwrt-shadowsocks\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Fluci-app-shadowsocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowsocks%2Fluci-app-shadowsocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowsocks%2Fluci-app-shadowsocks/lists"}