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 β€” for any language.

  • πŸŽ™οΈ ElevenLabs + Google Neural2 TTS
  • 🌍 Any language via AI prompt
  • πŸ“š Anki CSV + audio
  • ⚑ Smart, idempotent generation
Tap to reveal β†’
Hello / Good afternoon
General greeting between 10:00 and 17:00.
πŸ‡―πŸ‡΅ Japanese
こんにけは
IPA konΙ²itΙ•iΙ°a | Simple Kon-ni-tschi-wa
Good afternoon
The standard greeting. Not used with close friends or family (they'd just say "Nee" or make eye contact).
greeting

Interactive demo β€” this is what your Anki cards will look like

git clone git@github.com:lorenzpfei/anki-vacation-tts.git
🧠 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.

What makes this different

Real phrases with IPA + simple pronunciation, culture-specific rituals, and high-quality audio β€” generated for any language you need.

πŸ—£οΈ

Authentic phrases

No textbook filler. Phrases people actually say in cafes, shops, streets, and emergencies.

🀝

Ritual pairs

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

🎧

Dual pronunciation

Every card includes full IPA and a simplified version for quick reading.

🌍

Any language

Use the included AI prompt with any LLM to generate decks for your target language.

πŸ”Š

Premium voices

ElevenLabs, Google Neural2, or Azure Neural β€” configurable per deck.

πŸ“š

Anki-ready

Unified 20-column CSV with one note type for both production and recognition cards.

How it works

  1. 1

    Clone & setup

    Clone the repo, run pnpm install, add your TTS API keys to .env.

  2. 2

    Generate a deck

    Copy Prompt.md into any LLM. Pick your language and level (essential, standard, or advanced). Save the output as a deck file.

  3. 3

    Build & import

    Run node generate.js <deck>. Copy audio into Anki, import the CSV, and start learning.

Get started β†’

FAQ

Where do the voices come from?

ElevenLabs (premium library voices), Google Cloud TTS Neural2, or Azure Speech β€” configurable per deck via .env.

Can I add a new language?

Yes β€” that's the whole point. Copy Prompt.md into ChatGPT, Claude, or any LLM, specify your target language, and it generates a complete deck file. Register it in data.js and run the generator.

What are ritual pairs?

Some phrases come in fixed callβ†’response pairs (e.g., Turkish "Hoş geldiniz" β†’ "Hoş bulduk"). These create two Anki cards: one for producing the response, one for understanding what you hear.