AdguardTeam / HostlistsRegistry

Known hosts blocklists that are made available to the users of AdGuard products
https://adguard-dns.io/
GNU General Public License v3.0
216 stars 73 forks source link

Add semantic groups to services.json? #382

Open ainar-g opened 1 year ago

ainar-g commented 1 year ago

services.json has become quite big, and it's getting a bit hard to find the necessary service, even when they're sorted alphabetically.

One of the possible ways to combat this is to introduce some kind of semantic groupings. For example, “Games”, “Streaming”, “Search engines”, etc.

As a rough draft, something along the lines of:

{
  "blocked_services": [
    {
      "group": "game",
      "id": "minecraft",
      "name": "Minecraft",
      "rules": []
    }
  ],
  "groups": [
    {
      "id": "game"
    },
    {
      "id": "streaming"
    }
  ]
}

Group names will probably require i18n based on their IDs, so the IDs must remain unchanged.

/cc @ameshkov, @Alex-302

lutfor-diu commented 1 year ago

group/type wise

joel72265 commented 1 year ago

Thank you for a wonderful application. I agree, Allow Grouping of services, custom domains and assign these groups to Clients.

eg. Group/Tag A: Entertainment (Direct TV, ESPN, FIFA....) Group/Tag B: Social Media (Facebook, Instagram, ...)

Assign these blocked groups to Clients Client 1: assign Group A, Group B Client 2: assign Group A ![Uploading AdGuard03.jpg…]()