OpenWrt-HelloWorld科学上网

Beginner-Go bbdf63e017 v2raya: sync upstream пре 1 година
.github 70e87cd2f9 CI: dont generate index since no signing key пре 2 година
chinadns-ng e92e22a357 chinadns-ng: update to 2023.10.28 (#1305) пре 2 година
dns2socks fb5bc1f1fd move dist feed pacakges пре 3 година
dns2tcp 2ba43890b0 dns2tcp: initial package пре 3 година
gn 3e39cb36b4 gn: bump to latest git HEAD пре 2 година
hysteria b56fff0d42 hysteria: update to 2.2.3 пре 2 година
ipt2socks a2018397be treewide: refactor to use PKG_BUILD_FLAGS пре 2 година
lua-neturl 355f79d1cb lua-neturl: fix regex пре 3 година
luci-app-ssr-plus 311f6ef039 luci-app-ssr-plus: add Xray `DNS` `Log` Setting options Simplifying `Mux` Options (#1374) пре 2 година
microsocks 77d17d36d9 treewide: drop `$(AUTORELEASE)` пре 2 година
mosdns acd6e56e61 mosdns: add new package (#1330) пре 2 година
naiveproxy a2018397be treewide: refactor to use PKG_BUILD_FLAGS пре 2 година
redsocks2 fb5bc1f1fd move dist feed pacakges пре 3 година
shadow-tls 8b3e6a5d5b shadow-tls: update to 0.2.25 (#1371) пре 2 година
shadowsocks-rust 28504024db shadowsocks-rust: update to 1.17.1 (#1343) пре 2 година
shadowsocksr-libev ea2a48dd6a Merge pull request #1387 from fw876/main пре 1 година
simple-obfs 77d17d36d9 treewide: drop `$(AUTORELEASE)` пре 2 година
tcping 77d17d36d9 treewide: drop `$(AUTORELEASE)` пре 2 година
trojan 118f75e9f0 trojan: add new package пре 4 година
tuic-client 97c5d350f9 tuic-client: add armv7 support пре 2 година
v2ray-core 3c707988a2 v2ray-core: update to 5.13.0 (#1353) пре 2 година
v2ray-plugin 42d85cce5f v2ray-plugin: update to 5.13.0 (#1354) пре 2 година
v2raya bbdf63e017 v2raya: sync upstream пре 1 година
xray-core bdf6b123ca xray-core: update to 1.8.7 пре 2 година
xray-plugin 453ecb7787 xray-plugin: update to 1.8.7 пре 2 година
LICENSE 9b0b7dfd99 Add License GPL-3.0-only пре 3 година
README.md 6d33e7eb8b README: re-add Go version note пре 2 година

README.md

Setup instruction

Method 1 - Clone this repo directly

  1. Clone this repo:

    rm -rf package/helloworld
    git clone --depth=1 https://github.com/fw876/helloworld.git package/helloworld
    
  2. Pull upstream commits:

    git -C package/helloworld pull
    
  • Remove

    rm -rf package/helloworld
    

Method 2 - Add this repo as a git submodule

  1. Add new submodule:

    rm -rf package/helloworld
    git submodule add -f --name helloworld https://github.com/fw876/helloworld.git package/helloworld
    
  2. Pull upstream commits:

    git submodule update --remote package/helloworld
    
  • Remove

    git submodule deinit -f package/helloworld
    git rm -f package/helloworld
    git reset HEAD .gitmodules
    rm -rf .git/modules{/,/package/}helloworld
    

Method 3 - Add this repo as an OpenWrt feed

  1. Add new feed:

    sed -i "/helloworld/d" "feeds.conf.default"
    echo "src-git helloworld https://github.com/fw876/helloworld.git" >> "feeds.conf.default"
    
  2. Pull upstream commits:

    ./scripts/feeds update helloworld
    ./scripts/feeds install -a -f -p helloworld
    
  • Remove

    sed -i "/helloworld/d" "feeds.conf.default"
    ./scripts/feeds clean
    ./scripts/feeds update -a
    ./scripts/feeds install -a
    

Note

⚠ For OpenWrt 21.02 or lower version

You have to manually upgrade Golang toolchain to 1.19 or higher to compile Xray-core.

e.g.:

./scripts/feeds update packages
rm -rf feeds/packages/lang/golang
svn co https://github.com/openwrt/packages/branches/openwrt-22.03/lang/golang feeds/packages/lang/golang