## 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](http://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](https://openwrt.org). - Install the openwrt system on your router The openwrt install tutorial can be found through the [forum](https://forum.openwrt.org). ### 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 ``` 2. Download OAF source code git clone https://github.com/destan19/OpenAppFilter.git package/OpenAppFilter 3. Open the compile configuration ``` echo luci-app-oaf >>.config make defconfig ``` 4. 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.