[ Addon Support ] AnkiTerminator : ChatGPT Sidebar for Anki Review, GoogleBard, BingChat (by Shige)


reddit

[ Github Issues ]

AI sidebar for reviews.
Just login to use ChatGPT, GoogleBard, and Bing Chat for free and easy.
(No OpenAI API required).
There is a feature to auto-send prompts when flipping Anki cards.

[ AnkiWeb ]

[ add-on code : 1428126516 ]

[ ▲ Attention ]

This add-on stores your login information in a Cookie.
If you are concerned about security, please do not use this add-on.
(To delete the cookie, delete the add-on or delete the User_files folder.)

  • Advantages of using cookie
    • No need for tedious 2-step authentication
    • Free AI can be used as much as you want (no need for API)

  • Disadvantages of using cookie
    • Poor security
    • Add-on is easily broken

To resolve this cookie issue, API is needed (in short, it will be paid for).
I have not yet developed the function to use the API.

[ Limits of each AI ]

  • Chat GPT
    • The fastest, but has an hourly limit
      (30 times per hour, so about 1 time every 2 minutes),
      so if you use it continuously, it will reach the limit soon.
  • Google Bard
    • Unlimited number of replies, but replies are a bit slow.
  • Bing Chat
    • 30 chats per session and 300 chats per day, but GPT-4 is free.

[ How to Use ]

image

When the add-on is installed, the ChatGPT icon will be added to the right side of the top toolbar.
Clicking on it will open the AI sidebar.

Sidebar

  • Change AI : Click to change the AI.
  • AutoSendPronpt : Automatically sends prompts when card answer is shown and when Pronpts button is pressed.
  • Field Name : The text of the field used in prompts is automatically inputted.
  • Right click : You can enter text in this box by right-clicking.
  • Select text in Anki → Right click → Chat GPT
  • Pronpts Buttons : Input prompts into ChatGPT.
  • Option : Open the Options dialog.

image

Options

1.Always tab

  • AI : ChatGPT, GoogleBard, BingChat
  • Translate : The default prompt is English, so non-native English speakers cannot use it,
    but you can request translation to ChatGPT using prompts.
    The “{}” is auto-replaced with the language used by Anki.

image

2.Prompts tab

You can customize the name of each prompt and button.
{} will be replaced by field text.

image

3.Tags tab

If you use a special tag, you can tell ChatGPT that you are studying that tag.
{} will be replaced by tag.

image

4.Priority Fields tab

This add-on grabs the text to be used in the prompt from the first field.
You can specify which fields are to be prioritized.

image

5. Exclude tab

Does not grab the text from the field by the specified note type.
For example, image occlusion cannot be used because there is no text.

image

6. Other tab

  • Sidebar
  • AutoPrompt
  • auto input : Automatically prompts when card answer is shown.
  • auto send : Automatically sends prompts when card answer is shown.
  • Shortcut Keys
    • Send pronpts : The prompts you enter can be send using shortcut keys.
    • Open Sidebar

image

[ ▲ Known Issues ]

  • Auto-Prompt does not work in Bing Chat.
  • Mac Anki23.12.1 cannot open Bird and Bing, but Mac23.12 can.
    This problem is a Qt issue, so perhaps the latest Anki update will fix it when Qt is updated.
  • Menu items not neat and tidy.
  • Translated texts in the options are choppy.
  • Translated texts in the options are incorrect.
  • Not yet tested on older Anki.

[ Others ]

The ultimate goal of this add-on is to create a talking Anki mascot character.
(This feature does not exist yet, because it is still in the idea stage.)
Text and animation have been created.

  • Anki Terminator AI-Core(ChatGPT)
  • Anki Terminator SR-800(AnkiArcade theme)

image

Patreon_banner_3_mini

I develop game add-ons for Anki, simple fixes and customs for broken add-ons for the latest Anki(I am not related to the official Anki). If you want to support my development, you can get prototype game add-ons by becoming a Patreon. And if you become a free patreon, you can get the latest info, so please check it out👍 Patreon : Shigeyuki : Currently there are 8 content, and 10 mini game themes(AnkiArcade).

3 Likes

the best thing is that this let me know i can write ahk and pythons using cookies of log-ed in chatgpt too? then i can fully use my chatgpt team plan which has 100 prompt / 3 hr. thanks

1 Like

There seems to be a bug that causes an error or crash when updating the add-on after opening the sidebar (The crash was caused by code to work around the error). I disabled the code that caused the crash, the error issue is still being repaired.

Please try updating the add-on with the add-on disabled.

  • Tools → Add-ons → Select AnkiTerminator → Toggle Enabled [OFF] → Restart Anki → Update

Edit : This bug is severe so I disabled the download of the add-on. (I think if users do not update add-on the crash will not occur.) I will change the add-on page to a new page after I fix this bug.

hi, could you pls tell how this work?

i subscribed the USD20 monthly plan, i cant afford the API which is paid as you eat.

yes i knew that this addon didn’t use API but use the monthly plan, but how?

what i guess is, this plugin is a mini browser, so we login the monthly plan,
and with the login cookie, things are done thru alike chrome extension?

thank you.

pls private msg if the answer cant be seen.

1 Like

This Add-on simply displays ChatGPT and GoogleGemini in the sidebar.
It sends the text of the card to ChatGPT to generate prompts.
So monthly plan is not necessary, but you need to log in to ChatGPT to use it.
There is no function to batch generate cards.

For more info on how to use it please refer to the video and Wiki. (though it is currently under repair so new downloads are not available)

1 Like

thx but i am more interested in how a login account could work alike an API.

i saw on github that some solutions use cookies… is that same? thanks

1 Like

I think the API has nothing to do with this cookie, the cookie is to make it easier to log in to ChatGPT without the two-step verification, so this add-on works without cookies, but in that case, you need to log in again every time you restart Anki, this add-on is just a javaScript text input and button press.

I think there is some kind of unofficial API, maybe Chrome’s AI extension uses something like that, but those are advanced so I did not look into it (I will look into it in the future), the official APIs are best for stable working.

Do you know when the add-on will start working again? Thank you for making it. It’s so helpful every day.

1 Like

I created a new add-on page. AnkiTerminatorV1 can no longer be updated due to a bug, so future development will be done on this new page

Thank you so much! You earned a new patron!

1 Like

Thank you! I will enhance this add-on later.