<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abheet</title>
    <description>The latest articles on DEV Community by Abheet (@abheetsharma09).</description>
    <link>https://dev.to/abheetsharma09</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4208227%2Fdc0e59a6-6fcb-4b50-b96a-d71373d760e0.jpg</url>
      <title>DEV Community: Abheet</title>
      <link>https://dev.to/abheetsharma09</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abheetsharma09"/>
    <language>en</language>
    <item>
      <title>🎬 YouTube Comment Analyser</title>
      <dc:creator>Abheet</dc:creator>
      <pubDate>Tue, 27 Oct 2026 14:47:48 +0000</pubDate>
      <link>https://dev.to/abheetsharma09/youtube-comment-analyser-4mmb</link>
      <guid>https://dev.to/abheetsharma09/youtube-comment-analyser-4mmb</guid>
      <description>&lt;p&gt;This is my personal mini-project — it takes any YouTube video URL, fetches all its comments, analyzes the sentiment, and gives you a clear verdict on whether the community loves it, hates it, or feels neutral about it.&lt;/p&gt;

&lt;p&gt;I built this to learn backend development with FastAPI, integrate with the YouTube Data API, and tackle real-world challenges like CORS while connecting a frontend to a backend.&lt;/p&gt;




&lt;p&gt;Visit the Github Repo Link :- &lt;a href="https://github.com/abheetsharma09/yt-comment-analyser" rel="noopener noreferrer"&gt;https://github.com/abheetsharma09/yt-comment-analyser&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sentiment Analysis&lt;/strong&gt; – Classifies comments as Positive, Neutral, or Negative.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Approval Rating&lt;/strong&gt; – Calculates the percentage of positive feedback.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Verdict&lt;/strong&gt; – Gives a clear verdict: "Must Watch 🌟", "Good 👍", "Mixed 🤔", or "Skip ⚠️".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sample Comments&lt;/strong&gt; – Shows top positive and negative comments for quick insights.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three Interfaces&lt;/strong&gt; – Access the tool via CLI, Web UI, or REST API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Beautiful Dashboard&lt;/strong&gt; – A glass‑morphism UI with real‑time feedback (for &lt;code&gt;/ui&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video Metadata&lt;/strong&gt; – Displays video thumbnail and title alongside the report. (for &lt;code&gt;/ui&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚙️ How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;You provide a YouTube video URL&lt;/strong&gt; – through the CLI, web UI, or API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The backend extracts the video ID&lt;/strong&gt; and fetches all comments using the YouTube Data API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Comments are analyzed&lt;/strong&gt; using a simple rule‑based sentiment classifier (keywords + context).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A detailed report is generated&lt;/strong&gt; with:

&lt;ul&gt;
&lt;li&gt;Total reviews scanned&lt;/li&gt;
&lt;li&gt;Breakdown: Positive / Neutral / Negative&lt;/li&gt;
&lt;li&gt;Approval rating percentage&lt;/li&gt;
&lt;li&gt;Final verdict with explanation&lt;/li&gt;
&lt;li&gt;Sample positive &amp;amp; negative comments&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The report is returned&lt;/strong&gt; to the client (terminal, web dashboard, or JSON response).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🚀 Versions
&lt;/h2&gt;

