A simple, Self Hosted, Open WebUI-Based Sidebar
Why another AI sidebar?
Those of you who are into AI add-ons for Anki probably already know a few add-ons featuring a sidebar. Some of them offer multiple AI providers and use the providers' websites, others feature a custom (closed-source) web application.
None of them use Open WebUI.
What even is Open WebUI?
Open WebUI is a free, open-source, self-hosted web interface. It offers access to any model, local or via API (has also free models) and can be fully customized.
With Open WebUI you can create custom models and give them tool use, access to custom knowledge (skill.md, knowledge bases) and, of course, use a custom system prompt.
Installing/Hosting Open WebUI on your machine is fairly simple as it requires python or docker and a single terminal command. More on their github repo
What else can this add-on do?
The add-on is designed to help during reviews (e.g, with specific medical terms you didn't look into when creating the card), so I've made this task pretty easy.
You can select some text → right click → open the SHOWBAR context menu → send selected text to chat or place it inside custom prompts.
In the add-on settings screen you can
- enable auto send messages (when using custom prompts)
- use a temporary chat (if you don't want to flood your Open WebUI)
- create and edit custom prompts
- assign shortcuts to custom prompt, if you want to avoid the contextual menu or if you're using a controller
I-I think I like your add-on😳👉👈... what do I do?
Give it a thumbs up on AnkiWeb :D