Skip to content

Conversation

@tiashamaitra
Copy link

@tiashamaitra tiashamaitra commented Dec 30, 2025

Closes #255

📝 Description

Added missing instructions for generating the YouTube Data API v3 key to the main README.md. This guide helps new contributors set up the environment variables correctly using the official YouTube registration link.

🔧 Changes Made

  • Updated README.md to include Step 6: Get the Youtube API key.
  • Added a workflow that starts from https://developers.google.com/youtube/registering_an_application to guide the user through enabling the API, selecting "Public Data", and generating the key for the .env file.

📷 Screenshots or Visual Changes (if applicable)

N/A

🤝 Collaboration

Collaborated with: none

✅ Checklist

  • I have read the contributing guidelines.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary documentation (if applicable).
  • Any dependent changes have been merged and published in downstream modules.

Summary by CodeRabbit

  • Documentation
    • Added comprehensive step-by-step guide for YouTube API key setup in the Backend Setup section, including instructions for enabling the YouTube Data API v3, creating credentials, and configuring the environment variable.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 30, 2025

📝 Walkthrough

Walkthrough

Added step-by-step instructions to README.md for obtaining a YouTube API key from Google Cloud Console. The guide covers enabling YouTube Data API v3, creating credentials, configuring access restrictions, and adding the key to the .env file as VITE_YOUTUBE_API_KEY.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added comprehensive subsection under Backend Setup detailing YouTube API key generation process, including Google Cloud Console navigation, API enablement, credential creation, and environment variable configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Hops and nibbles through the docs so clear,
YouTube keys unlocked, setup's here!
Console clicks and APIs shine,
New contributors cross the line! 🗝️✨

Pre-merge checks

✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Docs: Added YouTube API key setup instructions' accurately describes the main change—adding YouTube API key setup documentation to the README.
Linked Issues check ✅ Passed The pull request fully addresses all coding-related requirements from issue #255: documenting YouTube API key generation steps, enabling YouTube Data API v3, restricting API keys, and adding keys to .env file.
Out of Scope Changes check ✅ Passed All changes are in-scope, consisting solely of documentation additions to README.md that directly fulfill the objectives of issue #255 with no unrelated modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a3be437 and 45bbb7e.

📒 Files selected for processing (1)
  • README.md
🧰 Additional context used
🪛 LanguageTool
README.md

[uncategorized] ~163-~163: The official name of this popular video platform is spelled with a capital “T”.
Context: ... dbname=postgres ``` 6. Get the Youtube API key: - Go to [https://developers...

(YOUTUBE)

Comment on lines +163 to +176
6. Get the Youtube API key:
- Go to [https://developers.google.com/youtube/registering_an_application].
- Under the **API keys** section on that page, click on the link to go to **Create credentials**.
- In the left sidebar, click on **Library**.
- In the search bar that appears, search for **"YouTube Data API v3"**.
- Click **Enable**.
- Once enabled, click the **Create Credentials** button that appears on the page.
- Under "Which API are you using?", select **Public data**.
- (Optional) You may restrict the key if desired.
- Click **Create** to generate the API key.
- Copy the key and paste it into your `.env` file:
```env
VITE_YOUTUBE_API_KEY=your_key_here
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Reconsider section placement: YouTube API key instruction belongs in Frontend Setup.

The instructions document VITE_YOUTUBE_API_KEY, which is a Frontend environment variable (per PR objectives and the .env-example reference). However, this guidance appears in the "Backend Setup" section (step 5 is still backend-focused). For clarity, either:

  1. Move this step into the Frontend Setup section (after step 2), or
  2. Clarify that this step applies to both Frontend and Backend setup.

Per the PR objectives, this should guide users through generating credentials needed by the Frontend.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~163-~163: The official name of this popular video platform is spelled with a capital “T”.
Context: ... dbname=postgres ``` 6. Get the Youtube API key: - Go to [https://developers...

(YOUTUBE)

🤖 Prompt for AI Agents
README.md around lines 163 to 176: the YouTube API key instructions reference
VITE_YOUTUBE_API_KEY (a frontend env var) but are placed in the Backend Setup
section; move this entire step into the Frontend Setup section (after step 2) so
it clearly applies to frontend users, or alternatively add a clarifying note
that the step is required for both frontend and backend if that is
intended—update headings and any cross-references accordingly and ensure the
README’s .env-example and PR objectives are consistent with the new placement.

dbname=postgres
```

6. Get the Youtube API key:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix duplicate step numbering: both labeled "Step 6".

Lines 163 and 178 both start with "Step 6", creating ambiguity. The Groq API key step should be renumbered to "Step 7".

🔎 Proposed fix
-6. Get the Groq API key:
+7. Get the Groq API key:

Also applies to: 178-178

🧰 Tools
🪛 LanguageTool

[uncategorized] ~163-~163: The official name of this popular video platform is spelled with a capital “T”.
Context: ... dbname=postgres ``` 6. Get the Youtube API key: - Go to [https://developers...

(YOUTUBE)

🤖 Prompt for AI Agents
In README.md around lines 163 and 178, duplicate step numbering uses "Step 6"
twice; change the Groq API key step (line ~178) from "Step 6" to "Step 7" so
numbering is sequential and update any dependent subsequent steps if present to
preserve correct order.

⚠️ Potential issue | 🟡 Minor

Capitalize "YouTube" consistently.

Line 163 uses "Youtube" but line 167 correctly uses "YouTube Data API v3". Standardize to the official product name "YouTube" throughout.

🔎 Proposed fix
-6. Get the Youtube API key:
+6. Get the YouTube API key:
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
6. Get the Youtube API key:
6. Get the YouTube API key:
🧰 Tools
🪛 LanguageTool

[uncategorized] ~163-~163: The official name of this popular video platform is spelled with a capital “T”.
Context: ... dbname=postgres ``` 6. Get the Youtube API key: - Go to [https://developers...

(YOUTUBE)

🤖 Prompt for AI Agents
In README.md around line 163, the word "Youtube" is incorrectly capitalized;
change it to the official product name "YouTube" so the line reads "Get the
YouTube API key:" and ensure any other instances of "Youtube" in the document
are updated to "YouTube" for consistent, correct capitalization.

```

6. Get the Youtube API key:
- Go to [https://developers.google.com/youtube/registering_an_application].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix malformed markdown link syntax.

The URL on line 164 uses bracket notation [https://...] but lacks the proper markdown link format. Either use:

  • [Google YouTube Registration](https://developers.google.com/youtube/registering_an_application), or
  • Plain text link: https://developers.google.com/youtube/registering_an_application
🔎 Proposed fix
-   - Go to [https://developers.google.com/youtube/registering_an_application].
+   - Go to [Google YouTube Application Registration](https://developers.google.com/youtube/registering_an_application).
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Go to [https://developers.google.com/youtube/registering_an_application].
- Go to [Google YouTube Application Registration](https://developers.google.com/youtube/registering_an_application).
🤖 Prompt for AI Agents
In README.md around line 164, the link is written as
`[https://developers.google.com/youtube/registering_an_application]` which is
malformed; replace it with a proper Markdown link or a raw URL. Edit the line to
either use a labeled link like "Go to [Google YouTube
Registration](https://developers.google.com/youtube/registering_an_application)"
or simply "Go to
https://developers.google.com/youtube/registering_an_application" so it renders
correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Add instructions for generating YouTube API Key in Frontend README

1 participant