Skip to content

Introducing YTRanker ,an easier way to grow your YouTube channel. YTRanker is a free, open-source Blogger template that automatically turns your blog into a YouTube video gallery. It pulls videos directly from your channel, adds them to your site, and creates backlinks to boost your SEO and channel visibility.

License

Notifications You must be signed in to change notification settings

saheermk/YTRanker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

YTRanker - YouTube Backlink Generator for Blogger

Table of Contents

Overview

Introducing YTRanker ,an easier way to grow your YouTube channel. YTRanker is a free, open-source Blogger template that automatically turns your blog into a YouTube video gallery. It pulls videos directly from your channel, adds them to your site, and creates backlinks to boost your SEO and channel visibility.

Once you set it up, there’s nothing else to do. Every time you upload or delete a video, your blog updates automatically ,no coding, no manual changes. Just set it and forget it. More views, more engagement, more growth, on autopilot.

πŸš€ Features

  • βœ… Automatic Content: Fetches latest videos from any YouTube channel
  • βœ… Channel Branding: Displays channel name, logo, description, and video stats
  • βœ… SEO Optimized: Adds structured data, Open Graph tags, and canonical links
  • βœ… Performance: Lazy loads thumbnails for better page speed
  • βœ… User Experience: Supports infinite scroll & "Load More" button
  • βœ… Engagement: Includes modal popup to play videos directly on the site
  • βœ… Organization: Filters videos by tags/categories dynamically
  • βœ… Backlinks: Auto-generates do-follow backlinks via embedded video links

πŸ”§ How It Works

Once you enter your YouTube API key and channel ID in the script:

// Configuration
const apiKey = 'YOUR_API_KEY';
const channelId = 'YOUR_CHANNEL_ID_NUMBER';

The script performs the following:

  1. Fetches channel details including name, logo, subscriber count, and description using the YouTube Data API v3
  2. Retrieves recent videos using search and videos API endpoints
  3. Processes each video:
    • Formats view counts, durations, and published dates
    • Adds categories based on video tags for filtering
    • Embeds each video using an iframe and links them back to YouTube, creating a backlink
  4. Generates SEO Metadata:
    • Dynamic page title, meta description, keywords
    • Open Graph (OG) tags for social sharing
    • JSON-LD structured data for better search engine visibility
  5. Displays content in a gallery layout with:
    • Responsive thumbnails
    • Hover effects
    • Clickable modal popup to watch videos

πŸ“Œ Requirements

  • Google account
  • YouTube Data API v3 key
  • Blogger/Blogspot website
  • YouTube channel ID

πŸ› οΈ Setup Instructions

Step 1: Get a YouTube Data API Key

  1. Go to Google Cloud Console

  2. Create a new project or select an existing one

    1. Create New Project
    2. Image
    3. Image
    4. Image
    5. Image
    6. Image
  3. Navigate to "APIs & Services" > "Library"

  4. Search for "YouTube Data API v3" and click on it

    YouTube Data API

  5. Click "Enable"

    Enable API

  6. Go to "Credentials" and click "Create Credentials" > "API key"

    Create Credentials Image

  7. Copy your new API key

Step 2: Find Your YouTube Channel ID

  1. Visit YouTube

  2. Search for the channel you want to embed

  3. Go to the channel page

    Channel Page

  4. Click on "Share" or "More info" from the channel

  5. Click "Share channel" and copy the channel ID

    Share Channel

Step 3: Configure Your Blogger Template

  1. In your Blogger dashboard, go to "Theme" > "Edit HTML"
  2. Search for the configuration section (Ctrl+F and search for "Configuration")
  3. Replace the placeholders with your actual API key and channel ID:
// Configuration
const apiKey = 'YOUR_API_KEY';    // Replace with your actual API key
const channelId = 'YOUR_CHANNEL_ID_NUMBER';   // Replace with your actual channel ID

Configuration

  1. Save your changes

🧠 SEO & Backlinking Strategy

By embedding YouTube videos on your Blogspot pages:

  • You create backlinks to the original YouTube videos via the iframe src and canonical URLs
  • Your blog benefits from fresh dynamic content from your YouTube channel
  • The template includes structured data (VideoObject and ItemList), improving your search engine visibility
  • Videos increase time-on-site metrics, reducing bounce rates

πŸ“Š Expected Results

Results Responsive - smart phone

  • Improved YouTube video rankings
  • Increased channel visibility
  • Better website engagement metrics
  • More organic traffic to both your website and YouTube channel

⚠️ Important Notes

  • The free YouTube Data API has usage quotas. Monitor your usage to avoid exceeding limits.
  • Make sure your content complies with both YouTube and Blogger terms of service.
  • Keep your API key secure and avoid exposing it in public repositories.

πŸ™ Acknowledgements

Created by saheermk

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


If you find this project helpful, please consider giving it a star ⭐ on GitHub!


β˜• Support This Project

Buy Me a Coffee

Buy Me a Coffee QR

About

Introducing YTRanker ,an easier way to grow your YouTube channel. YTRanker is a free, open-source Blogger template that automatically turns your blog into a YouTube video gallery. It pulls videos directly from your channel, adds them to your site, and creates backlinks to boost your SEO and channel visibility.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages