Giter Site home page Giter Site logo

openwrt-actions / openappfilter Goto Github PK

View Code? Open in Web Editor NEW
52.0 4.0 19.0 634 KB

基于OpenWrt的App过滤(上网管控)模块,支持抖音、斗鱼、王者荣耀、腾讯视频等上百款App过滤

License: GNU General Public License v2.0

Makefile 1.38% Lua 9.02% HTML 7.58% Shell 1.14% C 80.89%
openappfilter luc-app-oaf openwrt oaf openwrt-app luci ipk

openappfilter's Introduction

OAF(Open App Filter)

OAF is a parental control plug-in based on OpenWrt, which supports app filtering for games, videos, chats, downloads, such as Tiktok, Youtube, Telegram,etc.,and support self-defined app rules, you can lean more and download firmware by visiting www.openappfilter.com .

Preparation

  • Prepare a router that supports openwrt
    There are already many routers that support the openwrt system, you can choose a simple one for installation,See which devices support.
  • Install the openwrt system on your router
    The openwrt install tutorial can be found through the forum.

How to compile OAF

  1. Prepare OpenWrt source or SDK and compile successfully

general steps

   git clone https://github.com/openwrt/openwrt
   cd openwrt
   ./scripts/feeds update -a
   ./scripts/feeds install -a
   make defconfig
   make V=s
  1. Download OAF source code
    git clone https://github.com/destan19/OpenAppFilter.git package/OpenAppFilter
  2. Open the compile configuration
     echo "CONFIG_PACKAGE_luci-app-oaf=y" >>.config  
     make defconfig  
  1. Begin compile
  • Compile OAF separately
     make package/luci-app-oaf/compile V=s  
  • Compile the entire firmware
     make V=s  

How to install OAF

If you can't compile it yourself, you can install it directly into the released OpenWrt version

  1. Install an officially released version of openwrt
    Note that it must be the official release version,may cause failure if other versions are used, because OAF depend on the kernel version.
    It is best to download through the following official address
    https://downloads.openwrt.org/releases
  2. Download OAF zip file
    Find the corresponding OAF zip file on the release page and download it, note that the plug-in version and the system version must be consistent.
  3. Install OAF ipks
    Unzip thie OAF package and then install ipks in order
  • kmod-oaf
  • appfilter
  • luci-compat(if the luci version is 2.0, openwrt 19.07+)
  • luci-app-oaf
  • luci-i18n-oaf-zh-cn(Chinese Language Pack, optional)

Notice

If there is no version you need, you need to compile and generate it yourself, and I will release more architecture ipks later.

openappfilter's People

Contributors

claymoreboy avatar destan19 avatar github-actions[bot] avatar jjm2473 avatar jszmonkey avatar lwintermelon avatar realhurrison avatar sbwml avatar zaiyuyishiyoudu avatar zzhang1987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

openappfilter's Issues

上传 op 安装报错

采用云编译的方式 编译不报错 img 写盘 启动中卡死
若将文件上传到路由器 安装 后也是报错.

openwrt-18.06 源码 显示出错,也不显示用户选择菜单。

Failed to execute arcombine dispatcher target for entry '/admin/network/appfilter'.
The called action terminated with an exception:
/usr/lib/lua/luci/util.lua:222: attempt to get length of local 'str' (a boolean value)
stack traceback:
/usr/lib/lua/luci/util.lua:222: in function 'split'
/usr/lib/lua/luci/model/cbi/appfilter/appfilter.lua:186: in function 'func'
/usr/lib/lua/luci/cbi.lua:66: in function 'load'
/usr/lib/lua/luci/dispatcher.lua:845: in function 'target'
/usr/lib/lua/luci/dispatcher.lua:963: in function </usr/lib/lua/luci/dispatcher.lua:959>

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.