HostlistsRegistry icon indicating copy to clipboard operation
HostlistsRegistry copied to clipboard

Add semantic groups to services.json?

Open ainar-g opened this issue 8 months ago • 2 comments

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

ainar-g avatar Oct 23 '23 11:10 ainar-g

group/type wise

lutfor-diu avatar Oct 23 '23 13:10 lutfor-diu

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…

joel72265 avatar Nov 02 '23 12:11 joel72265