Read-only API for the SQLite dictionary. Minimal endpoints:
GET /health — returns ok.GET /api/v1/search?lemma=bank&source_lang=en-US&target_lang=zh-Hans — fetch senses and translations (JSON array of results).GET /api/v1/complete?prefix=ba&lang=en-US&limit=10 — prefix completion (requires FTS prefix index built via vocabulary-db-build-prefix).Configuration via environment:
VOCAB_DB_PATH — path to vocabulary.sqlite (default: /Volumes/main/code/langblocker/vocabulary_db/data/vocabulary.sqlite).VOCAB_LISTEN — listen address (default: 0.0.0.0:8080).