Anyone have add-on ideas?

The developer(s) of Anki, actually I’m referring to this post, so it probably isn’t true

Yeah I would have thought AnkiConnect would be the most simple place to implement this, since a different add-on would have to monitor the collection for changes and wouldn’t always know when a refresh is actually needed.

1 Like

Also, nevermind, we found a solution with sharex, this action solve the issue from a site I probably can’t share author is R.

-NoProfile -Command "$medianame = \"%input\" | Split-Path -leaf; $data = Invoke-RestMethod -Uri http://127.0.0.1:8765 -Method Post -ContentType 'application/json; charset=UTF-8' -Body '{\"action\": \"findNotes\", \"version\": 6, \"params\": {\"query\":\"added:1\"}}'; $sortedlist = $data.result | Sort-Object -Descending {[Long]$_}; $noteid = $sortedlist[0]; Invoke-RestMethod -Uri http://127.0.0.1:8765 -Method Post -ContentType 'application/json; charset=UTF-8' -Body \"{`\"action`\": `\"updateNoteFields`\", `\"version`\": 6, `\"params`\": {`\"note`\":{`\"id`\":$noteid, `\"fields`\":{`\"Picture`\":`\"<img src=$medianame>`\"}}}}\"; "

and for linux we have ames

An addon that un-tags leeches when you’ve answered them correctly for X amount of times in a row. Like a reverse-leech function :slight_smile:

5 Likes

I have a bunch of huge premade decks with high quality audios with field like:
1sentence(我希望避免所有的挫折) 2audio 3translating etc
I also have a my own deck with my own words that im currently studying, but with out sentence example and audio. for example
1word(挫折) 2 translation etc
It would be really SUPER helpful if such addon can go through all my other decks, or deck that i chose and grab few fields from that decks and copy to my own deck.
For example I have word 挫折 and I need content for it, addon go through another deck (premade deck1) and find cards containes that word, for instant if it see sentence 我希望避免所有的挫折 contain word 挫折 it gonna copy [audio] and sentence example to my own deck.
So if premade1 deck have card with 挫折 > then copy field 1,2,3 and past to owndeck card 挫折 field 3,4,5
I hope I explain well my idea, there is tons premade decks with good audio example sentences, including s2srs. I really want to use them as source of audio/exaple sentence rather that AI TTS.

It would really useful if there was a port of Advanced Previewer - AnkiWeb
or another addon which allows you to study cards directly from the browser
(at the moment you can Set the Due Date, but that skips all the learning steps so it is very suboptimal)

Zotero Integration with Anki would be very useful in the field of Medicine !

  • Download an article with Zotero (+Sci-Hub extension :smiley: )
  • Read it on Zotero 6.0 new PDF reader
  • Highlight words and phrases and automatically create Anki cards directly from PDF in Zotero
  • Automatically add the DOI of Scientific article on Anki card (allows easy retrieval of the original article in the future)
1 Like

Could you (or somebody else) please update the Automatic Basic to Cloze addon so that it correctly changes the textbox to red if it’s about to add a duplicate? Right now it only does so for basic cards, not for clozes. Thank you!

An addon that checks a field where you are pasting to remove any &nbsp;

Everytime you type a space and then paste, a &nbsp; is added to the card. This is a known bug that has been going on forever in anki. Just try googling &nbsp anki to read about dozen of threads of people suffering this in several forums. This is a related thread explaining the issue

The issue wasn’t that it’s hard, rather too easy to justify publishing an add-on for it. But here you go: nbspRemover - AnkiWeb

2 Likes

@dae can we just build this into Anki? Seems silly to require an addon for this but it is definitely annoying, especially on the mobile platform

2 Likes

The problem is that some people do actually use &nbsp;, so an automatic find and replace action might be destructive. Someone explained their use case in the forum once, but I couldn’t find the thread.

What wouldn’t be destructive is dealing with the &nbsp; that are automatically appended by CodeMirror. If there’s a reliable method to differentiate that from actual user input, I’d be all for it.

First, thank you very much @kleinerpirat This addon is awesome and i predict many people installing it :slight_smile:

This probably ends my battle with anki adding this and me removing them

Second, Im not sure all the cases where this nbsp is added, but i found out that is always added when you type a space at the end and then paste

Not sure if you can detect when somebody paste text, but thats the moment where you could check if the previous character is nbsp and remove it if thats the case

Addon idea: an editor button that inserts ruby annotations!

Integration with Zotero, especially a way to quickly or even automatically insert citations.

Compare its word processor plugins.

3 Likes

I use non-breaking spaces so that clozes don’t get split across lines. I can restore them with a script but I’m sure some users would be furious if Anki replaced them all without asking. Perhaps what should be considered is a variation of the ‘remove formatting’ button that’s a bit more aggressive. The current one leaves other stuff behind sometimes as well.

I’m using Anki to study Spanish verb conjugations. My notes include all possible conjugations for a given tense. But, there are a few regionalisms that I am electing not to study at the present time (e.g. Spanish “vosotros”, Argentinian “vos”). So, I have been using conditional replacement fields to not create cards for these. The problem is that this necessitates adding content to a specific field on every single note.

I could, of course, just remove those card templates. But I would like to make changing these decisions possible without editing every note, and/or enable other users to make a different choice if they wished.

My idea is to allow the user to define – on a deck level – “switches” that can be queried in a card to trigger conditional replacement. This would allow a user to “fine tune” what they study in a way that tags cannot.

Can this be done with an add-on? If so, is there anyone who would be willing to implement this?

I’ll second this suggestion. It would be useful to have other ways of triggering card generation, and to perhaps make them more discoverable, rather than being based on whether the card is empty or not which is the only way to do it now. Rather than in the deck settings, I would have thought the card template dialog would be the place for this - perhaps a box to put a JS snippet for each card which evaluates each note to determine whether to create the card.

My Chinese vocabulary notes have a simplified card, and if the traditional characters are different, they also have a traditional card. That’s handled by a third field which is automatically filled by a spreadsheet before importing, but it would be nice if I could tell Anki to generate traditional cards based on whether the content of the simplified and traditional fields were the same or different.

I dont know if this is still active, but i would love an addon that added a checkbox in the “add new card” window that allowed me to add the card to the head of the pile instead of random or at the end

I think it shouldnt be too hard, since the number to insert the cart at is already there in the reposition window and by the name of queue top

Okay, i created my first addon with my own suggestion

I have no idea what im doing, but it works so… I hope is useful to somebody else

https://ankiweb.net/shared/info/1181864101