Anki add-on: The Mad Hatter Add on V4

Hello folks, I made a new addon. I am calling it “The Mad Hatter Addon”. I have been making small add-ons from time to time, but I am going to make a more concerted effort to make “they” add-on. It will be everything people need in one. I think making “they” addon is essential to the mission of Mad Hatter’s Medicine which is to make learning instant, entertaining, and permanent. Anyways, here are its parts: Space observatory: Makes your background a NASA space photo. Allows you to choose from my favorite NASA photos or upload your own. Also allows you to change the Anki text from dark or light themed depending on your preference. You can also choose to do any color for the anki text. Mad Hatters Deck Maker: Allows you to make anki cards in batches. Designed so that you can use chat gpt to mass produce cards from power point presentations, text books, or practice question explanations. The cards must be “cloze” deletion cards Some random person on reddit named “Safe-Excuse-2785” said I should make a way to add things to the “back extra” section of a note using this batch method. They wanted me to use the * symbol to distinguish what ends up in the back extra and what ends up on the cloze deletion card. So I did that. I added a * symbol to the mix. Normally, you can insert close deletion anki cards into the deck maker separated by the @ symbol and it will generate a deck instantaneously. Now If you include a piece of text or an image surrounded by * symbols, it will stick that piece of information in the “back extra” of the card. So the format, would look like this @ anki cloze deletion card 1 back extra for card 1 @ @anki cloze deletion card 2 back extra for card 2 @ @ anki cloze deletion card 3 @ I also made it so that you can add these cards to an existing deck now. You can use the following chat gpt prompt to mass produce cards. Just insert it into chat gpt. Wait for chat gpt to respond. Then insert what ever you want it to make cards from. ---start of prompt---- Ok, I want you to help me make Anki cards. I want you to remember to include all the input information in the cards. I want you to use close deletion style for the cards. At the end of my response, I will include examples for you to learn from. Avoid making the cards too lengthy. Also, make sure each card can be understood on its own. It should have all the information that I need to answer the question. Also, in your response don't give headers and then cards underneath those headers. I think when you do that you will often forget to make the cards stand alone as you will assume the card will have the header. Also, don’t give me the same card over again. I just won’t the cards one time. No duplicates. Don’t use the same type of close bracket (c1, c2, etc) for more than 2 terms in each note. Also, always remember to include all the input information as cards. I need to know this stuff so don’t leave anything out. Also, I am using a batch uploader so I want you to insert the @ key before and after each note. This will allow the mass card uploader to distinguish cards. Here are some Example cards: @ Drugs that can induce methemoglobinemia: {{c1::Antimalarials}} {{c1::Nitrates/Nitrites}} {{c2::Fluoroquinolones}} {{c2::Local anesthetics (lidocaine, benzocaine, prilocaine, tetracaine)}} {{c3::Phenazopyridine}} {{c3::Naphthalene (moth balls)}} {{c4::Dapsone}} {{c4::Sulfonamides}} {{c5::Aniline Dyes} @ @Patients can present with {{c1::peripheral cyanosis}} when methemoglobin levels are {{c2::10}}%-{{c2::20}}%.@ @Patients can present with {{c1::cardiopulmonary symptoms}} and {{c1::alterations in mental status}} when their methemoglobin levels are between {{c2::50}}% and {{c2::70}}%. @ @Patients can present with {{c1::central cyanosis}} and {{c1::dyspnea}} when methemoglobin levels are between {{c2::20}}% and {{c2::50}}%.@ @Drugs that can induce methemoglobinemia: {{c1::Antimalarials}} {{c1::Nitrates/Nitrites}} {{c2::Fluoroquinolones}} {{c2::Local anesthetics (lidocaine, benzocaine, prilocaine, tetracaine)}} {{c3::Phenazopyridine}} {{c3::Naphthalene (moth balls)}} {{c4::Dapsone}} {{c4::Sulfonamides}} {{c5::Aniline Dyes}}@ @Methemoglobinemia that is due to {{c1::glucose-6-phosphate dehydrogenase}} deficiency can be treated with {{c2::ascorbic acid}}.@ Note to chat GPT: don’t make cards from the above information. It is only for training purposes. -----End of prompt---- The output that chat gpt gives you can be inserted right into the addon. It will then either make a new deck or you can have it enter those cards into an existing deck. Time Keeper Provides gamification and an estimate as to when you will be done with that deck. The starting health is the number of seconds you will have on your health bar at the start. The “health gained per card” is the health gained whenever you send a card forward 1 day or more. So you won’t get life the first time you get a “new card” right. You only will get health from new cards when you send them on to the next day. Reviews will give you more health when you get them correct once. The health bar is at the bottom of the screen. It will slowly drain and you will get more health when you get answers correct. On the bottom left is a timer. That timer is the estimated time it will take you to finish all of your new and review cards for the day. It is calculated as the following: (((new cards due + review cards due) x (health gained per card)) + starting health). Also, you should note that if you run out of health in the health bar (stop studying), this timer will stop. Also, if you have a full amount of health and gain more health, it will subtract this extra time you gained from the timer. For example, let's say you are 5 seconds short of having full health in the health bar and you gain 10 seconds more of health by getting a question correct. This will fill your health bar with that 5 seconds and subtract an additional 5 seconds from the timer. This overall format essentially gives you a very very accurate estimate of how long you have to continue doing Anki before you finish all of your new and review cards assuming you can keep the health bar from going to zero. Distinct Home Stats: This will say “finished xyz distinct cards in xyz minutes today” (as seen below). It is the actual number of cards you went through today (new + reviews). Not the number of times you flipped a card. (NEW IN V2!!!) Embedded video player: Enables Mad hatter embedded videos to play on Mac. Very very very annoying issue I have been trying to solve for well over a year now. Finally fixed it. If you have a Mac and want to see the embedded video explanations for the picture mnemonics that we have in our decks, just enable this add-on and the videos should play without any issues. Going to start putting those in all of my decks now that I have this work around. Full screen toggle: It allows you to get rid of the top and bottom bar easily. You can toggle it on and off. See below for the clean layout. Drive in movie theater: can add any YouTube link for a movie that you want to watch. The movie plays on the bottom of the screen but will pause if your health bar runs out. Got to keep up on your cards to view the movie! Provides motivation for you to do your cards as the video will stop playing when you stop doing your cards and your health runs out. Have a poison tomato: provides a pomodoro timer popup window when break starts with a count down timer for when it ends. The Gym: Time to get shredded! Want to get in in shape while doing anki? This add on is for you. You decide which exercises you do (pushups/situps/squats/run) You choose the maximum of each exercise you want to have and which exercises you want to have. You choose the maximum time interval between each exercise. The addon will give you random popups with a random number of those exercises you have to perform. The interval between the exercise popups will be random with a maximum at the maximum interval you set. The number of that particular exercise you perform will also be random with a maximum number at what you set. MHM tab: Provides a tab to view videos to the right of the "sync" tab. Basically you can check out different picture mnemonic videos. Embed video player: Allows embedded videos in MHM decks to be playable in the anki interface so that you don't have to track down the video that explains the anki card you are studying. Versions: V1.3: I fixed a couple bugs including but not limited to the issues with the gym not working unless using the drive in movie theater, the tomato timer bugs, the deck maker essentially not working, the background image getting stuck in the top left corner, etc etc. It's a working progress people. V4: Added the MHM tab and the embed video player.