Open Source github.com/lorenzpfei/anki-vacation-tts

Skip the Textbook.
Master Travel Talk.

Learn only what you actually need for your vacation abroad. Generate audio flashcards with authentic, colloquial travel phrases, high‑quality TTS, and Anki‑ready CSV—without the fluff.

  • 🎙️ Google Neural2 + Azure TTS
  • 🌍 13 languages
  • 📚 Anki CSV + audio
  • Smart, idempotent generation
git clone git@github.com:lorenzpfei/anki-vacation-tts.git

CLI friendly • Anki ready • Production proven

🧠 Science‑backed

Why Anki works

Anki combines active recall (testing yourself) with spaced repetition (reviewing right before you forget) for better long‑term memory.

Backed by research: Anki & outcomes, spaced repetition.

Speak like locals. Learn the rituals.

Short, high‑frequency phrases with IPA + simple pronunciation, plus culture‑specific call→response rituals (e.g., “Hoş geldiniz” → “Hoş bulduk”).

🗣️

Authentic phrases

No textbook filler. Phrases people actually say in cafés, shops, streets, and emergencies.

🤝

Ritual pairs

Learn social rituals as a pair: the call you’ll hear and the fixed response you give.

🎧

Pronunciation you can trust

Every card includes full IPA and an easy version for quick reading.

🧩

One note type

Unified CSV (20 fields) works for both single phrases and ritual pairs in Anki.

🔊

Great voices

Premium Neural TTS (e.g., Azure Emel for Turkish). Configurable per deck.

🛠️

Local build

Generate audio + CSV locally; you control voices, regions, and card content.

🎙️

High‑Quality TTS

Google Neural2 voices, with Azure fallback where needed for quality coverage.

🌍

13 Languages

Authentic, colloquial phrases across 13 locales. Learn what locals actually say.

📚

Anki‑ready

Seven‑column CSV with full + simplified IPA, and audio in semantic filenames.

Smart Generation

Skips existing files, handles errors gracefully, and supports bulk modes.

How it works

  1. 1

    Clone the repo

    Setup API keys (see README).

  2. 2

    Generate deck (Prompt)

    Use generator/Prompt.md → save your deck file.

  3. 3

    Build & import

    node generator/generate.js deDE-trTR → copy audio, import anki_unified.csv.

Open README

FAQ

Where do the voices come from?

Google Cloud TTS Neural2 is preferred, with Azure Speech as a fallback. Configure credentials via .env.

Can I add a new language?

Yes. Follow the project's Adding New Languages guide, create languages/<deck>.js, then register in data.js.