AI-generated worksheets for print & e-paper

Screens generate.
Paper teaches.

langwich turns any AI into a worksheet author. It writes a short text at your level, mines it for vocabulary and grammar, and builds exercises around it — then renders everything into a clean, print-ready PDF. You print it, sharpen a pencil, and switch the screen off.

Python 3.11+ · one dependency Works with Claude, ChatGPT, Gemini & local models A4 PDF · e-paper friendly MIT
First page of a generated worksheet: a German B1 reading text about coffee, followed by a fill-in-the-blanks exercise with a word bank.
Real output — examples/coffee_en_de.json rendered to a five-page A4 worksheet (EN → DE, level B1).

The analogue case

Why paper, in an age of bottomless feeds?

Every language app shares a glass rectangle with your inbox, your group chats and a dozen infinite feeds — each engineered to interrupt you. langwich makes the opposite trade: the digital world generates, the analogue world teaches.

Paper doesn’t ping

A worksheet has no notification badge, no autoplay, no “just one more” loop. The only thing that happens next is the word you write.

Handwriting sticks

Writing by hand recruits motor and visual systems that tapping glass never touches — and study after study links it to better recall and deeper understanding.

A worksheet ends

Feeds are engineered to be bottomless. A sheet of paper is finished when it’s full — completion, not a streak, is the reward.

Easy on eyes and sleep

Clean A4 layouts made for print and e-paper: readable in full sunlight, and nothing glowing at your face at 11 pm.

Nothing to lose

No account, no subscription, no streak to protect. Your worksheets are PDF files on your own disk — they’ll still open in twenty years.

Screens where they shine

Let the AI do what it’s good at — writing texts, picking vocabulary, building exercises in seconds. Then take the paper somewhere the Wi-Fi can’t follow.

For instance Mueller & Oppenheimer, Psychological Science (2014), on longhand note-taking and conceptual learning; van der Weel & van der Meer, Frontiers in Psychology (2024), on brain connectivity during handwriting.

The workflow

From prompt to printout in three steps

langwich is deliberately split in two: an AI generates the content, a small Python tool renders the paper. No API calls, no keys, no accounts.

Ask your AI

“A B1 German worksheet about coffee, for an English speaker.” Any assistant that can write JSON is qualified — Claude, ChatGPT, Gemini, or the model running on your own laptop.

It writes one JSON file

A short text in the target language — the gold mine — plus its translation, 20–30 vocabulary items, grammar notes and a picture scene. The format is documented in the README.

langwich renders the PDF

langwich --from-json coffee_en_de.json — exercises, vocabulary reference and grammar page included. Print it, or send it to your e-reader.

What lands on the page

One text. Eighteen kinds of exercise.

langwich is built on an exercise knowledge graph: every exercise type declares what it needs, what it produces and which exercises it feeds. From a single source text it derives three exercise families, graded by difficulty from 1 to 5 — plus vocabulary and grammar reference pages.

Fill in the Blanks

7 variants · difficulty 2–4

Words vanish from the text. Hints range from a full word bank down to nothing at all.

Word BankMultiple Choice First LetterTranslation Hint Full TranslationBase Form No Hint

Picture

6 variants · difficulty 1–5

The text describes a scene; your AI can illustrate it. Then: name the colours, mark the objects, describe who is standing where.

Color QueryElement Marking Object NamingPosition Description Picture Fill-in-BlanksScene Description

Word Connections

5 variants · difficulty 1–4

Vocabulary mined from the text, then paired and grouped — the classic connect-the-columns exercises.

TranslationCategory Grouping SynonymsAntonyms Compounds
Vocabulary reference page of a generated worksheet, listing German terms grouped by part of speech with translations, synonyms and antonyms.
Every worksheet ends with a vocabulary reference — grouped by part of speech, with synonyms and antonyms.

Bring your own AI

Works with the AI you already use

langwich calls no API and stores no key — the Python side only renders. The content comes from whichever assistant you already use, pay for, or run locally. Three ways in:

The repository ships a /langwich slash command. Claude walks you through native language, target language, topic and CEFR level, writes the JSON, and renders the PDF — all in one conversation. This is the most comfortable way in.

git clone https://github.com/joernmht/langwich
cd langwich
pip install -e .
claude
> /langwich

Works in the Claude Code CLI, the desktop app, and on claude.ai/code.

Get started

Five commands to your first worksheet

Python 3.11 or newer and a single dependency (reportlab). The repository includes a complete example, so you can render a worksheet before involving any AI at all. Then print data/coffee.pdf — black-and-white duplex is fine — and put your phone in another room.

git clone https://github.com/joernmht/langwich
cd langwich
pip install -e .

# render the bundled example → data/coffee.pdf
langwich --from-json examples/coffee_en_de.json

# list all 18 exercise types
langwich --list-exercises

# or pick your own selection
langwich --from-json examples/coffee_en_de.json \
  --exercises fib_word_bank,pic_color_query,wc_translation