Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
T145 opened this issue Apr 29, 2024 · 0 comments
Open
1 task done

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

T145 opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
enhancement Script or workflow edits to improve or add features

Comments

@T145
Copy link
Owner

T145 commented Apr 29, 2024

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
@T145 T145 added the enhancement Script or workflow edits to improve or add features label Apr 29, 2024
@T145 T145 self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Script or workflow edits to improve or add features
Projects
None yet
Development

No branches or pull requests

1 participant