&lt;p&gt;I've provided &lt;strong&gt;three versions&lt;/strong&gt; of this tool to suit different use cases:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CLI&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/cli&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Run from the terminal – perfect for quick analysis without a browser.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Web UI&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/ui&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Beautiful interactive dashboard – paste a URL and see the report instantly.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;API&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/api&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;REST API endpoint – returns JSON data for integration with other apps.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;&lt;code&gt;NOTE - ALL REQUIRES API KEY EXCEPT MY DEPLOYED VERSION&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧰 Tech Stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Backend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;FastAPI (Python)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Frontend&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;HTML, CSS, JavaScript (Vanilla)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;External API&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;YouTube Data API v3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  📦 Installation
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.8+&lt;/li&gt;
&lt;li&gt;A YouTube Data API v3 key (see API Key Setup)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clone the repository&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/yourusername/youtube-comment-analyser.git
&lt;span class="nb"&gt;cd &lt;/span&gt;youtube-comment-analyser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Create a virtual environment (recommended)&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; venv venv
&lt;span class="nb"&gt;source &lt;/span&gt;venv/bin/activate   &lt;span class="c"&gt;# On Windows: venv\Scripts\activate&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install dependencies&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;fastapi uvicorn requests google-api-python-client
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Set up environment variables&lt;/strong&gt;
Create a &lt;code&gt;.env&lt;/code&gt; file in the root directory:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;YOUTUBE_API_KEY=your_youtube_api_key_here
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Run the application&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uvicorn main:app &lt;span class="nt"&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Open your browser&lt;/strong&gt; and navigate to:&lt;/li&gt;
&lt;li&gt;Web UI: &lt;code&gt;http://localhost:8000/ui&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;API: &lt;code&gt;http://localhost:8000/api/{video_id}&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🔑 API Key Setup
&lt;/h2&gt;

&lt;p&gt;To use the YouTube Data API, you'll need an API key:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to the &lt;a href="https://console.cloud.google.com/" rel="noopener noreferrer"&gt;Google Cloud Console&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Create a new project (or select an existing one).&lt;/li&gt;
&lt;li&gt;Enable the &lt;strong&gt;YouTube Data API v3&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Create a credential (API Key) and copy it.&lt;/li&gt;
&lt;li&gt;Add it to your &lt;code&gt;.env&lt;/code&gt; file as &lt;code&gt;YOUTUBE_API_KEY&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;strong&gt;Note&lt;/strong&gt;: The YouTube API has usage quotas. Free tier usually allows 10,000 requests per day, which is plenty for personal use.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  💻 Usage
&lt;/h2&gt;

&lt;h3&gt;
  
  
  CLI Version (&lt;code&gt;/cli&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Run the tool from your terminal for quick, no‑frills analysis.\&lt;br&gt;
HERE YOU HAVE TO PROVIDE &lt;code&gt;YOUR_API_KEY&lt;/code&gt; &amp;amp; &lt;code&gt;YT-VIDEO-ID&lt;/code&gt; to extract the following output.&lt;/p&gt;

&lt;p&gt;The output will look like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;==================================================
🎬 VIDEO AUDIENCE REPORT FOR ID: UZio8TcTMrI
==================================================
📋 Total Reviews Scanned: 230
💬 Breakdown: 132 Pos | 91 Neu | 7 Neg
📈 Approval Rating: 95.0% Positive Feedback
🚨 FINAL VERDICT: MUST WATCH 🌟
📝 Summary: The community overwhelmingly praises this video.
==================================================


✨ KEY PRAISES (Why people like it):
  1. "very interesting lecture ,all the stuffs started making me more curious..."
  2. "Dada tumi khub valo porao . Thank you so much 😊😊"
  3. "most underrated channel ever 🔥"


🚩 CRITICAL POINTS (Viewer complaints):
  1. "bro hates BJP ...me too hahaha"
  2. "“I have a doubt: Can NLP detect sarcasm? ..."
  3. "why the language is not english?"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Web UI Version (&lt;code&gt;/ui&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;The interactive dashboard — just paste a YouTube URL and get a beautiful, visual report.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access it via:&lt;/strong&gt; &lt;code&gt;http://localhost:8000/&lt;/code&gt; or you can simple open the &lt;code&gt;index.html&lt;/code&gt; in browser that also works fine.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter a YouTube URL in the input box.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Analyze&lt;/strong&gt; (or press Enter).&lt;/li&gt;
&lt;li&gt;See the report instantly with stats, approval bar, verdict, and sample comments.&lt;/li&gt;
&lt;li&gt;Video thumbnail and title are fetched automatically.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 &lt;strong&gt;Tip&lt;/strong&gt;: The UI works only with a valid API URL and you have to configure the CORS policies in your backend for testing i am using &lt;code&gt;NGINX&lt;/code&gt; and hosted UI on the Cloudflare CDN.&lt;br&gt;
YOU CAN CHANGE YOUR BASE API_URL IN &lt;code&gt;script.js&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;API_BASE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;URL_HERE&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  API Version (&lt;code&gt;/api&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;For developers who want to integrate the analysis into their own apps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Endpoint:&lt;/strong&gt; &lt;code&gt;GET /{video_id}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"http://localhost:8000/UZio8TcTMrI"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Response (JSON):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"video_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"UZio8TcTMrI"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"total_review"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;230&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"vdo_breakdown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"positive"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;132&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"neutral"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;91&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"negetive"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"percentage"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"95.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"veridct"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"MUST WATCH 🌟"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"quick_summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"The community overwhelmingly praises this video. High educational value."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"positive_comment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"very interesting lecture ,all the stuffs started making me more curious about learning ML"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"Dada tumi khub valo porao . Thank you so much 😊😊"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"most underrated channel ever 🔥"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"negative_comment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"bro hates BJP ...me too hahaha"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"“I have a doubt: Can NLP detect sarcasm? ..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"why the language is not english?"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  📚 What I Learned
&lt;/h2&gt;

&lt;p&gt;This project taught me &lt;strong&gt;a lot&lt;/strong&gt; about building full‑stack applications:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;FastAPI Fundamentals&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Routing (&lt;code&gt;@app.get&lt;/code&gt;, &lt;code&gt;@app.post&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Path parameters and query parameters&lt;/li&gt;
&lt;li&gt;Middleware (including CORS middleware)&lt;/li&gt;
&lt;li&gt;Async/await for non‑blocking operations&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;YouTube Data API Integration&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to authenticate and make requests&lt;/li&gt;
&lt;li&gt;Fetching comments (including pagination for large videos)&lt;/li&gt;
&lt;li&gt;Handling rate limits and quotas&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;CORS (Cross‑Origin Resource Sharing)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why CORS errors happen (same‑origin policy)&lt;/li&gt;
&lt;li&gt;How to fix them using &lt;code&gt;CORSMiddleware&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;The difference between &lt;code&gt;GET&lt;/code&gt; and &lt;code&gt;POST&lt;/code&gt; preflight requests&lt;/li&gt;
&lt;li&gt;Handling &lt;code&gt;null&lt;/code&gt; origins for local development (&lt;code&gt;file://&lt;/code&gt; protocol)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Frontend Development&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fetch API with error handling&lt;/li&gt;
&lt;li&gt;Dynamically rendering reports with JavaScript&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;API Design&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Creating a RESTful endpoint (&lt;code&gt;/{video_id}&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Returning consistent JSON responses&lt;/li&gt;
&lt;li&gt;Versioning through different routes (&lt;code&gt;/cli&lt;/code&gt;, &lt;code&gt;/ui&lt;/code&gt;, &lt;code&gt;/api&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Problem Solving&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Debugging CORS errors with browser DevTools (Network tab)&lt;/li&gt;
&lt;li&gt;Handling API failures gracefully&lt;/li&gt;
&lt;li&gt;Testing API endpoints with &lt;code&gt;curl&lt;/code&gt; and Postman&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🔮 Future Improvements
&lt;/h2&gt;

&lt;p&gt;Here's what I'd like to add next:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AI‑Powered Sentiment&lt;/strong&gt; – Use a pre‑trained NLP model (e.g., &lt;code&gt;transformers&lt;/code&gt;) for more accurate sentiment analysis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Comment Filtering&lt;/strong&gt; – Skip spam or irrelevant comments for cleaner analysis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi‑Language Support&lt;/strong&gt; – Detect and analyze comments in any language.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Caching&lt;/strong&gt; – Cache results for 24 hours to reduce API calls and speed up repeated requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video Insights&lt;/strong&gt; – Add data like view count, like/dislike ratio, and channel info.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export Reports&lt;/strong&gt; – Allow users to download reports as PDF or CSV.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User Authentication&lt;/strong&gt; – Add login to save analysis history.&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>backend</category>
      <category>github</category>
      <category>python</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
