Closed urbit-pilled closed 1 year ago
solves #35
@urbit-pilled can you rebase and squash the fixes into the previous commits?
rebased back to second commit on this PR, is this fine, or do you want me to squash back to the first?
rebase/squash is already better unless breaking it into different commits makes it more clear
@urbit-pilled it would be great if you could add a test
This PR implements LLM based by using VPNservice to allow or block on the domain level. It works by intercepting packets on the android phone using a local VPN and sending a POST request to the puppet backend (/adblock_filter endpoint) with the domain name, the puppet backend then uses the LLM and responds with a JSON object
The json is then parsed by the android app and then the network request is either blocked or allowed.