NO-ob / LoliSnatcher_Droid

A booru client with support for batch downloading
GNU Affero General Public License v3.0
392 stars 24 forks source link

[Feature Request] Tag aliasing #137

Open ghost opened 2 years ago

ghost commented 2 years ago

There are a few reoccurring scenarios in which having the ability to alias tags (like you would with aliasing commands for a shell) would be useful:

Aliases could also be made to be global or to only apply to specific boorus, since tagging is often inconsistent between sites.

NANI-SORE commented 2 years ago

Good idea, I have problem with that myself 😅, when I have to change from sound to has_audio on sankaku. Maybe we'll get around to it after we release tag types (soon ™) and rework some related systems (i.e. tag suggestions). But filling those aliases will be completely on the user, we won't distribute any curated lists, like we plan to do with tag types.

ghost commented 2 years ago

That's great to hear. Since you mentioned that tag types are going to be curated, name order aliasing could optionally be automated by aliasing all permutations of the words in a name (while being careful when it comes to boorus with tag limits like danbooru), since it would be a bit bothersome to add a new alias every time, or with characters that have 3+ name variations like Eiki from Touhou.

NANI-SORE commented 2 years ago

There probably won't be any auto aliasing since ~(OR) is not a widespread search operator (plus it will probably trigger on any 2+ word tag and making it controlled will lead to just typing everytthing by hand again), but maybe we'll have a button in an alias editor to auto generate all possible combinations of a given string

s-b-repo commented 1 year ago

To make an alias global, it would need to be recognized by all platforms or applications that use the same tagging system. This can be achieved by creating the alias within a centralized database or repository that is accessible to all platforms that use the tagging system. For example, if multiple boorus are using the same tagging system, a centralized database or repository can be used to store and manage the aliases, which can then be accessed and utilized by all of the boorus. Alternatively, if the tagging system is used across multiple applications, a similar approach can be used to create and manage global aliases that can be used across all of the applications.