There’s already a query language awailable to anki users in the search box of the browser view. For example I can search
“deck:Kanji all in one::3.Writing Cards” card:production Keyword_RTK:tool tag:bad-keyword
… and the browser will return me a nice list of cards that match this criteria.
It would be cool to do the following:
- Be able to perform such search queries from inside the card template, or maybe have a field that is calculated dynamically and has the results of the search inside.
The approach is similar to the one used in Semantic MediaWiki and opens a wide range of interesting scenarios.
Is there anything similar in the world of anki plugins? If not, do you think it’s feasible to do such thing as a plugin? Which classes should i access to be able to build and execute my query and grab the results?