Menu

neat-filters: uBlock Origin filter lists rebuilt every 6 hours for adblock-rust (open source, looking for contributors)
📰

neat-filters: uBlock Origin filter lists rebuilt every 6 hours for adblock-rust (open source, looking for contributors)

DEV Community: rust·Vinhdubaii·3 days ago
#9Q00Ln8S
#devtorust#devto#dev#include#if
Reading 0:00
15s threshold

I’m building NEAT, a browser on WinUI 3 + WebView2, and I just open-sourced the two pieces behind its built-in content blocker.

neat-filters takes uBlock Origin’s upstream sources and republishes them in a form adblock-rust can use.

GitHub Actions rebuilds it every 6 hours. A release is only created if something actually changed.

It publishes uBO’s default lists, EasyList, EasyPrivacy, Peter Lowe’s list and URLhaus, plus a resources.json with uBO scriptlets, redirect resources and Brave’s extras.

Preprocessing resolves !#include / !#if, so the lists are flat and contain only rules.

It rewrites denyallow= (about 250 rules) into block rules plus exceptions, and moves about 3,100 $popup / $popunder rules into their own list.

Every build is loaded into a real adblock-rust engine with smoke tests.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.