π― Transform your SEO strategy with AI-powered insights! Comprehensive SEO audits, competitive analysis, and actionable recommendations through an intuitive interface.
- Agno Agent Framework - Advanced AI analysis with specialized SEO agents
- Groq LLM Integration - Lightning-fast intelligent insights
- Smart Recommendations - Context-aware, prioritized suggestions
- Confidence Scoring - AI confidence metrics for each recommendation
- Technical Analysis - Page speed, mobile-friendliness, meta tags optimization
- Content Assessment - Word count, heading structure, readability scores
- Performance Metrics - Core Web Vitals, user experience indicators
- Multi-Competitor Analysis - Compare against up to 5 competitors
- Performance Benchmarking - Speed, content depth, mobile optimization
- Gap Analysis - Identify opportunities and market positioning
- Search Volume Analysis - Real-time keyword performance data
- Trending Opportunities - Emerging keyword identification
- Long-tail Suggestions - Medium-volume keyword opportunities
graph TB
subgraph "π₯οΈ Frontend"
A[Streamlit Interface]
B[User Forms]
C[Progress Tracking]
D[Results Dashboard]
end
subgraph "π€ AI Layer"
E[Agno Framework]
F[SEO Agent]
G[Groq LLM]
end
subgraph "π Data Layer"
I[Website Crawler]
J[Keyword API]
K[Competitive Analysis]
end
subgraph "π External APIs"
M[Firecrawl]
N[Exa Keywords]
O[Groq API]
end
A --> E
E --> I
I --> M
J --> N
E --> G
G --> O
flowchart TD
Start([User Starts Analysis]) --> Config[Configure Analysis Settings]
Config --> Input[Enter Website URL & Competitors]
Input --> Keywords[Add Target Keywords]
Keywords --> Init[Initialize Agno AI Agent]
Init --> Check{Groq API Available?}
Check -->|Yes| AI[Enable AI Analysis]
Check -->|No| Fallback[Use Rule-based Analysis]
AI --> Crawl[Website Crawling Phase]
Fallback --> Crawl
Crawl --> CrawlSite[Crawl Primary Website]
CrawlSite --> CrawlComp{Include Competitors?}
CrawlComp -->|Yes| CrawlCompSites[Crawl Competitor Sites]
CrawlComp -->|No| KeywordPhase[Keyword Research Phase]
CrawlCompSites --> KeywordPhase
KeywordPhase --> FetchKeywords{Include Keywords?}
FetchKeywords -->|Yes| GetKeywords[Fetch Keyword Data]
FetchKeywords -->|No| Analysis[AI Analysis Phase]
GetKeywords --> Analysis
Analysis --> SiteAnalysis[Site Technical Analysis]
SiteAnalysis --> CompAnalysis[Competitive Analysis]
CompAnalysis --> KeywordAnalysis[Keyword Opportunity Analysis]
KeywordAnalysis --> ActionPlan[Generate Action Plan]
ActionPlan --> ScoreCalc[Calculate SEO Score]
ScoreCalc --> Results[Present Results]
Results --> Tab1[Immediate Actions Tab]
Results --> Tab2[Short-term Goals Tab]
Results --> Tab3[Long-term Strategy Tab]
Results --> Tab4[Detailed Insights Tab]
Results --> Tab5[Data & Charts Tab]
Tab1 --> End([Analysis Complete])
Tab2 --> End
Tab3 --> End
Tab4 --> End
Tab5 --> End
seo-insighthub/
βββ π§ api/
β βββ exa.py # Keyword research
β βββ firecrawl.py # Web crawling
β βββ groq.py # AI analysis
βββ π οΈ dosumentation/
β βββ SE0-InsightHub.docx
βββ βββ images
β βββ logo.jpeg
βββ βββ main.jpeg
βββ π app.py # Main application
βββ π§ͺ demo.py # Testing scripts
βββ π README.md
- Python 3.8+ π
- Git π¦
- API Keys (Groq, Firecrawl, Exa) π
# 1οΈβ£ Clone Repository
git clone https://github.com/SimranShaikh20/seo-insighthub.git
cd seo-insighthub
# 2οΈβ£ Setup Environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# 3οΈβ£ Install Dependencies
pip install -r requirements.txt
# 4οΈβ£ Configure API Keys
echo "GROQ_API_KEY=your_key_here" > .env
echo "FIRECRAWL_API_KEY=your_key_here" >> .env
echo "EXA_API_KEY=your_key_here" >> .env
# 5οΈβ£ Launch Application
streamlit run app.py
π Access at: http://localhost:8501
Service | Purpose | Get Key |
---|---|---|
π€ Groq | AI Analysis | Console |
π·οΈ Firecrawl | Web Crawling | Dashboard |
π Exa | Keyword Research | API Portal |
agent = Agent(
name="SEO_Analyzer",
role="Expert SEO analyst and strategist",
llm=Groq(api_key=groq_api_key),
tools=[DuckDuckGoTools()],
storage=SqliteStorage(table_name="seo_analysis"),
verbose=True
)
- π Enter Website URL - Input your primary site URL
- π₯ Add Competitors - Up to 5 competitor URLs (optional)
- π Target Keywords - Comma-separated keyword list (optional)
- π Run Analysis - Click "Run Agno AI Analysis"
- π΄ 0-40: Poor - Immediate attention required
- π‘ 41-70: Fair - Needs improvement
- π’ 71-85: Good - Minor optimizations
- β 86-100: Excellent - Maintain performance
- π΄ High: Critical ranking issues
- π‘ Medium: Important optimizations
- π’ Low: Nice-to-have improvements
- Critical issues requiring urgent attention
- Quick wins with high impact
- Timeline estimates and success metrics
- 1-3 month optimization objectives
- Monthly implementation breakdown
- Progress tracking and resource planning
- 3-12 month SEO roadmap
- Quarterly milestones and ROI projections
- Authority building strategies
- In-depth technical and content analysis
- Competitive gaps and keyword opportunities
- Visual performance indicators
- Environment variable API key storage
- Input validation and sanitization
- Rate limiting implementation
- Comprehensive error handling
- No persistent website data storage
- Temporary session data only
- GDPR compliance considerations
- User data anonymization
- π΄ Fork repository
- πΏ Create feature branch
- π§ͺ Add tests for new features
- β Run test suite
- π Update documentation
- π Submit pull request
- Follow PEP 8 guidelines
- Include comprehensive docstrings
- Add type hints where applicable
- Write meaningful test cases
Issue | Solution |
---|---|
π API Connection Error | Verify API keys in .env file |
π Slow Performance | Reduce competitor count, enable caching |
πΎ Memory Issues | Increase system memory, optimize data processing |
π Website Access Error | Check URL format, firewall settings |
export STREAMLIT_DEBUG=true
streamlit run app.py --logger.level debug
- β¨ Agno AI Framework integration
- π Advanced AI-powered analysis
- π Enhanced competitive intelligence
- π― Improved keyword research capabilities
- π€ Groq LLM integration
- π Real-time progress tracking
- π¨ UI/UX improvements
This project is licensed under the MIT License - see LICENSE for details.
- π€ Agno Framework - Powerful AI agent capabilities
- π¨ Streamlit - Excellent web framework
- β‘ Groq - High-performance LLM inference
- π·οΈ Firecrawl - Reliable web crawling
- π SEO Community - Insights and best practices
β Empowering websites with AI-driven SEO insights