<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vinhdubaii</title>
    <description>The latest articles on DEV Community by Vinhdubaii (@vinhdubaii_dev).</description>
    <link>https://dev.to/vinhdubaii_dev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4202752%2Fb4ee5113-85a0-4e75-bdc0-9145705ea943.png</url>
      <title>DEV Community: Vinhdubaii</title>
      <link>https://dev.to/vinhdubaii_dev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vinhdubaii_dev"/>
    <language>en</language>
    <item>
      <title>neat-filters: uBlock Origin filter lists rebuilt every 6 hours for adblock-rust (open source, looking for contributors)</title>
      <dc:creator>Vinhdubaii</dc:creator>
      <pubDate>Fri, 23 Oct 2026 13:52:27 +0000</pubDate>
      <link>https://dev.to/vinhdubaii_dev/neat-filters-ublock-origin-filter-lists-rebuilt-every-6-hours-for-adblock-rust-open-source-4j5c</link>
      <guid>https://dev.to/vinhdubaii_dev/neat-filters-ublock-origin-filter-lists-rebuilt-every-6-hours-for-adblock-rust-open-source-4j5c</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe24h4pdw2bs5fzekfjlq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe24h4pdw2bs5fzekfjlq.png" alt=" " width="800" height="554"&gt;&lt;/a&gt;I’m building NEAT, a browser on WinUI 3 + WebView2, and I just open-sourced the two pieces behind its built-in content blocker.&lt;/p&gt;

&lt;p&gt;neat-filters takes uBlock Origin’s upstream sources and republishes them in a form adblock-rust can use.&lt;/p&gt;

&lt;p&gt;GitHub Actions rebuilds it every 6 hours. A release is only created if something actually changed.&lt;br&gt;
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.&lt;br&gt;
Preprocessing resolves !#include / !#if, so the lists are flat and contain only rules.&lt;br&gt;
It rewrites denyallow= (about 250 rules) into block rules plus exceptions, and moves about 3,100 $popup / $popunder rules into their own list.&lt;br&gt;
Every build is loaded into a real adblock-rust engine with smoke tests. If a list shrinks by more than 30%, the run fails and the last good release stays up.&lt;br&gt;
A small manifest.json carries sha256 hashes, so clients only download files that changed.&lt;/p&gt;

&lt;p&gt;Still not supported, because adblock-rust can’t parse them: urlskip=, HTML filters (##^), $replace, ipaddress= and cname. That’s about 800 lines out of roughly 175,000 rules.&lt;/p&gt;

&lt;p&gt;neat-adblock is a small C ABI DLL around adblock-rust, with a P/Invoke wrapper, that loads a neat-filters release. The Rust part is tested on Linux. The Windows builds and the C# files haven’t been run yet, so it’s early.&lt;/p&gt;

&lt;p&gt;Where help would be useful:&lt;/p&gt;

&lt;p&gt;Reviewing the filter transforms for edge cases&lt;br&gt;
Handling more of the unsupported uBO syntax&lt;br&gt;
Compiling and testing the C# wrapper and the Windows builds&lt;br&gt;
Wiring it into WebView2 (main-frame vs iframe detection is the awkward part)&lt;/p&gt;

&lt;p&gt;Repos:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/neatbrowser/neat-filters" rel="noopener noreferrer"&gt;https://github.com/neatbrowser/neat-filters&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/neatbrowser/neat-adblock" rel="noopener noreferrer"&gt;https://github.com/neatbrowser/neat-adblock&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback welcome, especially on the filter pipeline.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>rust</category>
      <category>showdev</category>
      <category>adblock</category>
    </item>
  </channel>
</rss>
