Skip to content

[feature]: Use AGTree and custom code over Hostlist Compiler #198

@T145

Description

@T145

Contact Details

No response

What's your idea?

https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/test/parser/rule.test.ts

This will likely require:

  1. Building the package on a separate Node subimage in the Dockerfile
  2. Copying the output to the main subimage
  3. Installing the runtime requirements on the main subimage

Then all that should be needed is a node -e command to parse Adblock lists. NPM can be uninstalled, reducing the image size by around a couple hundred megabytes.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementScript or workflow edits to improve or add features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions