Git Product home page Git Product logo

clashonopenwrt's Introduction

ClashOnOpenWrt

在ROM不足的 OpenWrt 路由器上运行 Clash,支持使用Github Actions自动更新订阅。

说明

会把订阅信息暴露在public的repository中,请酌情判断。

安装

首先你需要fork本项目,然后在你的 repository 中设置你的 secrets,添加SUB_URL, 请确保你的clash订阅可用。

secrets

然后手动修改install.sh中的download_url为你的用户名。 就像下面这样:

download_url="https://raw.githubusercontent.com/<your_user_name>/ClashOnOpenWrt/master/clash.tar.gz"

记得Push改动到你的仓库。

运行

在你的 OpenWrt 路由器上运行以下命令

curl -kfsSL https://raw.githubusercontent.com/<your_user_name>/ClashOnOpenWrt/master/install_clash.sh | sh

当你看到[clash] clash start success时,说明安装成功。

更新

打开仓库的 Actions 页面,点击Update Subscription,然后点击Run workflow, 输入新的订阅链接即可。你也可以直接修改仓库secret的SUB_URL

action

Clash 版本

  • clash-linux-mips-softfloat v1.5.0

clashonopenwrt's People

Contributors

peanut996 avatar gopher2021 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.