Language Learning
Tools and applications to assist in learning foreign languages
Web Applications
Mandarin Sentence Practice

Web application for practicing reading and listening to Mandarin Chinese sentences.
ⓘKana Game

An interactive game for learning Japanese kana characters.
Command Line Tools
Add2Anki
A CLI tool to add language learning cards to Anki, with automatic translation and audio generation.
ⓘadd2anki 'Hello, how are you?'
# Basic usage (uses Google Translate TTS by default)
add2anki 'Hello, how are you?'
# Start interactive mode
add2anki
# Specify a deck
add2anki --deck 'Chinese Vocabulary' 'u4f60u597d'
# Use ElevenLabs for high-quality audio
add2anki --tts-provider elevenlabs 'Bonjour, comment allez-vous?'
Audio2Anki
Convert audio and video files into Anki flashcard decks with translations.
audio2anki input.mp3
# Process an audio file with default settings
audio2anki input.mp3
# Specify source and target languages
audio2anki input.mp3 --source-language japanese --target-language english
# Process with voice isolation (uses ElevenLabs API)
audio2anki --voice-isolation input.m4a
# Configure settings
audio2anki config set use_cache true
Subburn
Create videos with burnt-in subtitles from audio or video files.
subburn audio.mp3 subtitles.srt
# Create a video with subtitles from an audio file and subtitle file
subburn audio.mp3 subtitles.srt
# Automatic transcription using OpenAI Whisper
subburn audio.mp3
# Create a video with a still image background
subburn input.mp3 subtitles.srt background.jpg
# Add subtitles to an existing video
subburn video.mp4 subtitles.srt
# Specify custom output path
subburn input.mp3 subtitles.srt -o output.mov
Libraries
Speech Provider
Python package for accessing text-to-speech APIs in a uniform way.
Other Projects
Labelingo
Annotate UI screenshots with translations for language learning.
labelingo screenshot.png
# Basic usage
labelingo screenshot.png
# Translate to a specific language (e.g., French)
labelingo screenshot.png -l fr
# Process multiple files
labelingo *.png -o translated/
# Install with additional OCR support
pip install 'labelingo[ocr]'
About These Projects
These tools were created to support my own language learning journey with Mandarin Chinese.
All projects are open source and available on GitHub . Feel free to contribute or adapt them for your own use.