Files
repo1/README.md

2.5 KiB

Trending Keywords App with Opportunity Scoring

A web application that identifies real-time trending keywords from Google Trends with high search volume but low competition, and generates ChatGPT-friendly prompts for article creation based on those keywords.

Features

  • Real-time Google Trends Integration: Fetches current trending topics directly from Google Trends API
  • Dynamic Keyword Opportunity Scoring: Identifies keywords with high search volume but low result count, providing content creation opportunities
  • Advanced Metrics: Includes Search Relevance (SR) and Difficulty Rating (DR) for better keyword evaluation
  • Color-Coded Quality Indicators: Green highlighting for high-opportunity keywords
  • Caching Mechanism: Optimizes performance by reducing API calls with a 30-minute cache
  • Timestamp Display: Shows when trending data was last updated
  • ChatGPT Prompt Generation: Creates optimized article prompts based on selected keywords and their metrics
  • Copy to Clipboard: One-click copying of generated prompts for easy use with ChatGPT
  • Responsive Design: Works on desktop and mobile devices

Technical Implementation

  • Google Trends API Integration: Real-time data fetching with fallback mechanisms
  • Opportunity Scoring Algorithm: Uses a weighted average of normalized search volume and inverse normalized result count
  • Color-Coding System:
    • Green: High-quality keywords (score > 70)
    • Yellow/Orange: Medium-quality keywords (score 50-70)
    • Red: Low-quality keywords (score < 50)
  • Asynchronous Data Processing: Handles multiple data sources and enrichment processes efficiently

How to Use

  1. Open index.html in any modern web browser
  2. The app automatically loads trending keywords with opportunity scores
  3. Click the "Refresh Keywords" button to fetch new trending topics
  4. Select any keyword card to use it for prompt generation
  5. Click "Generate Article Prompt" to create a ChatGPT-friendly prompt
  6. Use the "Copy to Clipboard" button to copy the prompt for use with ChatGPT

Project Structure

trending-keywords-app/
├── index.html          # Main HTML structure
├── styles.css          # CSS styling
├── app.js              # JavaScript functionality
└── trends-api.js       # Google Trends API integration with caching

Future Enhancements

  • Historical trend analysis
  • Keyword clustering by topic
  • Export functionality for selected keywords
  • User accounts to save favorite keywords and prompts
  • Advanced filtering options for keyword discovery