Overview of Anki Add-on Architecture
mainAnki add-ons are implemented as Python modules that Anki loads during its startup process.
Add-ons interact with Anki through two primary mechanisms:
- Hooks: Add-ons can register themselves to be notified when specific actions occur (for example, a hook that triggers when the browse screen is loaded).
- UI Modification: Add-ons can modify the user interface, such as adding new menu items, in response to those actions.
While the core UI is written in Python/PyQt, certain screens (like the review screen and editor) utilize TypeScript and Svelte. To develop add-ons, familiarity with Python is required.