Tarkib
EN AR

How it works

Every field of the Tarkib window, every part of a card and every setting, one screen at a time. To install Tarkib and make your first card, start with Get started.

The Tarkib window

Screenshot with numbered marks: Word or phrase, Language, Deck, Meaning hint, Scenario hint, Image keyword, Level, Generate cloze companion, Settings, Add
  1. Word or phrase The word you want to learn, in the language below. A short phrase works too.
  2. Language German, English or Spanish. The deck follows it, and each deck remembers its language.
  3. Deck Where the card goes. Add deck creates a new one.
  4. Meaning hint Optional, in any language. Picks one sense when a word has several.
  5. Scenario hint Optional, in any language. Sets the scene for the sentences, like work or travel.
  6. Image keyword Optional. Describe the picture you want, in any language.
  7. Level A1 to C1, or Native for real spoken German, English or Spanish. Change default opens Settings, where you set the level new cards start at.
  8. Generate cloze companion On by default. Also makes a card where you type the missing word.
  9. Settings Your keys, languages, voices and default level.
  10. Add Makes the card and adds it. The window stays open for the next word.

Other ways to open it: Ctrl+Shift+G (Cmd+Shift+G on a Mac), Tools, then Add a card with Tarkib, and the Tarkib button in the card editor.

Before the card is written

After it is added

The cards are written by AI, so please check each one and edit it like any other note. If you do not want it, one Undo removes the card and its typing card together.

Two note types are added Tarkib adds the note types Tarkib and Tarkib Cloze. If you already have note types with those names, rename yours first.

Your card

Screenshot with numbered marks: Your word, Meaning and level, Article and plural, Photo, Two sentences, Grammar patterns, Explanation, Translation, Answer buttons
  1. Your word The front of the card: your word with an emoji.
  2. Meaning and level The meaning in your language, with the level of the card.
  3. Article and plural Article colored by gender, the plural, and the genitive from B1.
  4. Photo A photo that fits the word, found with your free Pexels key.
  5. Two sentences One casual, one formal, usually du and Sie, both translated.
  6. Grammar patterns Prepositions with their case and more, all from these sentences.
  7. Explanation One short sentence in simple German about the word.
  8. Translation Both sentences and their grammar patterns, translated into your language.
  9. Answer buttons Again, Hard, Good or Easy. Each shows when the card comes back.

The card also has audio: the word and both sentences, in the language you learn. The translations are read aloud only if you pick a voice for them on the Languages tab.

Your new card is in its deck, with its typing card just below.

Screenshot with numbered marks: Tarkib deck, Cloze subdeck, Next card
  1. Tarkib deck 2 new: your card and its typing card. Click it, then Study Now.
  2. Cloze subdeck Typing cards go into a Cloze deck inside the deck you chose.
  3. Next card Opens Tarkib again whenever you want the next card.

The typing card

The typing card shows a sentence in the language you learn with the word left out. Type the word and click Check to see if you got it right, letter by letter. A second translation language, if you set one, goes on the word card only.

Studying on your phone

The cards are normal Anki notes with their pictures and sound, so they sync to AnkiDroid and AnkiMobile like any other deck. Only making them needs Anki on a computer.

Typing on AnkiDroid If the typing box on a typing card gets no keyboard, open Settings, then Advanced, switch on Type answer into the card and restart AnkiDroid.

The settings, tab by tab

The Provider tab picks the AI that writes your cards.

Screenshot with numbered marks: Preset, Model and Refresh, API key, Get a key, Test keys, Save
  1. Preset Groq is the free default. OpenAI, Gemini and others work too.
  2. Model and Refresh Bigger models make better cards. Refresh reloads the list.
  3. API key Stored only on this computer and sent only to your provider.
  4. Get a key Changes with the preset. For Groq it opens console.groq.com.
  5. Test keys Checks the AI key and any photo keys, without making a card.
  6. Save Saves every tab. A new AI or photo key that does not work gets a warning. Cancel closes without saving.

If you already have a key for OpenAI, Google Gemini, OpenRouter, Mistral or Anthropic, or you run Ollama on your own computer, pick it under Preset on the Provider tab and paste the key. Any OpenAI-compatible server works too. A ChatGPT subscription does not include API use. The OpenAI API is billed separately.

The Images tab decides where the photos come from.

Screenshot with numbered marks: Without a key, Pexels key, Pixabay key, Serper key
  1. Without a key Tarkib falls back to Openverse, which often finds no photo.
  2. Pexels key A key you already have. Pexels has paused new keys. Tried first in most decks.
  3. Pixabay key Free, with generous limits, and the key to get now. Tried after Pexels.
  4. Serper key Optional. Searches Google Images, better for IT terms.

The Languages tab sets the language you learn, its translation and the voices.

Screenshot with numbered marks: Language you learn, German voice, Play and refresh, Translation language, Translation voice, Secondary translation, Secondary voice
  1. Language you learn German, English or Spanish. The rows below belong to this language, and each language keeps its own.
  2. German voice Reads the German word and both sentences aloud. No key needed.
  3. Play and refresh Play reads a sample sentence. Refresh loads the latest voices.
  4. Translation language Your language for the meanings and translations, any of 24.
  5. Translation voice Reads the translations aloud. (none), the default, keeps them silent.
  6. Secondary translation Optional. A second language, like Arabic next to English.
  7. Secondary voice Reads the second language aloud. (none), the default, keeps it silent.

German and Spanish cards start with English as their translation language. To set up English or Spanish cards, pick the language under Language you learn: each keeps its own voice, and English cards offer German instead of English. Arabic translations use Modern Standard Arabic.

The Voice tab picks the service that reads your cards aloud.

Screenshot with numbered marks: Voice service, Test, Speech speed, Other services, Backup order
  1. Voice service Microsoft Edge is the free default. The others need your own key.
  2. Test Reads a German sample with the service you picked, or says why it failed.
  3. Speech speed Normal, or about 20 percent slower for the language you learn, at A1 and A2 or at every level.
  4. Other services Open one to set it up. Each says if it has a free tier and where to get the key.
  5. Backup order If your service fails, the ones set up are tried top to bottom, then Microsoft Edge.

The default Microsoft Edge service is unofficial and can stop working without notice, so it is safer to set up a backup. The Tarkib window tells you which backup read a card and why, or why a card is missing sound.

The Cards tab sets your default level and your style.

Screenshot with numbered marks: Default level, Your style, Starter decks, Ready-made decks
  1. Default level New cards start at this level. You can still change it per card.
  2. Your style Optional wishes in any language, like topics, names or tone. They go with every card while Use my style is ticked.
  3. Starter decks Empty topic decks, like Verben. Cards made there fit the topic.
  4. Ready-made decks Finished decks from A1 to C1. A1 is free, the other levels are paid.

Where your keys go

Your keys are stored only on your computer, in the Anki add-on settings. They are never synced, and each one only goes to its own service. Nothing is sent to me, and there is no server of mine in between. What is sent where.