heuwels/lector ? reverse-engineered prompt
Reverse engineered prompt
Build me a language learning reader that I can self host with Docker Compose, and also use as a hosted app if I want. I want to import EPUBs, pasted text, web articles, YouTube transcripts, and podcasts, then click any word to get a translation, save words and phrases, and mark them as new, learning, or known. It should include cloze style practice with spaced repetition, a simple vocabulary tracker, and a way to send cards to Anki and sync review progress back.
I also want a tutor and journal area where I can ask grammar questions in plain language and get corrections, plus optional text to speech and listen along support for transcripts. Use a local dictionary for common words, and support optional cloud AI for harder words and tutoring. Keep the self hosted setup simple, store everything in SQLite, and make export and restore easy. If you need to check current docs for anything, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit