Step-by-step verification checklist for setting up the Dictionary system. Prerequisites, setup steps, and success metrics.
pip install youtube-transcript-apiyoutube-transcript-api VIDEO_ID --format text > transcript.txt[TOPIC] with your topic[TRANSCRIPT] with your transcriptdata/dictionary/[topic]/vocabulary.yamlpython -c "import yaml; yaml.safe_load(open('data/dictionary/[topic]/vocabulary.yaml'))"hugo new content/docs/dictionary/[topic]/index.md --kind dictionarynpm run dev:memoryhttp://localhost:1313/docs/dictionary/[topic]/git add data/dictionary/ content/docs/dictionary/ && git commit -m "Add vocabulary from [video]"Estimated Time: 15-20 minutes
cd scripts/dictionarypython3 -m venv .venvsource .venv/bin/activate (Linux/Mac) or .venv\Scripts\activate (Windows)pip install -r requirements.txtcp .env.example .env.env and add your API key: OPENAI_API_KEY=sk-...python extract_vocabulary.py --helpEstimated Time: 10 minutes
Copy video URL
Run script:
1python scripts/dictionary/extract_vocabulary.py \
2 --video-url "https://youtube.com/watch?v=VIDEO_ID" \
3 --topic "my-topic" \
4 --create-hugo-page \
5 --source-name "Video Title"
Wait for processing (30-60 seconds)
Review generated files:
data/dictionary/my-topic/vocabulary.yamlcontent/docs/dictionary/my-topic/index.mdEdit Urdu translations as needed
Test: npm run dev:memory
Visit: http://localhost:1313/docs/dictionary/my-topic/
Commit when satisfied
Estimated Time: 5-10 minutes per video
scripts/dictionary/README.md in your projectAfter processing your first video, check:
--difficulty-threshold parameterTrack your vocabulary building:
Set your goals:
After trying the system:
Next Action: Pick one video and follow this checklist!
Time Investment: 15-20 minutes Expected Outcome: 20-25 vocabulary entries with Urdu translations
Start now! 🚀