20+ Free Scripts for Automating SEO, Content Marketing, PR, and Social Media with Artificial Intelligence
This repo contains 20+ Google Colab experiments that leverage AI to partially or fully automate many different discrete Content Marketing, PR, Social Media, and SEO tasks written by Kristin Tynski ([email protected])
π₯ Leveraging SOTA MultiModal AI for Video Understanding - An Iterative Approach to Replicating Viral Success on TikTok π
This script utilizes Apify API for TikTok data collection, OpenAI Whisper for automated transcription, and Vicuna multi-modal AI for video understanding to provide automated and customized analysis of TikTok videos. It identifies key factors for viral success on TikTok and generates a structured report.
π Key features:
- Automated data collection
- Audio separation and transcription
- Customized video understanding with state-of-the-art AI
- Aggregated analysis to identify viral factors
- Structured report generation
π Requirements:
- Apify API key
- OpenAI API key
- Google Colab+
This script scrapes Google News for relevant articles, clusters them using sentence embeddings, and analyzes each cluster to identify key narratives, perspectives, biases, etc. using GPT-3.
π Key features:
- Automated news data collection
- Clustering articles using sentence embeddings
- GPT-3 powered analysis of clusters
- Structured analysis focusing on themes, biases, emotions, etc.
- Final report summarizing key insights
π Requirements:
- SerpAPI Key
- OpenAI API Key
This script performs automated keyword research and clustering to identify content gaps. It integrates with SEMrush API, generates embeddings using SentenceTransformers, clusters keywords using K-Means, and generates cluster descriptions using GPT-3.
π Key features:
- SEMrush API integration for keyword data
- Automated embedding generation
- K-Means clustering of keywords
- GPT-3 powered cluster descriptions
- Content gap identification
- Cluster analysis report
π Requirements:
- OpenAI API Key
- SEMrush API Key
This script generates high-quality long-form articles leveraging semantic SEO data. It scrapes Google results, performs NLP analysis, generates outlines optimized for semantic SEO metrics, breaks outlines into sections, and iteratively improves content using GPT-3.
π Key features:
- Automated data collection from Google
- NLP analysis of top results
- Semantic SEO optimized outline generation
- Iterative long-form content generation
- GPT-3 powered content improvement
π Requirements:
- OpenAI API Key
This script collects news articles on a topic, clusters them using sentence embeddings, summarizes clusters using GPT-3, and generates newsjacking content ideas for each cluster.
π Key features:
- Automated news data collection
- Clustering articles using sentence embeddings
- GPT-3 powered cluster summarization
- Structured newsjacking ideation based on clusters
π Requirements:
- SerpAPI Key
- OpenAI API Key
This script enables automated analysis of TikTok video content using state-of-the-art AI models. It separates audio, transcribes using Whisper, encodes video understanding with Vicuna, and generates insights tailored to marketing goals. The key features are:
- Automated TikTok data collection
- Audio separation and transcription
- Video understanding with Vicuna multi-modal AI
- Customized insights for marketing strategy
- Detailed analysis focusing on virality factors, audience segmentation, brand presence, etc.
π Requirements:
- Apify API Key
- OpenAI API Key
- Google Colab + A100 GPU
This script enables automated newsjacking ideation by collecting Google News articles on a topic, clustering them using sentence embeddings, summarizing clusters with GPT-3, and generating tailored content ideas. Key features:
- News data collection from Google
- Clustering articles using sentence embeddings
- Summarizing clusters with GPT-3
- Structured newsjacking ideation based on clusters
- Automated tailored content creation
π Requirements:
- SerpAPI Key
- OpenAI API Key
This script automates analysis of on-page links to provide SEO optimization recommendations. It scrapes specified URLs, analyzes linked page content with Newspaper3k, generates anchor text recommendations with GPT-3, and outputs results to a CSV.
π Key features:
- Automated on-page link analysis
- Content scraping with Newspaper3k
- GPT-3 powered anchor text recommendations
- SEO optimization suggestions
- CSV output of results
π Requirements:
- OpenAI API Key
This script analyzes an article and generates subreddit and post title recommendations using GPT-3. It summarizes the article, recommends target subreddits, and creates tailored titles for each subreddit.
π Key features:
- Article summarization
- GPT-3 based subreddit recommendations
- Custom post titles optimized for each subreddit
π Requirements:
- OpenAI API Key
- Reddit API Credentials
π‘ Automatic Article Outline Generation by Analyzing The Article Text of Top Ranking Pages for a Given Keyword
This script scrapes and analyzes top-ranking pages for a keyword to generate automated article outlines optimized for SEO. Key features:
- Scrapes and analyzes Google results
- NLP analysis of top pages
- GPT-3 outline generation optimized for SEO metrics
- Automated end-to-end outline creation
π Requirements:
- OpenAI API Key
This script enables automated video translation with lip sync using OpenAI Whisper for speech-to-text and Wav2Lip for lip generation. Key features:
- Video download from YouTube link
- Speech extraction and translation by Whisper
- Generating new translated speech audio
- Lip sync using Wav2Lip machine learning model
- Automated end-to-end video translation
π Requirements:
- OpenAI API Key
- Wav2Lip, FFmpeg
π Automatically Generate a Summary, Article Outline, Long form Article, and Tweet Thread from a Youtube URL
This script automatically generates a summary, outline, article, and tweet thread from a YouTube video transcript using GPT-3. Key features:
- Transcript extraction using youtube-dl
- Text truncation to fit GPT-3 limits
- Summary generation with T5 or GPT-3
- Tweet thread creation with GPT-3
- Outline creation for a long-form article
- Automated article section writing with GPT-3
- Structured output for all generated text
π Requirements:
- OpenAI API Key
- youtube-dl
This explores using multiple AI agents to iteratively generate, critique, refine, and evaluate invention ideas. Key features:
- Idea generation with GPT-4
- Critiquing ideas with GPT-3.5
- Idea refinement and synthesis with GPT-4
- Scoring ideas on multiple metrics with GPT-3.5
- Image prompting and rendering with Stability AI
- Iterative looping until criteria met
- Markdown rendering of the final synthesized idea
π Requirements:
- OpenAI API Key
- Stability AI API Key
This script predicts search intents from keywords, generates corresponding personas, and has GPT-3 infer buyer needs and marketing tactics per persona. Key features:
- Intent prediction using GPT-3
- Persona profiling with GPT-3
- Concurrent questions to GPT-3
- Buyer needs, objections, and marketing tactics
- Structured DataFrame output
- Ideal for SEO and marketing strategy
π Requirements:
- OpenAI API Key
This script optimizes search analysis using large language models like GPT-3. It generates queries, analyzes brand mentions, and creates natural language reports. Key features:
- Query generation with GPT-3
- Concurrent requests for speed
- Brand extraction and analysis
- Query response summarization
- Natural language report generation
- Structured DataFrame output
π Requirements:
- OpenAI API Key
This script instantly generates a structured SEO content plan by chaining prompts to GPT-3. Key features:
- Automated subtopic generation
- Automated subsubtopic generation
- Title generation for subsubtopics
- Concurrency for speed
- Structured output as DataFrame
- Rapid automated content planning
π Requirements:
- OpenAI API Key
This script generates viral data journalism story ideas by chaining GPT-3 prompts for subtopics, data sources, and narratives. Key features:
- Automated subtopic generation
- Data source identification
- Story narrative generation
- Structured DataFrame output
- Optimized for press pitching
- Requires only a seed keyword
π Requirements:
- OpenAI API Key
- Automates academic literature research using ArXiv, semantic search, summaries, and natural language generation.
- ArXiv paper querying and download
- GPT-3 relevance scoring
- Text summarization with POE
- Concurrency for speed
- Natural language report generation
- Automates the literature review process
π Requirements:
- OpenAI API Key
π₯ Automated Content and Keyword Clustering Descriptions with HuggingFace Embeddings, Agglomerative Clustering, and GPT-3
- Simplifies content and keyword clustering using HuggingFace embeddings for keywords, agglomerative clustering for content, and GPT-3 for enhanced cluster descriptions.
- Provides more insightful and organized cluster analysis.
π Requirements:
- OpenAI API Key
- Feed it a seed keyword, it will leverage the #Apify #TikTokScraper to extract associated search keywords in a recursive manner as per your specifications, and then download all related videos.
- Transforms videos to audio, transcribes using Whisper, and translates non-English videos to English. π
- Cleans and preps transcripts.
- Prompts to GPT-4 for in-depth analysis of transcripts in batches.
- GPT-4 unearths elements propelling engagement. π
- Collates the most recurrent and poignant insights from all batches
- Synthesizes a report outlining key recommendations. π
π Requirements:
- OpenAI API Key
- Takes a list of keywords
- Runs each keyword through 28 different evaluations predicting answers about the person searching and their goals when searching with a given keyword
- Generating a csv that contains the answers to all the evaluations for each keyword.
π Requirements:
- OpenAI API Key
-Takes a given topic -Generates sub topics related to the topic -Generates sub-sub topics related to the subtopic and primary topic -Generates 30 relevant questions for each sub-sub topic. -Collates everything into a well organized dataframe for export to CSV.
π Requirements:
- OpenAI API Key
- Takes a given keyword and scrapes all Reddit posts that match that keyword for a given number of posts and a date range.
- Runs the set of Reddit posts scraped in the last step through 11 different prompts that analyze the corpus of post titles and give a readout of what they are generally about, main points, and other important takeaways.
- Generates two CSVs, one that is the output of the Reddit scrape, and one that is the analysis/readout of those posts.
π Requirements:
- OpenAI API Key
- Reddit api credentials
- Extracts relevant information from a given URL using the newspaper3k library.
- Analyzes the content and determines the appropriate schema type using #GPT4.
- Extracts relevant data points based on the determined schema type.
- Generates JSON-LD schema markup using the extracted data points.
- Outputs the enhanced HTML with schema markup applied.
π Requirements:
- OpenAI API Key