<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Getting Started on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/docs/dictionary/01-getting-started/</link><description>Recent content in Getting Started on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Fri, 15 May 2026 13:20:20 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started Checklist</title><link>http://ghafoorsblog.com/docs/dictionary/01-getting-started/checklist/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/01-getting-started/checklist/</guid><description>&lt;h1 id="dictionary-video-to-vocabulary-getting-started-checklist"&gt;Dictionary Video-to-Vocabulary: Getting Started Checklist&lt;/h1&gt;
&lt;h2 id="-quick-start-copilot-method---15-minutes"&gt;⚡ Quick Start (Copilot Method - 15 minutes)&lt;/h2&gt;
&lt;h3 id="prerequisites"&gt;Prerequisites&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Have a YouTube video URL you want to learn from&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Have GitHub Copilot Chat or ChatGPT access&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="steps"&gt;Steps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Install youtube-transcript-api: &lt;code&gt;pip install youtube-transcript-api&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Get video transcript: &lt;code&gt;youtube-transcript-api VIDEO_ID --format text &amp;gt; transcript.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Read /docs/dictionary/02-workflows/copilot-integration/&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Copy the main prompt template&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Replace &lt;code&gt;[TOPIC]&lt;/code&gt; with your topic&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Replace &lt;code&gt;[TRANSCRIPT]&lt;/code&gt; with your transcript&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Paste into Copilot Chat&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Wait for YAML output&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Copy output to &lt;code&gt;data/dictionary/[topic]/vocabulary.yaml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Validate YAML: &lt;code&gt;python -c &amp;quot;import yaml; yaml.safe_load(open('data/dictionary/[topic]/vocabulary.yaml'))&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Create Hugo page: &lt;code&gt;hugo new content/docs/dictionary/[topic]/index.md --kind dictionary&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Edit Hugo page to reference your topic&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Test: &lt;code&gt;npm run dev:memory&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Visit: &lt;code&gt;http://localhost:1313/docs/dictionary/[topic]/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Review and edit Urdu translations&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Commit: &lt;code&gt;git add data/dictionary/ content/docs/dictionary/ &amp;amp;&amp;amp; git commit -m &amp;quot;Add vocabulary from [video]&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Estimated Time&lt;/strong&gt;: 15-20 minutes&lt;/p&gt;</description></item><item><title>Setup Guide</title><link>http://ghafoorsblog.com/docs/dictionary/01-getting-started/setup/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/01-getting-started/setup/</guid><description>&lt;h1 id="setup-guide"&gt;Setup Guide&lt;/h1&gt;
&lt;h2 id="-solved-easy-script-execution-from-anywhere"&gt;🎉 SOLVED: Easy Script Execution from Anywhere&lt;/h2&gt;
&lt;h3 id="-what-was-fixed"&gt;✅ What Was Fixed&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;: Running scripts from wrong directories with complex relative paths and missing dependencies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;✅ &lt;strong&gt;Installed all required Python packages&lt;/strong&gt; in your &lt;code&gt;ags-dictionary&lt;/code&gt; conda environment&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Created wrapper scripts&lt;/strong&gt; that work from ANY directory&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Clear documentation and aliases&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="-how-to-use-now"&gt;🚀 How to Use Now&lt;/h2&gt;
&lt;h3 id="-recommended-method-easiest"&gt;⭐ Recommended Method (Easiest!)&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;From ANY directory&lt;/strong&gt; in your project:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 1. Activate your conda environment&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 2. Run the wrapper script (absolute path)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;/home/ag-sayyed/Documents/projects/hbstack/ghafoors-blog/scripts/dictionary/dict-extract.sh &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt; --video-url &lt;span class="s2"&gt;&amp;#34;https://www.youtube.com/watch?v=9M_dq_0ljsc&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt; --topic &lt;span class="s2"&gt;&amp;#34;capitalism&amp;#34;&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;8&lt;/span&gt;&lt;span class="cl"&gt; --create-hugo-page &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;9&lt;/span&gt;&lt;span class="cl"&gt; --source-name &lt;span class="s2"&gt;&amp;#34;Capitalism is not natural&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That&amp;rsquo;s it! The script handles all paths correctly.&lt;/p&gt;</description></item></channel></rss>